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_0cc2ce0484ee_0 | 415d4200fd442431 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N2V5CallableExactOfShape.lean | N2V5CallableExactOfShape | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "evm_div_n2_stack_spec_noNop_v5_preNoX1_callableExactFrame_shift0",
"depth": 1,
"n_commands": 0,
"n_lines": 65,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hb1ge : (b.getLimbN 1).toNat ≥ 2 ^ 63 := clz_zero_imp_msb hshift_z\n... | [
{
"name": "n2_shift0_fullPost_to_divStackDispatchPostCallableExactFrame",
"text": "/-- Shift=0 CALLABLE post bridge: the flag-param full shift=0 path post →\n `divStackDispatchPostCallableExactFrame` (x1 = raVal, x9 = signExtend12 4095)\n with the scratch cell weakened to `memOwn`. Callable analog of... | [
{
"name": "evm_div_n2_stack_spec_noNop_v5_preNoX1_callableExactFrame_shift0",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 87,
"n_chars": 5163,
"n_subproofs": 15,
"n_tactics": 72,
"cyclomatic": 1,
"n_automation": 24,
"n_rewrites": 6,
"n_structur... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.N2V5CallableExactOfShape
The v5 n=2 DIV callable exact-frame lane, shape-level combiner: mirrors the
n=1/n=3/n=4 `..._callableExactFrame_of_shape` lanes. The shift≠0 arm composes
the x9In-generic body spec `evm_div_n2_stack_pre_to_unified_post_v5_noNop_fromShape`
with the callabl... | /-
EvmAsm.Evm64.DivMod.Spec.N2V5CallableExactOfShape
The v5 n=2 DIV callable exact-frame lane, shape-level combiner: mirrors the
n=1/n=3/n=4 `..._callableExactFrame_of_shape` lanes. The shift≠0 arm composes
the x9In-generic body spec `evm_div_n2_stack_pre_to_unified_post_v5_noNop_fromShape`
with the callabl... | @@ -22,6 +22,92 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (word_add_zero)
+/-- Shift=0 CALLABLE post bridge: the flag-param full shift=0 path post →
+ `divStackDispatchPostCallableExactFrame` (x1 = raVal, x9 = signExtend12 4095)
+ with the scratch cell weakened to `memOwn`. Callable analog of
+ `n2_sh... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_0cc2ce0484ee_1 | 7c75f98bdeceaa0c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N2V5CallableExactOfShape.lean | N2V5CallableExactOfShape | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "evm_div_n2_stack_spec_noNop_v5_preNoX1_callableExactFrame_of_shape",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n by_cases hsh : (clzResult (b.getLimbN 1)).1 = 0\n · exact evm_div_n2_s... | [
{
"name": "evm_div_n2_stack_spec_noNop_v5_preNoX1_callableExactFrame_shift0",
"text": "/-- n=2 v5 callable exact-frame lane, shift=0 arm. Mirrors the dispatched\n `evm_div_n2_lane_shift0_v5` but lands the callable exact-frame post. -/\ntheorem evm_div_n2_stack_spec_noNop_v5_preNoX1_callableExactFrame_sh... | [
{
"name": "evm_div_n2_stack_spec_noNop_v5_preNoX1_callableExactFrame_of_shape",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 32,
"n_chars": 1792,
"n_subproofs": 0,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structur... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.N2V5CallableExactOfShape
The v5 n=2 DIV callable exact-frame lane, shape-level combiner: mirrors the
n=1/n=3/n=4 `..._callableExactFrame_of_shape` lanes. The shift≠0 arm composes
the x9In-generic body spec `evm_div_n2_stack_pre_to_unified_post_v5_noNop_fromShape`
with the callabl... | /-
EvmAsm.Evm64.DivMod.Spec.N2V5CallableExactOfShape
The v5 n=2 DIV callable exact-frame lane, shape-level combiner: mirrors the
n=1/n=3/n=4 `..._callableExactFrame_of_shape` lanes. The shift≠0 arm composes
the x9In-generic body spec `evm_div_n2_stack_pre_to_unified_post_v5_noNop_fromShape`
with the callabl... | @@ -193,6 +193,92 @@
(fun h hp => memIs_implies_memOwn h hp)
h hExact
+/-- n=2 v5 callable exact-frame lane, shift=0 arm. Mirrors the dispatched
+ `evm_div_n2_lane_shift0_v5` but lands the callable exact-frame post. -/
+theorem evm_div_n2_stack_spec_noNop_v5_preNoX1_callableExactFrame_shift0
+ (sp ba... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_65e919ea6d10_0 | 03faaee8330c8908 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/ModexpInputBridge.lean | ModexpInputBridge | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "modexpInputBytesFromMemory_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [modexpInputBytesFromMemory, memoryReadBytes_length]",
"n_chars": 63,
"n_subproofs": 0,
... | [
{
"name": "memoryReadBytes_length",
"text": "theorem memoryReadBytes_length (memory : MemoryReader) (start size : Nat) :\n (memoryReadBytes memory start size).length = size := by\n simp [memoryReadBytes, KeccakInputBridge.memoryReadBytes_length]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 20... | [
{
"name": "modexpInputBytesFromMemory_length",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 6,
"n_chars": 223,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,... | 1 | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | @@ -53,12 +53,17 @@
exp := modexpInputBytesFromMemory memory expStart expLen
modulus := modexpInputBytesFromMemory memory modStart modLen }
+theorem memoryReadBytes_length (memory : MemoryReader) (start size : Nat) :
+ (memoryReadBytes memory start size).length = size := by
+ simp [memoryReadBytes... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_65e919ea6d10_1 | 4daa97d6c94f3835 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/ModexpInputBridge.lean | ModexpInputBridge | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "modexpInputBytesFromMemory_get?",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [modexpInputBytesFromMemory, memoryReadBytes_get?, h_i]",
"n_chars": 66,
"n_subproofs": 0,
... | [
{
"name": "memoryReadBytes_get?",
"text": "theorem memoryReadBytes_get?\n (memory : MemoryReader) (start size i : Nat) (h_i : i < size) :\n (memoryReadBytes memory start size)[i]? = some (memory (start + i)) := by\n simp [memoryReadBytes, KeccakInputBridge.memoryReadBytes_get?, h_i]\n\n",
"fan_in... | [
{
"name": "modexpInputBytesFromMemory_get?",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 267,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
... | 1 | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | @@ -53,13 +53,19 @@
exp := modexpInputBytesFromMemory memory expStart expLen
modulus := modexpInputBytesFromMemory memory modStart modLen }
+theorem memoryReadBytes_get?
+ (memory : MemoryReader) (start size i : Nat) (h_i : i < size) :
+ (memoryReadBytes memory start size)[i]? = some (memory (st... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_65e919ea6d10_2 | 92c4cdb4d3f48653 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/ModexpInputBridge.lean | ModexpInputBridge | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "modexpInputBytesFromMemory_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [modexpInputBytesFromMemory, memoryReadBytes_length]",
"n_chars": 63,
"n_subproofs": 0,
... | [
{
"name": "memoryReadBytes_length",
"text": "theorem memoryReadBytes_length (memory : MemoryReader) (start size : Nat) :\n (memoryReadBytes memory start size).length = size := by\n simp [memoryReadBytes, KeccakInputBridge.memoryReadBytes_length]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 20... | [
{
"name": "acceleratorInputFromMemory_base_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 343,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": ... | 2 | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | @@ -53,12 +53,17 @@
exp := modexpInputBytesFromMemory memory expStart expLen
modulus := modexpInputBytesFromMemory memory modStart modLen }
+theorem memoryReadBytes_length (memory : MemoryReader) (start size : Nat) :
+ (memoryReadBytes memory start size).length = size := by
+ simp [memoryReadBytes... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_65e919ea6d10_3 | 1efd15f2e4ad5324 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/ModexpInputBridge.lean | ModexpInputBridge | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "modexpInputBytesFromMemory_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [modexpInputBytesFromMemory, memoryReadBytes_length]",
"n_chars": 63,
"n_subproofs": 0,
... | [
{
"name": "memoryReadBytes_length",
"text": "theorem memoryReadBytes_length (memory : MemoryReader) (start size : Nat) :\n (memoryReadBytes memory start size).length = size := by\n simp [memoryReadBytes, KeccakInputBridge.memoryReadBytes_length]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 20... | [
{
"name": "acceleratorInputFromMemory_exp_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 340,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": t... | 2 | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | @@ -53,12 +53,17 @@
exp := modexpInputBytesFromMemory memory expStart expLen
modulus := modexpInputBytesFromMemory memory modStart modLen }
+theorem memoryReadBytes_length (memory : MemoryReader) (start size : Nat) :
+ (memoryReadBytes memory start size).length = size := by
+ simp [memoryReadBytes... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_65e919ea6d10_4 | 4162e1529db8b7e2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/ModexpInputBridge.lean | ModexpInputBridge | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "modexpInputBytesFromMemory_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [modexpInputBytesFromMemory, memoryReadBytes_length]",
"n_chars": 63,
"n_subproofs": 0,
... | [
{
"name": "memoryReadBytes_length",
"text": "theorem memoryReadBytes_length (memory : MemoryReader) (start size : Nat) :\n (memoryReadBytes memory start size).length = size := by\n simp [memoryReadBytes, KeccakInputBridge.memoryReadBytes_length]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 20... | [
{
"name": "acceleratorInputFromMemory_modulus_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 348,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only... | 2 | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | /-
EvmAsm.EL.ModexpInputBridge
Bridge from executable memory to the input payload consumed by the
`zkvm_modexp` accelerator (precompile 0x05).
The C interface is
zkvm_status zkvm_modexp(const uint8_t* base, size_t base_len,
const uint8_t* exp, size_t exp_len,
... | @@ -53,12 +53,17 @@
exp := modexpInputBytesFromMemory memory expStart expLen
modulus := modexpInputBytesFromMemory memory modStart modLen }
+theorem memoryReadBytes_length (memory : MemoryReader) (start size : Nat) :
+ (memoryReadBytes memory start size).length = size := by
+ simp [memoryReadBytes... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_7a2f3b157960_0 | f4978fdb37da064a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push0/Spec.lean | Spec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "evm_push0_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsTripleWithin_weaken\n (fun h hp => by xperm_hyp hp)\n (fun h hq => by simp only [evmWordIs, EvmWord.getLi... | [
{
"name": "evm_push0_spec_within",
"text": "/-- PUSH0: writes 4 zero limbs at nsp, moves SP backward by 32.\n 5 instructions = 20 bytes. nsp is the NEW stack pointer (after decrement). -/\ntheorem evm_push0_spec_within (nsp base : Word)\n (d0 d1 d2 d3 : Word) :\n let code := evm_push0_code base\n ... | [
{
"name": "evm_push0_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 19,
"n_chars": 768,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
... | 1 | /-
EvmAsm.Evm64.Push0.Spec
256-bit EVM PUSH0 specs.
-/
import EvmAsm.Evm64.Push0.Program
import EvmAsm.Evm64.Stack
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.XSimp
import EvmAsm.Rv64.Tactics.RunBlock
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- PUSH0 stack spec: pushes ... | /-
EvmAsm.Evm64.Push0.Spec
256-bit EVM PUSH0 specs.
-/
import EvmAsm.Evm64.Push0.Program
import EvmAsm.Evm64.Stack
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.XSimp
import EvmAsm.Rv64.Tactics.RunBlock
open EvmAsm.Rv64.Tactics
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- PUSH0: writes 4 zero limb... | @@ -16,6 +16,25 @@
open EvmAsm.Rv64
+/-- PUSH0: writes 4 zero limbs at nsp, moves SP backward by 32.
+ 5 instructions = 20 bytes. nsp is the NEW stack pointer (after decrement). -/
+theorem evm_push0_spec_within (nsp base : Word)
+ (d0 d1 d2 d3 : Word) :
+ let code := evm_push0_code base
+ cpsTripleWit... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b6986f151772_0 | d4a0f1b9349028da | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1ExactV4IfBorrowSelectedPath.lean | N1ExactV4IfBorrowSelectedPath | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 3 | [
{
"theorem_name": "FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_getLimbN",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact FullDivN1CallMaxmaxmaxHdivs_of_selected_if_borrow_semantic_evidence\n... | [
{
"name": "FullDivN1CallMaxmaxmaxSelectedIfBorrowSemanticEvidenceV4_of_selected_path_evidence_getLimbN",
"text": "/-- Build the selected-if-borrow semantic evidence package from selected N1\n path evidence for the canonical `getLimbN` inputs. This is the preferred\n boundary for new wrappers because i... | [
{
"name": "FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_getLimbN",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 85,
"n_chars": 4332,
"n_subproofs": 0,
"n_tactics": 11,
"cyclomatic": 1,
"n_automation": 8,
"n_rewrites": 0,
"n_structural":... | 1 | import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Project the hdiv package from selected N1 path evidence for the canonical
`getLimbN` inputs. -/
theorem FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_getLimbN
(sp base : Word) (a b : EvmWord)
(jO... | import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Build the selected-if-borrow semantic evidence package from selected N1
path evidence for the canonical `getLimbN` inputs. This is the preferred
boundary for new wrappers because it carries the selected bran... | @@ -4,6 +4,90 @@
open EvmAsm.Rv64
+/-- Build the selected-if-borrow semantic evidence package from selected N1
+ path evidence for the canonical `getLimbN` inputs. This is the preferred
+ boundary for new wrappers because it carries the selected branch-sensitive
+ facts directly instead of exposing the le... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b6986f151772_1 | a82746a31aa1a8ec | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1ExactV4IfBorrowSelectedPath.lean | N1ExactV4IfBorrowSelectedPath | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 3 | [
{
"theorem_name": "FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_getLimbN",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact FullDivN1CallMaxmaxmaxHdivs_of_selected_if_borrow_semantic_evidence\n... | [
{
"name": "FullDivN1CallMaxmaxmaxSelectedIfBorrowSemanticEvidenceV4_of_selected_path_evidence_getLimbN",
"text": "/-- Build the selected-if-borrow semantic evidence package from selected N1\n path evidence for the canonical `getLimbN` inputs. This is the preferred\n boundary for new wrappers because i... | [
{
"name": "FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_ne_zero_getLimbN",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 79,
"n_chars": 3941,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struc... | 2 | import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Project the hdiv package from selected N1 path evidence for the canonical
`getLimbN` inputs. -/
theorem FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_getLimbN
(sp base : Word) (a b : EvmWord)
(jO... | import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Build the selected-if-borrow semantic evidence package from selected N1
path evidence for the canonical `getLimbN` inputs. This is the preferred
boundary for new wrappers because it carries the selected bran... | @@ -4,6 +4,90 @@
open EvmAsm.Rv64
+/-- Build the selected-if-borrow semantic evidence package from selected N1
+ path evidence for the canonical `getLimbN` inputs. This is the preferred
+ boundary for new wrappers because it carries the selected branch-sensitive
+ facts directly instead of exposing the le... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b6986f151772_2 | ba9ca9afdb2f00e5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1ExactV4IfBorrowSelectedPath.lean | N1ExactV4IfBorrowSelectedPath | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 3 | [
{
"theorem_name": "FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_getLimbN",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact FullDivN1CallMaxmaxmaxHdivs_of_selected_if_borrow_semantic_evidence\n... | [
{
"name": "FullDivN1CallMaxmaxmaxSelectedIfBorrowSemanticEvidenceV4_of_selected_path_evidence_getLimbN",
"text": "/-- Build the selected-if-borrow semantic evidence package from selected N1\n path evidence for the canonical `getLimbN` inputs. This is the preferred\n boundary for new wrappers because i... | [
{
"name": "evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExactFrame_unified_of_selected_if_borrow_selected_path_semantic_facts_ne_zero_getLimbN",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 151,
"n_chars": 7787,
"n_subproofs": 3,
"n_tacti... | 2 | import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Project the hdiv package from selected N1 path evidence for the canonical
`getLimbN` inputs. -/
theorem FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_getLimbN
(sp base : Word) (a b : EvmWord)
(jO... | import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Build the selected-if-borrow semantic evidence package from selected N1
path evidence for the canonical `getLimbN` inputs. This is the preferred
boundary for new wrappers because it carries the selected bran... | @@ -4,6 +4,90 @@
open EvmAsm.Rv64
+/-- Build the selected-if-borrow semantic evidence package from selected N1
+ path evidence for the canonical `getLimbN` inputs. This is the preferred
+ boundary for new wrappers because it carries the selected branch-sensitive
+ facts directly instead of exposing the le... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b6986f151772_3 | 42366e66df7732bd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1ExactV4IfBorrowSelectedPath.lean | N1ExactV4IfBorrowSelectedPath | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 3 | [
{
"theorem_name": "FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_getLimbN",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact FullDivN1CallMaxmaxmaxHdivs_of_selected_if_borrow_semantic_evidence\n... | [
{
"name": "FullDivN1CallMaxmaxmaxSelectedIfBorrowSemanticEvidenceV4_of_selected_path_evidence_getLimbN",
"text": "/-- Build the selected-if-borrow semantic evidence package from selected N1\n path evidence for the canonical `getLimbN` inputs. This is the preferred\n boundary for new wrappers because i... | [
{
"name": "evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExactFrame_unified_noNop_of_selected_if_borrow_selected_path_semantic_facts_ne_zero_getLimbN",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 150,
"n_chars": 7742,
"n_subproofs": 3,
"n... | 2 | import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Project the hdiv package from selected N1 path evidence for the canonical
`getLimbN` inputs. -/
theorem FullDivN1CallMaxmaxmaxHdivs_of_selected_path_evidence_getLimbN
(sp base : Word) (a b : EvmWord)
(jO... | import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Build the selected-if-borrow semantic evidence package from selected N1
path evidence for the canonical `getLimbN` inputs. This is the preferred
boundary for new wrappers because it carries the selected bran... | @@ -4,6 +4,90 @@
open EvmAsm.Rv64
+/-- Build the selected-if-borrow semantic evidence package from selected N1
+ path evidence for the canonical `getLimbN` inputs. This is the preferred
+ boundary for new wrappers because it carries the selected branch-sensitive
+ facts directly instead of exposing the le... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_7ac8e535a27f_0 | 33819e6e2a7d3923 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/NormAV5Mod.lean | NormAV5Mod | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "divK_normA_full_spec_within_v5_noNop_mod",
"depth": 1,
"n_commands": 0,
"n_lines": 115,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [divKNormAFullPreNoNop_unfold, normAFullPost_unfold]\n let u4 := a3 >>> (antiShift.toNat % 6... | [
{
"name": "divK_normA_code_sub_modCode_noNop_v5",
"text": "/-- The normA block instructions are subsumed by `modCode_noNop_v5`. -/\nprivate theorem divK_normA_code_sub_modCode_noNop_v5 {base : Word} :\n ∀ a i, (CodeReq.ofProg (base + normAOff) (divK_normA 40)) a = some i →\n (modCode_noNop_v5 base) ... | [
{
"name": "divK_normA_full_spec_within_v5_noNop_mod",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 123,
"n_chars": 7382,
"n_subproofs": 25,
"n_tactics": 118,
"cyclomatic": 1,
"n_automation": 22,
"n_rewrites": 16,
"n_structural": 6,
"automati... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.NormAV5Mod
v5 normalize-A brick (21 steps, normAOff → loopSetupOff) over `modCode_noNop_v5`.
Mirror of `divK_normA_full_spec_within_v4_noNop` (NormA.lean): the normA
instructions don't touch div128, so the same version-agnostic instruction bodies
are extended to the v5 code via... | /-
EvmAsm.Evm64.DivMod.Compose.NormAV5Mod
v5 normalize-A brick (21 steps, normAOff → loopSetupOff) over `modCode_noNop_v5`.
Mirror of `divK_normA_full_spec_within_v4_noNop` (NormA.lean): the normA
instructions don't touch div128, so the same version-agnostic instruction bodies
are extended to the v5 code via... | @@ -16,13 +16,134 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.DivMod.AddrNorm (se12_0 se12_8 se12_16 se12_24)
+/-- The normA block instructions are subsumed by `modCode_noNop_v5`. -/
+private theorem divK_normA_code_sub_modCode_noNop_v5 {base : Word} :
+ ∀ a i, (CodeReq.ofProg (base + normAOff) (divK_normA 40)) a = so... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_52de72278124_0 | 399bb90059c25eb5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SDiv/Compose/QuadMemBridges.lean | QuadMemBridges | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "evmWordIs_eq_quadMem_named",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← evmWordIs_eq_quadMem sp\n (fun i : Fin 4 => match i with | 0 => s0 | 1 => s1 | 2 => s2 | 3 => s3)]",
... | [
{
"name": "evmWordIs_eq_quadMem",
"text": "/-- Bridge lemma: four `↦ₘ`-memory atoms at `sp + signExtend12 (0/8/16/24)`\n fold into a single `evmWordIs sp` atom holding `EvmWord.fromLimbs` of the\n four limbs. -/\ntheorem evmWordIs_eq_quadMem (sp : Word) (limbs : Fin 4 → Word) :\n (((sp + EvmAsm.Rv6... | [
{
"name": "evmWordIs_eq_quadMem_named",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 12,
"n_chars": 631,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 2,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Named-arguments specialization of `evmWordIs_eq_quadMem`. -/
t... | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Bridge lemma: four `↦ₘ`-memory atoms at `sp + signExtend12 (0/... | @@ -10,6 +10,21 @@
namespace EvmAsm.Evm64.SDiv.Compose
+/-- Bridge lemma: four `↦ₘ`-memory atoms at `sp + signExtend12 (0/8/16/24)`
+ fold into a single `evmWordIs sp` atom holding `EvmWord.fromLimbs` of the
+ four limbs. -/
+theorem evmWordIs_eq_quadMem (sp : Word) (limbs : Fin 4 → Word) :
+ (((sp + EvmA... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_52de72278124_1 | 52c96743958e74bf | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SDiv/Compose/QuadMemBridges.lean | QuadMemBridges | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "evmWordIs_eq_quadMem_sp32_named",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← evmWordIs_eq_quadMem_sp32 sp\n (fun i : Fin 4 => match i with | 0 => s0 | 1 => s1 | 2 => s2 | 3 =>... | [
{
"name": "evmWordIs_eq_quadMem_sp32",
"text": "/-- Divisor-slot companion to `evmWordIs_eq_quadMem`: four `↦ₘ`-memory atoms\n at `sp + signExtend12 (32/40/48/56)` fold into a single\n `evmWordIs (sp + 32)` atom. -/\ntheorem evmWordIs_eq_quadMem_sp32 (sp : Word) (limbs : Fin 4 → Word) :\n (((sp + E... | [
{
"name": "evmWordIs_eq_quadMem_sp32_named",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 12,
"n_chars": 655,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 2,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,... | 1 | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Named-arguments specialization of `evmWordIs_eq_quadMem_sp32`.... | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Divisor-slot companion to `evmWordIs_eq_quadMem`: four `↦ₘ`-me... | @@ -10,6 +10,21 @@
namespace EvmAsm.Evm64.SDiv.Compose
+/-- Divisor-slot companion to `evmWordIs_eq_quadMem`: four `↦ₘ`-memory atoms
+ at `sp + signExtend12 (32/40/48/56)` fold into a single
+ `evmWordIs (sp + 32)` atom. -/
+theorem evmWordIs_eq_quadMem_sp32 (sp : Word) (limbs : Fin 4 → Word) :
+ (((sp + ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_52de72278124_2 | a7edf71676793830 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SDiv/Compose/QuadMemBridges.lean | QuadMemBridges | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "evmWordIs_eq_quadMem_named",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← evmWordIs_eq_quadMem sp\n (fun i : Fin 4 => match i with | 0 => s0 | 1 => s1 | 2 => s2 | 3 => s3)]",
... | [
{
"name": "evmWordIs_eq_quadMem",
"text": "/-- Bridge lemma: four `↦ₘ`-memory atoms at `sp + signExtend12 (0/8/16/24)`\n fold into a single `evmWordIs sp` atom holding `EvmWord.fromLimbs` of the\n four limbs. -/\ntheorem evmWordIs_eq_quadMem (sp : Word) (limbs : Fin 4 → Word) :\n (((sp + EvmAsm.Rv6... | [
{
"name": "evmWordIs_eq_quadMem_sdivDividend",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 13,
"n_chars": 740,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fals... | 2 | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Named-arguments specialization of `evmWordIs_eq_quadMem`. -/
t... | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Bridge lemma: four `↦ₘ`-memory atoms at `sp + signExtend12 (0/... | @@ -10,6 +10,21 @@
namespace EvmAsm.Evm64.SDiv.Compose
+/-- Bridge lemma: four `↦ₘ`-memory atoms at `sp + signExtend12 (0/8/16/24)`
+ fold into a single `evmWordIs sp` atom holding `EvmWord.fromLimbs` of the
+ four limbs. -/
+theorem evmWordIs_eq_quadMem (sp : Word) (limbs : Fin 4 → Word) :
+ (((sp + EvmA... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_52de72278124_3 | 9e9f65df7310863a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SDiv/Compose/QuadMemBridges.lean | QuadMemBridges | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "evmWordIs_eq_quadMem_sp32_named",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← evmWordIs_eq_quadMem_sp32 sp\n (fun i : Fin 4 => match i with | 0 => s0 | 1 => s1 | 2 => s2 | 3 =>... | [
{
"name": "evmWordIs_eq_quadMem_sp32",
"text": "/-- Divisor-slot companion to `evmWordIs_eq_quadMem`: four `↦ₘ`-memory atoms\n at `sp + signExtend12 (32/40/48/56)` fold into a single\n `evmWordIs (sp + 32)` atom. -/\ntheorem evmWordIs_eq_quadMem_sp32 (sp : Word) (limbs : Fin 4 → Word) :\n (((sp + E... | [
{
"name": "evmWordIs_eq_quadMem_sdivDivisor",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 12,
"n_chars": 665,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false... | 2 | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Named-arguments specialization of `evmWordIs_eq_quadMem_sp32`.... | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Divisor-slot companion to `evmWordIs_eq_quadMem`: four `↦ₘ`-me... | @@ -10,6 +10,21 @@
namespace EvmAsm.Evm64.SDiv.Compose
+/-- Divisor-slot companion to `evmWordIs_eq_quadMem`: four `↦ₘ`-memory atoms
+ at `sp + signExtend12 (32/40/48/56)` fold into a single
+ `evmWordIs (sp + 32)` atom. -/
+theorem evmWordIs_eq_quadMem_sp32 (sp : Word) (limbs : Fin 4 → Word) :
+ (((sp + ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_52de72278124_4 | 19db96407782dbee | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SDiv/Compose/QuadMemBridges.lean | QuadMemBridges | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "evmWordIs_eq_quadMem_named",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← evmWordIs_eq_quadMem sp\n (fun i : Fin 4 => match i with | 0 => s0 | 1 => s1 | 2 => s2 | 3 => s3)]",
... | [
{
"name": "evmWordIs_eq_quadMem",
"text": "/-- Bridge lemma: four `↦ₘ`-memory atoms at `sp + signExtend12 (0/8/16/24)`\n fold into a single `evmWordIs sp` atom holding `EvmWord.fromLimbs` of the\n four limbs. -/\ntheorem evmWordIs_eq_quadMem (sp : Word) (limbs : Fin 4 → Word) :\n (((sp + EvmAsm.Rv6... | [
{
"name": "evmWordIs_eq_quadMem_sdivDividend_right",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 18,
"n_chars": 916,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_only"... | 3 | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Named-arguments specialization of `evmWordIs_eq_quadMem`. -/
t... | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Bridge lemma: four `↦ₘ`-memory atoms at `sp + signExtend12 (0/... | @@ -10,6 +10,21 @@
namespace EvmAsm.Evm64.SDiv.Compose
+/-- Bridge lemma: four `↦ₘ`-memory atoms at `sp + signExtend12 (0/8/16/24)`
+ fold into a single `evmWordIs sp` atom holding `EvmWord.fromLimbs` of the
+ four limbs. -/
+theorem evmWordIs_eq_quadMem (sp : Word) (limbs : Fin 4 → Word) :
+ (((sp + EvmA... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_52de72278124_5 | 813c918853894642 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SDiv/Compose/QuadMemBridges.lean | QuadMemBridges | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "evmWordIs_eq_quadMem_sp32_named",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← evmWordIs_eq_quadMem_sp32 sp\n (fun i : Fin 4 => match i with | 0 => s0 | 1 => s1 | 2 => s2 | 3 =>... | [
{
"name": "evmWordIs_eq_quadMem_sp32",
"text": "/-- Divisor-slot companion to `evmWordIs_eq_quadMem`: four `↦ₘ`-memory atoms\n at `sp + signExtend12 (32/40/48/56)` fold into a single\n `evmWordIs (sp + 32)` atom. -/\ntheorem evmWordIs_eq_quadMem_sp32 (sp : Word) (limbs : Fin 4 → Word) :\n (((sp + E... | [
{
"name": "evmWordIs_eq_quadMem_sdivDivisor_right",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 16,
"n_chars": 774,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_only":... | 3 | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Named-arguments specialization of `evmWordIs_eq_quadMem_sp32`.... | /-
EvmAsm.Evm64.SDiv.Compose.QuadMemBridges
SDIV-shaped wrappers around the generic memory-quad to `evmWordIs`
bridges from `Compose/Base.lean`.
-/
import EvmAsm.Evm64.SDiv.AddrNorm
import EvmAsm.Evm64.Stack
namespace EvmAsm.Evm64.SDiv.Compose
/-- Divisor-slot companion to `evmWordIs_eq_quadMem`: four `↦ₘ`-me... | @@ -10,6 +10,21 @@
namespace EvmAsm.Evm64.SDiv.Compose
+/-- Divisor-slot companion to `evmWordIs_eq_quadMem`: four `↦ₘ`-memory atoms
+ at `sp + signExtend12 (32/40/48/56)` fold into a single
+ `evmWordIs (sp + 32)` atom. -/
+theorem evmWordIs_eq_quadMem_sp32 (sp : Word) (limbs : Fin 4 → Word) :
+ (((sp + ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_0 | 2cea912beeec45ca | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall01P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall01P136 mulModCarryStepValue\n rw [mulModProductLayoutCall00P136_zero, mul... | [
{
"name": "mulModProductLayoutCall00P136_zero",
"text": "private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :\n mulModProductLayoutCall00P136 a b = 0 := by\n unfold mulModProductLayoutCall00P136 mulModCarryStepValue\n unfold mulModProductLayoutCall00Carry128 mulModCarryStepCarry\n simp... | [
{
"name": "mulModProductLayoutCall01P136_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 266,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": fals... | 2 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall01Carry128_zero (a b : EvmWord) :
mulModProductLayoutCall01Carry128 a b = 0 := by
unfold mu... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :
mulModProductLayoutCall00P136 a b = 0 := by
unfold mulModProd... | @@ -6,6 +6,12 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :
+ mulModProductLayoutCall00P136 a b = 0 := by
+ unfold mulModProductLayoutCall00P136 mulModCarryStepValue
+ unfold mulModProductLayoutCall00Carry128 mulModCarryStepCar... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_1 | 835761a59d4fc014 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall01P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall01P136 mulModCarryStepValue\n rw [mulModProductLayoutCall00P136_zero, mul... | [
{
"name": "mulModProductLayoutCall00P136_zero",
"text": "private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :\n mulModProductLayoutCall00P136 a b = 0 := by\n unfold mulModProductLayoutCall00P136 mulModCarryStepValue\n unfold mulModProductLayoutCall00Carry128 mulModCarryStepCarry\n simp... | [
{
"name": "mulModProductLayoutCall02P136_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 7,
"n_chars": 266,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": fals... | 4 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall01Carry128_zero (a b : EvmWord) :
mulModProductLayoutCall01Carry128 a b = 0 := by
unfold mu... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :
mulModProductLayoutCall00P136 a b = 0 := by
unfold mulModProd... | @@ -6,6 +6,12 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :
+ mulModProductLayoutCall00P136 a b = 0 := by
+ unfold mulModProductLayoutCall00P136 mulModCarryStepValue
+ unfold mulModProductLayoutCall00Carry128 mulModCarryStepCar... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_2 | 3bb17d6af81108aa | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall01P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall01P136 mulModCarryStepValue\n rw [mulModProductLayoutCall00P136_zero, mul... | [
{
"name": "mulModProductLayoutCall00P136_zero",
"text": "private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :\n mulModProductLayoutCall00P136 a b = 0 := by\n unfold mulModProductLayoutCall00P136 mulModCarryStepValue\n unfold mulModProductLayoutCall00Carry128 mulModCarryStepCarry\n simp... | [
{
"name": "mulModProductLayoutCall03P136_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 6,
"n_lines": 7,
"n_chars": 266,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": fals... | 6 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall01Carry128_zero (a b : EvmWord) :
mulModProductLayoutCall01Carry128 a b = 0 := by
unfold mu... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :
mulModProductLayoutCall00P136 a b = 0 := by
unfold mulModProd... | @@ -6,6 +6,12 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :
+ mulModProductLayoutCall00P136 a b = 0 := by
+ unfold mulModProductLayoutCall00P136 mulModCarryStepValue
+ unfold mulModProductLayoutCall00Carry128 mulModCarryStepCar... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_3 | 2851870515fb5adb | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall04Carry128_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall04Carry128\n rw [mulModProductLayoutCall03P128_eq_highCarry]\n unfol... | [
{
"name": "mulModCarryStepCarry_twoBits_zero",
"text": "private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :\n mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : Word) else 0) =\n 0 := by\n cases p <;> cases q <;> decide\n\n",
"fan_in": 1,
"n_lines": 6,
"n_ch... | [
{
"name": "mulModProductLayoutCall04Carry128_zero",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 475,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 4,
"n_structural": 1,
"automation_only":... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall04Carry128_zero (a b : EvmWord) :
mulModProductLayoutCall04Carry128 a b = 0 := sorry
/-- The... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -6,8 +6,20 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
+ mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : Word) else 0) =
+ 0 := by
+ cases p <;> cases q <;> decide
+
private theorem mulModProductLayoutC... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_4 | 58cc0f945774eef3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall01P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall01P136 mulModCarryStepValue\n rw [mulModProductLayoutCall00P136_zero, mul... | [
{
"name": "mulModProductLayoutCall00P136_zero",
"text": "private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :\n mulModProductLayoutCall00P136 a b = 0 := by\n unfold mulModProductLayoutCall00P136 mulModCarryStepValue\n unfold mulModProductLayoutCall00Carry128 mulModCarryStepCarry\n simp... | [
{
"name": "mulModProductLayoutCall04P136_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 9,
"n_lines": 7,
"n_chars": 266,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": fals... | 9 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -11,6 +11,12 @@
0 := by
cases p <;> cases q <;> decide
+private theorem mulModProductLayoutCall00P136_zero (a b : EvmWord) :
+ mulModProductLayoutCall00P136 a b = 0 := by
+ unfold mulModProductLayoutCall00P136 mulModCarryStepValue
+ unfold mulModProductLayoutCall00Carry128 mulModCarryStepCarry
+ si... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_5 | 5496246c234aa9a5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall05Carry128_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall05Carry128\n rw [mulModProductLayoutCall04P128_eq_highCarry]\n unfol... | [
{
"name": "mulModCarryStepCarry_twoPlusOneBits_zero",
"text": "private theorem mulModCarryStepCarry_twoPlusOneBits_zero (p q r : Bool) :\n mulModCarryStepCarry ((if p then (1 : Word) else 0) + (if q then (1 : Word) else 0))\n (if r then (1 : Word) else 0) = 0 := by\n cases p <;> cases q <;> cases r... | [
{
"name": "mulModProductLayoutCall05Carry128_zero",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 484,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 4,
"n_structural": 1,
"automation_only":... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall05Carry128_zero (a b : EvmWord) :
mulModProductLayoutCall05Carry128 a b = 0 := sorry
/-- The... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoPlusOneBits_zero (p q r : Bool) :
mulModCarryStepCarry ((if p then (1 : Word) else 0) + (if ... | @@ -6,8 +6,20 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModCarryStepCarry_twoPlusOneBits_zero (p q r : Bool) :
+ mulModCarryStepCarry ((if p then (1 : Word) else 0) + (if q then (1 : Word) else 0))
+ (if r then (1 : Word) else 0) = 0 := by
+ cases p <;> cases q <;> cas... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_6 | 297af9a78d74a463 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall05Carry128_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall05Carry128\n rw [mulModProductLayoutCall04P128_eq_highCarry]\n unfol... | [
{
"name": "mulModCarryStepCarry_twoPlusOneBits_zero",
"text": "private theorem mulModCarryStepCarry_twoPlusOneBits_zero (p q r : Bool) :\n mulModCarryStepCarry ((if p then (1 : Word) else 0) + (if q then (1 : Word) else 0))\n (if r then (1 : Word) else 0) = 0 := by\n cases p <;> cases q <;> cases r... | [
{
"name": "mulModProductLayoutCall05P136_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 12,
"n_lines": 7,
"n_chars": 266,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": fal... | 12 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -11,6 +11,11 @@
0 := by
cases p <;> cases q <;> decide
+private theorem mulModCarryStepCarry_twoPlusOneBits_zero (p q r : Bool) :
+ mulModCarryStepCarry ((if p then (1 : Word) else 0) + (if q then (1 : Word) else 0))
+ (if r then (1 : Word) else 0) = 0 := by
+ cases p <;> cases q <;> cases r <;>... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_7 | ec60e1c3e6402375 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 5 | [
{
"theorem_name": "mulModProductLayoutCall06P120_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06P120\n exact mulModAddPartialLoValue_toNat _ _ _",
"n_chars": 86,
... | [
{
"name": "mulModAddPartialLoValue_toNat",
"text": "private theorem mulModAddPartialLoValue_toNat (lo x y : Word) :\n (mulModAddPartialLoValue lo x y).toNat = (lo.toNat + (x * y).toNat) % 2 ^ 64 := by\n unfold mulModAddPartialLoValue mulModAddPartialLoProduct\n rw [BitVec.toNat_add]\n\n",
"fan_in":... | [
{
"name": "mulModProductLayoutCall06P120_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 313,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fal... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall06P120_toNat (a b : EvmWord) :
(mulModProductLayoutCall06P120 a b).toNat =
((mulModProd... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialLoValue_toNat (lo x y : Word) :
(mulModAddPartialLoValue lo x y).toNat = (lo.toNat + (x * y).toNat) ... | @@ -6,10 +6,17 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialLoValue_toNat (lo x y : Word) :
+ (mulModAddPartialLoValue lo x y).toNat = (lo.toNat + (x * y).toNat) % 2 ^ 64 := by
+ unfold mulModAddPartialLoValue mulModAddPartialLoProduct
+ rw [BitVec.toNat_add]
+
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_8 | 83a521ae9e93f970 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 5 | [
{
"theorem_name": "mulModProductLayoutCall06P120_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06P120\n exact mulModAddPartialLoValue_toNat _ _ _",
"n_chars": 86,
... | [
{
"name": "mulModAddPartialLoValue_toNat",
"text": "private theorem mulModAddPartialLoValue_toNat (lo x y : Word) :\n (mulModAddPartialLoValue lo x y).toNat = (lo.toNat + (x * y).toNat) % 2 ^ 64 := by\n unfold mulModAddPartialLoValue mulModAddPartialLoProduct\n rw [BitVec.toNat_add]\n\n",
"fan_in":... | [
{
"name": "mulModProductLayoutCall07P120_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 313,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fal... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall07P120_toNat (a b : EvmWord) :
(mulModProductLayoutCall07P120 a b).toNat =
((mulModProd... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialLoValue_toNat (lo x y : Word) :
(mulModAddPartialLoValue lo x y).toNat = (lo.toNat + (x * y).toNat) ... | @@ -6,10 +6,17 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialLoValue_toNat (lo x y : Word) :
+ (mulModAddPartialLoValue lo x y).toNat = (lo.toNat + (x * y).toNat) % 2 ^ 64 := by
+ unfold mulModAddPartialLoValue mulModAddPartialLoProduct
+ rw [BitVec.toNat_add]
+
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_9 | 4b8cfaf47fc7b468 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 5 | [
{
"theorem_name": "mulModProductLayoutCall06P120_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06P120\n exact mulModAddPartialLoValue_toNat _ _ _",
"n_chars": 86,
... | [
{
"name": "mulModAddPartialLoValue_toNat",
"text": "private theorem mulModAddPartialLoValue_toNat (lo x y : Word) :\n (mulModAddPartialLoValue lo x y).toNat = (lo.toNat + (x * y).toNat) % 2 ^ 64 := by\n unfold mulModAddPartialLoValue mulModAddPartialLoProduct\n rw [BitVec.toNat_add]\n\n",
"fan_in":... | [
{
"name": "mulModProductLayoutCall08P120_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 313,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fal... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall08P120_toNat (a b : EvmWord) :
(mulModProductLayoutCall08P120 a b).toNat =
((mulModProd... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialLoValue_toNat (lo x y : Word) :
(mulModAddPartialLoValue lo x y).toNat = (lo.toNat + (x * y).toNat) ... | @@ -6,10 +6,17 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialLoValue_toNat (lo x y : Word) :
+ (mulModAddPartialLoValue lo x y).toNat = (lo.toNat + (x * y).toNat) % 2 ^ 64 := by
+ unfold mulModAddPartialLoValue mulModAddPartialLoProduct
+ rw [BitVec.toNat_add]
+
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_10 | 9e08da1fac2efb14 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 4 | [
{
"theorem_name": "mulModProductLayoutCall06P128_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06P128\n exact mulModAddPartialHiValue_toNat _ _ _ _",
"n_chars": 88... | [
{
"name": "mulModAddPartialHiValue_toNat",
"text": "private theorem mulModAddPartialHiValue_toNat (hi lo x y : Word) :\n (mulModAddPartialHiValue hi lo x y).toNat =\n (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %\n 2 ^ 64) % 2 ^ 64 := by\n unfold mulModAddParti... | [
{
"name": "mulModProductLayoutCall06P128_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 462,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fa... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall06P128_toNat (a b : EvmWord) :
(mulModProductLayoutCall06P128 a b).toNat =
((mulModProd... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialHiValue_toNat (hi lo x y : Word) :
(mulModAddPartialHiValue hi lo x y).toNat =
(hi.toNat + ((r... | @@ -6,13 +6,26 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialHiValue_toNat (hi lo x y : Word) :
+ (mulModAddPartialHiValue hi lo x y).toNat =
+ (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %
+ 2 ^ 64) % 2 ^ 64 := by
+ unfol... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_11 | 87d817c0333829a9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 4 | [
{
"theorem_name": "mulModProductLayoutCall06P128_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06P128\n exact mulModAddPartialHiValue_toNat _ _ _ _",
"n_chars": 88... | [
{
"name": "mulModAddPartialHiValue_toNat",
"text": "private theorem mulModAddPartialHiValue_toNat (hi lo x y : Word) :\n (mulModAddPartialHiValue hi lo x y).toNat =\n (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %\n 2 ^ 64) % 2 ^ 64 := by\n unfold mulModAddParti... | [
{
"name": "mulModProductLayoutCall07P128_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 462,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fa... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall07P128_toNat (a b : EvmWord) :
(mulModProductLayoutCall07P128 a b).toNat =
((mulModProd... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialHiValue_toNat (hi lo x y : Word) :
(mulModAddPartialHiValue hi lo x y).toNat =
(hi.toNat + ((r... | @@ -6,13 +6,26 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialHiValue_toNat (hi lo x y : Word) :
+ (mulModAddPartialHiValue hi lo x y).toNat =
+ (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %
+ 2 ^ 64) % 2 ^ 64 := by
+ unfol... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_12 | bc841eb6938aee2e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 12 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 4 | [
{
"theorem_name": "mulModProductLayoutCall06P128_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06P128\n exact mulModAddPartialHiValue_toNat _ _ _ _",
"n_chars": 88... | [
{
"name": "mulModAddPartialHiValue_toNat",
"text": "private theorem mulModAddPartialHiValue_toNat (hi lo x y : Word) :\n (mulModAddPartialHiValue hi lo x y).toNat =\n (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %\n 2 ^ 64) % 2 ^ 64 := by\n unfold mulModAddParti... | [
{
"name": "mulModProductLayoutCall08P128_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 462,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fa... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall08P128_toNat (a b : EvmWord) :
(mulModProductLayoutCall08P128 a b).toNat =
((mulModProd... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialHiValue_toNat (hi lo x y : Word) :
(mulModAddPartialHiValue hi lo x y).toNat =
(hi.toNat + ((r... | @@ -6,13 +6,26 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialHiValue_toNat (hi lo x y : Word) :
+ (mulModAddPartialHiValue hi lo x y).toNat =
+ (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %
+ 2 ^ 64) % 2 ^ 64 := by
+ unfol... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_13 | eef829f01322b4a7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 13 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 4 | [
{
"theorem_name": "mulModProductLayoutCall06Carry128_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06Carry128\n exact mulModAddPartialHiCarry_toNat _ _ _ _",
"n_ch... | [
{
"name": "mulModAddPartialHiCarry_toNat",
"text": "private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :\n (mulModAddPartialHiCarry hi lo x y).toNat =\n (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %\n 2 ^ 64) / 2 ^ 64 := by\n rw [mulModAddPartialH... | [
{
"name": "mulModProductLayoutCall06Carry128_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 466,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only"... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall06Carry128_toNat (a b : EvmWord) :
(mulModProductLayoutCall06Carry128 a b).toNat =
((mu... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :
(mulModAddPartialHiCarry hi lo x y).toNat =
(hi.toNat + ((r... | @@ -6,12 +6,25 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :
+ (mulModAddPartialHiCarry hi lo x y).toNat =
+ (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %
+ 2 ^ 64) / 2 ^ 64 := by
+ rw [m... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_14 | 81d214b2aeb9ba0e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 4 | [
{
"theorem_name": "mulModProductLayoutCall06Carry128_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06Carry128\n exact mulModAddPartialHiCarry_toNat _ _ _ _",
"n_ch... | [
{
"name": "mulModAddPartialHiCarry_toNat",
"text": "private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :\n (mulModAddPartialHiCarry hi lo x y).toNat =\n (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %\n 2 ^ 64) / 2 ^ 64 := by\n rw [mulModAddPartialH... | [
{
"name": "mulModProductLayoutCall07Carry128_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 466,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only"... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall07Carry128_toNat (a b : EvmWord) :
(mulModProductLayoutCall07Carry128 a b).toNat =
((mu... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :
(mulModAddPartialHiCarry hi lo x y).toNat =
(hi.toNat + ((r... | @@ -6,12 +6,25 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :
+ (mulModAddPartialHiCarry hi lo x y).toNat =
+ (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %
+ 2 ^ 64) / 2 ^ 64 := by
+ rw [m... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_15 | 670463ce4c53f7d5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 4 | [
{
"theorem_name": "mulModProductLayoutCall06Carry128_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06Carry128\n exact mulModAddPartialHiCarry_toNat _ _ _ _",
"n_ch... | [
{
"name": "mulModAddPartialHiCarry_toNat",
"text": "private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :\n (mulModAddPartialHiCarry hi lo x y).toNat =\n (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %\n 2 ^ 64) / 2 ^ 64 := by\n rw [mulModAddPartialH... | [
{
"name": "mulModProductLayoutCall08Carry128_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 466,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only"... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall08Carry128_toNat (a b : EvmWord) :
(mulModProductLayoutCall08Carry128 a b).toNat =
((mu... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :
(mulModAddPartialHiCarry hi lo x y).toNat =
(hi.toNat + ((r... | @@ -6,12 +6,25 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :
+ (mulModAddPartialHiCarry hi lo x y).toNat =
+ (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %
+ 2 ^ 64) / 2 ^ 64 := by
+ rw [m... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_16 | 1e602e1bbd53673f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 4 | [
{
"theorem_name": "mulModProductLayoutCall06Carry128_toNat",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall06Carry128\n exact mulModAddPartialHiCarry_toNat _ _ _ _",
"n_ch... | [
{
"name": "mulModAddPartialHiCarry_toNat",
"text": "private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :\n (mulModAddPartialHiCarry hi lo x y).toNat =\n (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %\n 2 ^ 64) / 2 ^ 64 := by\n rw [mulModAddPartialH... | [
{
"name": "mulModProductLayoutCall09Carry128_toNat",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 466,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only"... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCall09Carry128_toNat (a b : EvmWord) :
(mulModProductLayoutCall09Carry128 a b).toNat =
((mu... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :
(mulModAddPartialHiCarry hi lo x y).toNat =
(hi.toNat + ((r... | @@ -6,12 +6,25 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModAddPartialHiCarry_toNat (hi lo x y : Word) :
+ (mulModAddPartialHiCarry hi lo x y).toNat =
+ (hi.toNat + ((rv64_mulhu x y).toNat + (lo.toNat + (x * y).toNat) / 2 ^ 64) %
+ 2 ^ 64) / 2 ^ 64 := by
+ rw [m... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_17 | dab40a97c3d24c4f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutLowPartBound5",
"depth": 1,
"n_commands": 0,
"n_lines": 13,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_bound0 : d0 % w ≤ w - 1 := by\n omega\n have h_bound1 : d1c1 % w * w ≤ (w - 1) * w :=\n Nat... | [
{
"name": "mulModProductLayoutGeoSeriesIdentity5",
"text": "private theorem mulModProductLayoutGeoSeriesIdentity5 (w : Nat) (h_w : 0 < w) :\n (w - 1) + (w - 1) * w + (w - 1) * w ^ 2 + (w - 1) * w ^ 3 +\n (w - 1) * w ^ 4 + 1 = w ^ 5 := by\n obtain ⟨n, rfl⟩ : ∃ n, w = n + 1 := ⟨w - 1, by omega⟩\n ... | [
{
"name": "mulModProductLayoutLowPartBound5",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 20,
"n_chars": 888,
"n_subproofs": 6,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 6,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": fals... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutLowPartBound5
(d0 d1c1 d2c2 d3c3 d4c4 w : Nat) (h_w : 0 < w)
(h0 : d0 % w < w) (h1 : d1c1 % w... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutGeoSeriesIdentity5 (w : Nat) (h_w : 0 < w) :
(w - 1) + (w - 1) * w + (w - 1) * w ^ 2 + (w - 1) * ... | @@ -6,12 +6,31 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModProductLayoutGeoSeriesIdentity5 (w : Nat) (h_w : 0 < w) :
+ (w - 1) + (w - 1) * w + (w - 1) * w ^ 2 + (w - 1) * w ^ 3 +
+ (w - 1) * w ^ 4 + 1 = w ^ 5 := by
+ obtain ⟨n, rfl⟩ : ∃ n, w = n + 1 := ⟨w - 1, by om... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_18 | 02f30b3ff24bcb17 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCarryChainHigh4CarryExpanded",
"depth": 1,
"n_commands": 0,
"n_lines": 18,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro w feed06 high06 carry06 feed07 high07 carry07 feed08 high08 carry08 carry09\n have ... | [
{
"name": "mulModProductLayoutCarryChainHigh4CarryEq",
"text": "private theorem mulModProductLayoutCarryChainHigh4CarryEq\n (hi feed lo30 mu30 lo21 mu21 lo12 mu12 lo03 mu03 : Nat)\n (h30 : mu30 + (feed + lo30) / 2 ^ 64 < 2 ^ 64)\n (h21 : mu21 + ((feed + lo30) % 2 ^ 64 + lo21) / 2 ^ 64 < 2 ^ 64)\n ... | [
{
"name": "mulModProductLayoutCarryChainHigh4CarryExpanded",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 41,
"n_chars": 1666,
"n_subproofs": 1,
"n_tactics": 18,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 11,
"n_structural": 1,
"autom... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCarryChainHigh4CarryExpanded
(hi feed lo30 mu30 lo21 mu21 lo12 mu12 lo03 mu03 : Nat)
(h30 : m... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCarryChainHigh4CarryEq
(hi feed lo30 mu30 lo21 mu21 lo12 mu12 lo03 mu03 : Nat)
(h30 : mu30 + ... | @@ -6,6 +6,49 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModProductLayoutCarryChainHigh4CarryEq
+ (hi feed lo30 mu30 lo21 mu21 lo12 mu12 lo03 mu03 : Nat)
+ (h30 : mu30 + (feed + lo30) / 2 ^ 64 < 2 ^ 64)
+ (h21 : mu21 + ((feed + lo30) % 2 ^ 64 + lo21) / 2 ^ 64 < 2 ^ 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_b2309042bfbf_19 | 8c2f143752ce8e4a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 19 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall02P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall02P136 mulModCarryStepValue\n rw [mulModProductLayoutCall01P136_zero, mul... | [
{
"name": "mulModProductLayoutCall02Carry128_zero",
"text": "private theorem mulModProductLayoutCall02Carry128_zero (a b : EvmWord) :\n mulModProductLayoutCall02Carry128 a b = 0 := by\n unfold mulModProductLayoutCall02Carry128\n rw [mulModProductLayoutCall01P128_zero, mulModProductLayoutCall02Carry120_... | [
{
"name": "mulModProductLayoutCall09P136_toNat_eq_limb3CarryHigh",
"fan_in": 1,
"n_deps_direct": 13,
"n_deps_transitive": 29,
"n_lines": 73,
"n_chars": 3744,
"n_subproofs": 22,
"n_tactics": 51,
"cyclomatic": 1,
"n_automation": 12,
"n_rewrites": 9,
"n_structural": 4,
... | 29 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -34,8 +34,17 @@
rw [mulModProductLayoutCall00P136_zero, mulModProductLayoutCall01Carry128_zero]
rfl
+private theorem mulModProductLayoutCall02Carry128_zero (a b : EvmWord) :
+ mulModProductLayoutCall02Carry128 a b = 0 := by
+ unfold mulModProductLayoutCall02Carry128
+ rw [mulModProductLayoutCall01P128_z... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_20 | c669cc76d6231b43 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 20 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall02P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall02P136 mulModCarryStepValue\n rw [mulModProductLayoutCall01P136_zero, mul... | [
{
"name": "mulModProductLayoutCall02Carry128_zero",
"text": "private theorem mulModProductLayoutCall02Carry128_zero (a b : EvmWord) :\n mulModProductLayoutCall02Carry128 a b = 0 := by\n unfold mulModProductLayoutCall02Carry128\n rw [mulModProductLayoutCall01P128_zero, mulModProductLayoutCall02Carry120_... | [
{
"name": "mulModProductLayoutCall12P136_toNat_eq_c5",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 30,
"n_lines": 36,
"n_chars": 1580,
"n_subproofs": 3,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 0,
"automation_... | 30 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -34,8 +34,17 @@
rw [mulModProductLayoutCall00P136_zero, mulModProductLayoutCall01Carry128_zero]
rfl
+private theorem mulModProductLayoutCall02Carry128_zero (a b : EvmWord) :
+ mulModProductLayoutCall02Carry128 a b = 0 := by
+ unfold mulModProductLayoutCall02Carry128
+ rw [mulModProductLayoutCall01P128_z... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_21 | f84b637846fc59f8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 21 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutSchoolbookLimb5",
"depth": 1,
"n_commands": 0,
"n_lines": 66,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n dsimp only\n set w := (2 : Nat) ^ 64\n have h128 : (2 : Nat) ^ 128 = w ^ 2 := by\n norm_num [w]\n ... | [
{
"name": "mulModProductLayoutCarryTelescoping5",
"text": "private theorem mulModProductLayoutCarryTelescoping5\n (d0 d1 d2 d3 d4 c1 c2 c3 c4 c5 w : Nat)\n (h0 : w * c1 + d0 % w = d0)\n (h1 : w * c2 + (d1 + c1) % w = d1 + c1)\n (h2 : w * c3 + (d2 + c2) % w = d2 + c2)\n (h3 : w * c4 + (d3 + c3... | [
{
"name": "mulModProductLayoutSchoolbookLimb5",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 4,
"n_lines": 84,
"n_chars": 3049,
"n_subproofs": 9,
"n_tactics": 66,
"cyclomatic": 1,
"n_automation": 7,
"n_rewrites": 6,
"n_structural": 1,
"automation_only": f... | 4 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutGeoSeriesIdentity5 (w : Nat) (h_w : 0 < w) :
(w - 1) + (w - 1) * w + (w - 1) * w ^ 2 + (w - 1) * ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModProductLayoutCarryTelescoping5
(d0 d1 d2 d3 d4 c1 c2 c3 c4 c5 w : Nat)
(h0 : w * c1 + d0 % w = d0)
(h1... | @@ -6,6 +6,57 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+private theorem mulModProductLayoutCarryTelescoping5
+ (d0 d1 d2 d3 d4 c1 c2 c3 c4 c5 w : Nat)
+ (h0 : w * c1 + d0 % w = d0)
+ (h1 : w * c2 + (d1 + c1) % w = d1 + c1)
+ (h2 : w * c3 + (d2 + c2) % w = d2 + c2)
+ (h3 : w * c4 + ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_22 | f5e8d33f0880032f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 22 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall02P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall02P136 mulModCarryStepValue\n rw [mulModProductLayoutCall01P136_zero, mul... | [
{
"name": "mulModProductLayoutCall02Carry128_zero",
"text": "private theorem mulModProductLayoutCall02Carry128_zero (a b : EvmWord) :\n mulModProductLayoutCall02Carry128 a b = 0 := by\n unfold mulModProductLayoutCall02Carry128\n rw [mulModProductLayoutCall01P128_zero, mulModProductLayoutCall02Carry120_... | [
{
"name": "mulModProductLayoutColumn5Value_toNat_eq_schoolbook_limb5",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 31,
"n_lines": 34,
"n_chars": 1392,
"n_subproofs": 2,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 1,
"n_structural": 0,
... | 31 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -34,8 +34,17 @@
rw [mulModProductLayoutCall00P136_zero, mulModProductLayoutCall01Carry128_zero]
rfl
+private theorem mulModProductLayoutCall02Carry128_zero (a b : EvmWord) :
+ mulModProductLayoutCall02Carry128 a b = 0 := by
+ unfold mulModProductLayoutCall02Carry128
+ rw [mulModProductLayoutCall01P128_z... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_23 | d4dc6eddf23f7d62 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 23 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall03P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall03P136 mulModCarryStepValue\n rw [mulModProductLayoutCall02P136_zero, mul... | [
{
"name": "mulModProductLayoutCall02P136_zero",
"text": "private theorem mulModProductLayoutCall02P136_zero (a b : EvmWord) :\n mulModProductLayoutCall02P136 a b = 0 := by\n unfold mulModProductLayoutCall02P136 mulModCarryStepValue\n rw [mulModProductLayoutCall01P136_zero, mulModProductLayoutCall02Carr... | [
{
"name": "mulModProductLayoutColumn5Value_eq_productLimb_five",
"fan_in": 3,
"n_deps_direct": 2,
"n_deps_transitive": 37,
"n_lines": 12,
"n_chars": 635,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 3,
"n_structural": 1,
"aut... | 37 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -40,6 +40,12 @@
rw [mulModProductLayoutCall01P128_zero, mulModProductLayoutCall02Carry120_zero]
exact mulModCarryStepCarry_zero_zero
+private theorem mulModProductLayoutCall02P136_zero (a b : EvmWord) :
+ mulModProductLayoutCall02P136 a b = 0 := by
+ unfold mulModProductLayoutCall02P136 mulModCarryStepVa... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_24 | a27444a51be9920f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 24 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall03P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall03P136 mulModCarryStepValue\n rw [mulModProductLayoutCall02P136_zero, mul... | [
{
"name": "mulModProductLayoutCall03Carry128_zero",
"text": "private theorem mulModProductLayoutCall03Carry128_zero (a b : EvmWord) :\n mulModProductLayoutCall03Carry128 a b = 0 := by\n unfold mulModProductLayoutCall03Carry128\n rw [mulModProductLayoutCall02P128_zero]\n unfold mulModCarryStepCarry\n ... | [
{
"name": "mulModProductLayoutColumn5Value_eq_mulHigh_getLimbN_one",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 38,
"n_lines": 7,
"n_chars": 350,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"... | 38 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -46,8 +46,18 @@
rw [mulModProductLayoutCall01P136_zero, mulModProductLayoutCall02Carry128_zero]
rfl
+private theorem mulModProductLayoutCall03Carry128_zero (a b : EvmWord) :
+ mulModProductLayoutCall03Carry128 a b = 0 := by
+ unfold mulModProductLayoutCall03Carry128
+ rw [mulModProductLayoutCall02P128_z... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_25 | 5e2e631d1bd0ee8d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 25 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 2 | [
{
"theorem_name": "mulModProductLayoutCall14P136_eq_mulHigh_getLimbN_one_iff_column5Value",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← productLimb_five_eq_mulHigh_getLimbN_one]\n exact mulModProdu... | [
{
"name": "mulModProductLayoutCall14P136_eq_productLimb_five_iff_column5Value",
"text": "/-- The concrete call14 P136 cell has the same product-limb-5 proof obligation\n as the folded column-five target. -/\ntheorem mulModProductLayoutCall14P136_eq_productLimb_five_iff_column5Value\n (a b : EvmWord) :... | [
{
"name": "mulModProductLayoutCall14P136_eq_mulHigh_getLimbN_one_iff_column5Value",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 495,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_struct... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- The finalized product-layout column-five cell. -/
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayou... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- The finalized product-layout column-five cell. -/
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayou... | @@ -10,12 +10,22 @@
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayoutCall14P136 a b
+/-- The concrete call14 P136 cell has the same product-limb-5 proof obligation
+ as the folded column-five target. -/
+theorem mulModProductLayoutCall14P136_eq_productLimb_five_iff_column5Value
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_26 | a38039fb981dcdc2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 26 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall03P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall03P136 mulModCarryStepValue\n rw [mulModProductLayoutCall02P136_zero, mul... | [
{
"name": "mulModProductLayoutCall03Carry128_zero",
"text": "private theorem mulModProductLayoutCall03Carry128_zero (a b : EvmWord) :\n mulModProductLayoutCall03Carry128 a b = 0 := by\n unfold mulModProductLayoutCall03Carry128\n rw [mulModProductLayoutCall02P128_zero]\n unfold mulModCarryStepCarry\n ... | [
{
"name": "mulModProductLayoutCall14P136_eq_productLimb_five",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 39,
"n_lines": 7,
"n_chars": 361,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automa... | 39 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -46,8 +46,18 @@
rw [mulModProductLayoutCall01P136_zero, mulModProductLayoutCall02Carry128_zero]
rfl
+private theorem mulModProductLayoutCall03Carry128_zero (a b : EvmWord) :
+ mulModProductLayoutCall03Carry128 a b = 0 := by
+ unfold mulModProductLayoutCall03Carry128
+ rw [mulModProductLayoutCall02P128_z... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_27 | 47d656d8896bfea5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 27 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall03P136_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall03P136 mulModCarryStepValue\n rw [mulModProductLayoutCall02P136_zero, mul... | [
{
"name": "mulModProductLayoutCall03Carry128_zero",
"text": "private theorem mulModProductLayoutCall03Carry128_zero (a b : EvmWord) :\n mulModProductLayoutCall03Carry128 a b = 0 := by\n unfold mulModProductLayoutCall03Carry128\n rw [mulModProductLayoutCall02P128_zero]\n unfold mulModCarryStepCarry\n ... | [
{
"name": "mulModProductLayoutCall14P136_eq_mulHigh_getLimbN_one",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 40,
"n_lines": 7,
"n_chars": 379,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"au... | 40 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
private theorem mulModCarryStepCarry_twoBits_zero (p q : Bool) :
mulModCarryStepCarry (if p then (1 : Word) else 0) (if q then (1 : ... | @@ -46,8 +46,18 @@
rw [mulModProductLayoutCall01P136_zero, mulModProductLayoutCall02Carry128_zero]
rfl
+private theorem mulModProductLayoutCall03Carry128_zero (a b : EvmWord) :
+ mulModProductLayoutCall03Carry128 a b = 0 := by
+ unfold mulModProductLayoutCall03Carry128
+ rw [mulModProductLayoutCall02P128_z... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_28 | c6a89a705bcea677 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 28 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutColumn5Value_eq_mulHigh_getLimbN_one_of_productLimb_five",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact (mulModProductLayoutColumn5Value_eq_mulHigh_getLimbN_one_... | [
{
"name": "mulModProductLayoutColumn5Value_eq_mulHigh_getLimbN_one_iff_productLimb_five",
"text": "/-- The folded column-five product-limb target is the same as the direct\n mulHigh limb1 target. -/\ntheorem mulModProductLayoutColumn5Value_eq_mulHigh_getLimbN_one_iff_productLimb_five\n (a b : EvmWord)... | [
{
"name": "mulModProductLayoutColumn5Value_eq_mulHigh_getLimbN_one_of_productLimb_five",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 367,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_st... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- The finalized product-layout column-five cell. -/
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayou... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- The finalized product-layout column-five cell. -/
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayou... | @@ -10,11 +10,22 @@
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayoutCall14P136 a b
+/-- The folded column-five product-limb target is the same as the direct
+ mulHigh limb1 target. -/
+theorem mulModProductLayoutColumn5Value_eq_mulHigh_getLimbN_one_iff_productLimb_five
+ (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_b2309042bfbf_29 | dfb1e0b3779c430b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 29 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 1 | [
{
"theorem_name": "mulModProductLayoutCall14P136_eq_mulHigh_getLimbN_one_of_column5Value_mulHigh",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall14P136_eq_column5Value, h_col]",
... | [
{
"name": "mulModProductLayoutCall14P136_eq_column5Value",
"text": "/-- The concrete call14 P136 cell is the folded column-five target. -/\ntheorem mulModProductLayoutCall14P136_eq_column5Value (a b : EvmWord) :\n mulModProductLayoutCall14P136 a b = mulModProductLayoutColumn5Value a b := by\n rfl\n\n",
... | [
{
"name": "mulModProductLayoutCall14P136_eq_mulHigh_getLimbN_one_of_column5Value_mulHigh",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 339,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_... | 1 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- The finalized product-layout column-five cell. -/
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayou... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- The finalized product-layout column-five cell. -/
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayou... | @@ -10,11 +10,17 @@
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayoutCall14P136 a b
+/-- The concrete call14 P136 cell is the folded column-five target. -/
+theorem mulModProductLayoutCall14P136_eq_column5Value (a b : EvmWord) :
+ mulModProductLayoutCall14P136 a b = mulModProduc... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2309042bfbf_30 | a3680cc9f6a9ebeb | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutColumn5Target.lean | ProductLayoutColumn5Target | 30 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 42 | 2 | [
{
"theorem_name": "mulModProductLayoutCall14P136_eq_mulHigh_getLimbN_one_iff_column5Value",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [← productLimb_five_eq_mulHigh_getLimbN_one]\n exact mulModProdu... | [
{
"name": "mulModProductLayoutCall14P136_eq_productLimb_five_iff_column5Value",
"text": "/-- The concrete call14 P136 cell has the same product-limb-5 proof obligation\n as the folded column-five target. -/\ntheorem mulModProductLayoutCall14P136_eq_productLimb_five_iff_column5Value\n (a b : EvmWord) :... | [
{
"name": "mulModProductLayoutColumn5Value_eq_productLimb_five_of_call14P136_mulHigh",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 351,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_stru... | 2 | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- The finalized product-layout column-five cell. -/
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayou... | import EvmAsm.Evm64.MulMod.ProductLayoutColumn4Target
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
/-- The finalized product-layout column-five cell. -/
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayou... | @@ -10,12 +10,22 @@
def mulModProductLayoutColumn5Value (a b : EvmWord) : Word :=
mulModProductLayoutCall14P136 a b
+/-- The concrete call14 P136 cell has the same product-limb-5 proof obligation
+ as the folded column-five target. -/
+theorem mulModProductLayoutCall14P136_eq_productLimb_five_iff_column5Value
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_d71abcd26a3c_0 | 6a3de84adf709559 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0Conservation.lean | N1V5Shift0Conservation | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 9 | [
{
"theorem_name": "b0_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have := b0_norm hb0nz hclz\n have hz : (0 : Word).toNat = 0 := by decide\n omega",
"n_chars": 86,
"n_subproofs": 2,
"n... | [
{
"name": "b0_norm",
"text": "private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :\n b0.toNat ≥ 2 ^ 63 := by\n have h := b3_shifted_ge_pow63 hb0nz\n rw [hclz] at h\n simpa using h\n\n",
"fan_in": 9,
"n_lines": 7,
"n_chars": 189,
"n_subproofs": 1,
"n_... | [
{
"name": "b0_pos",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 290,
"n_subproofs": 2,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_nesting": 2
}
... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | @@ -23,8 +23,17 @@
open EvmAsm.Rv64
open EvmWord
+private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :
+ b0.toNat ≥ 2 ^ 63 := by
+ have h := b3_shifted_ge_pow63 hb0nz
+ rw [hclz] at h
+ simpa using h
+
private theorem b0_pos {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_d71abcd26a3c_1 | 736b0549e3923206 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0Conservation.lean | N1V5Shift0Conservation | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 9 | [
{
"theorem_name": "b0_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have := b0_norm hb0nz hclz\n have hz : (0 : Word).toNat = 0 := by decide\n omega",
"n_chars": 86,
"n_subproofs": 2,
"n... | [
{
"name": "b0_norm",
"text": "private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :\n b0.toNat ≥ 2 ^ 63 := by\n have h := b3_shifted_ge_pow63 hb0nz\n rw [hclz] at h\n simpa using h\n\n",
"fan_in": 9,
"n_lines": 7,
"n_chars": 189,
"n_subproofs": 1,
"n_... | [
{
"name": "s3_rem_lt_shift0",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 10,
"n_chars": 441,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_nesti... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | @@ -23,8 +23,17 @@
open EvmAsm.Rv64
open EvmWord
+private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :
+ b0.toNat ≥ 2 ^ 63 := by
+ have h := b3_shifted_ge_pow63 hb0nz
+ rw [hclz] at h
+ simpa using h
+
private theorem b0_pos {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_d71abcd26a3c_2 | 1390c3fe4ca335df | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0Conservation.lean | N1V5Shift0Conservation | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 9 | [
{
"theorem_name": "b0_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have := b0_norm hb0nz hclz\n have hz : (0 : Word).toNat = 0 := by decide\n omega",
"n_chars": 86,
"n_subproofs": 2,
"n... | [
{
"name": "b0_norm",
"text": "private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :\n b0.toNat ≥ 2 ^ 63 := by\n have h := b3_shifted_ge_pow63 hb0nz\n rw [hclz] at h\n simpa using h\n\n",
"fan_in": 9,
"n_lines": 7,
"n_chars": 189,
"n_subproofs": 1,
"n_... | [
{
"name": "s2_rem_lt_shift0",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 14,
"n_chars": 649,
"n_subproofs": 1,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 2,
"automation_only": false,
"max_nesti... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | @@ -23,8 +23,17 @@
open EvmAsm.Rv64
open EvmWord
+private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :
+ b0.toNat ≥ 2 ^ 63 := by
+ have h := b3_shifted_ge_pow63 hb0nz
+ rw [hclz] at h
+ simpa using h
+
private theorem b0_pos {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_d71abcd26a3c_3 | f4e1d32a382341c3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0Conservation.lean | N1V5Shift0Conservation | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 9 | [
{
"theorem_name": "b0_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have := b0_norm hb0nz hclz\n have hz : (0 : Word).toNat = 0 := by decide\n omega",
"n_chars": 86,
"n_subproofs": 2,
"n... | [
{
"name": "b0_norm",
"text": "private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :\n b0.toNat ≥ 2 ^ 63 := by\n have h := b3_shifted_ge_pow63 hb0nz\n rw [hclz] at h\n simpa using h\n\n",
"fan_in": 9,
"n_lines": 7,
"n_chars": 189,
"n_subproofs": 1,
"n_... | [
{
"name": "s1_rem_lt_shift0",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 14,
"n_chars": 670,
"n_subproofs": 1,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 2,
"automation_only": false,
"max_nesti... | 4 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | @@ -23,8 +23,17 @@
open EvmAsm.Rv64
open EvmWord
+private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :
+ b0.toNat ≥ 2 ^ 63 := by
+ have h := b3_shifted_ge_pow63 hb0nz
+ rw [hclz] at h
+ simpa using h
+
private theorem b0_pos {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_d71abcd26a3c_4 | 73cbf034f4016955 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0Conservation.lean | N1V5Shift0Conservation | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 9 | [
{
"theorem_name": "b0_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have := b0_norm hb0nz hclz\n have hz : (0 : Word).toNat = 0 := by decide\n omega",
"n_chars": 86,
"n_subproofs": 2,
"n... | [
{
"name": "b0_norm",
"text": "private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :\n b0.toNat ≥ 2 ^ 63 := by\n have h := b3_shifted_ge_pow63 hb0nz\n rw [hclz] at h\n simpa using h\n\n",
"fan_in": 9,
"n_lines": 7,
"n_chars": 189,
"n_subproofs": 1,
"n_... | [
{
"name": "s0_rem_lt_shift0",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 5,
"n_lines": 16,
"n_chars": 773,
"n_subproofs": 1,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 2,
"automation_only": false,
"max_nesti... | 5 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | @@ -23,8 +23,17 @@
open EvmAsm.Rv64
open EvmWord
+private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :
+ b0.toNat ≥ 2 ^ 63 := by
+ have h := b3_shifted_ge_pow63 hb0nz
+ rw [hclz] at h
+ simpa using h
+
private theorem b0_pos {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_d71abcd26a3c_5 | f0799c3adbd77c21 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0Conservation.lean | N1V5Shift0Conservation | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 9 | [
{
"theorem_name": "b0_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have := b0_norm hb0nz hclz\n have hz : (0 : Word).toNat = 0 := by decide\n omega",
"n_chars": 86,
"n_subproofs": 2,
"n... | [
{
"name": "b0_norm",
"text": "private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :\n b0.toNat ≥ 2 ^ 63 := by\n have h := b3_shifted_ge_pow63 hb0nz\n rw [hclz] at h\n simpa using h\n\n",
"fan_in": 9,
"n_lines": 7,
"n_chars": 189,
"n_subproofs": 1,
"n_... | [
{
"name": "s3_cons_shift0",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 12,
"n_chars": 523,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_nesting... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | @@ -23,8 +23,17 @@
open EvmAsm.Rv64
open EvmWord
+private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :
+ b0.toNat ≥ 2 ^ 63 := by
+ have h := b3_shifted_ge_pow63 hb0nz
+ rw [hclz] at h
+ simpa using h
+
private theorem b0_pos {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_d71abcd26a3c_6 | bc04daf67a9d02a0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0Conservation.lean | N1V5Shift0Conservation | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 9 | [
{
"theorem_name": "b0_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have := b0_norm hb0nz hclz\n have hz : (0 : Word).toNat = 0 := by decide\n omega",
"n_chars": 86,
"n_subproofs": 2,
"n... | [
{
"name": "b0_norm",
"text": "private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :\n b0.toNat ≥ 2 ^ 63 := by\n have h := b3_shifted_ge_pow63 hb0nz\n rw [hclz] at h\n simpa using h\n\n",
"fan_in": 9,
"n_lines": 7,
"n_chars": 189,
"n_subproofs": 1,
"n_... | [
{
"name": "s2_cons_shift0",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 16,
"n_chars": 767,
"n_subproofs": 1,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 2,
"automation_only": false,
"max_nesting... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | @@ -23,8 +23,17 @@
open EvmAsm.Rv64
open EvmWord
+private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :
+ b0.toNat ≥ 2 ^ 63 := by
+ have h := b3_shifted_ge_pow63 hb0nz
+ rw [hclz] at h
+ simpa using h
+
private theorem b0_pos {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_d71abcd26a3c_7 | d1a90dea29d4c166 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0Conservation.lean | N1V5Shift0Conservation | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 9 | [
{
"theorem_name": "b0_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have := b0_norm hb0nz hclz\n have hz : (0 : Word).toNat = 0 := by decide\n omega",
"n_chars": 86,
"n_subproofs": 2,
"n... | [
{
"name": "b0_norm",
"text": "private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :\n b0.toNat ≥ 2 ^ 63 := by\n have h := b3_shifted_ge_pow63 hb0nz\n rw [hclz] at h\n simpa using h\n\n",
"fan_in": 9,
"n_lines": 7,
"n_chars": 189,
"n_subproofs": 1,
"n_... | [
{
"name": "s1_cons_shift0",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 16,
"n_chars": 789,
"n_subproofs": 1,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 2,
"automation_only": false,
"max_nesting... | 4 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | @@ -23,8 +23,17 @@
open EvmAsm.Rv64
open EvmWord
+private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :
+ b0.toNat ≥ 2 ^ 63 := by
+ have h := b3_shifted_ge_pow63 hb0nz
+ rw [hclz] at h
+ simpa using h
+
private theorem b0_pos {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_d71abcd26a3c_8 | b9e4b072061f255e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0Conservation.lean | N1V5Shift0Conservation | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 5 | 9 | [
{
"theorem_name": "b0_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have := b0_norm hb0nz hclz\n have hz : (0 : Word).toNat = 0 := by decide\n omega",
"n_chars": 86,
"n_subproofs": 2,
"n... | [
{
"name": "b0_norm",
"text": "private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :\n b0.toNat ≥ 2 ^ 63 := by\n have h := b3_shifted_ge_pow63 hb0nz\n rw [hclz] at h\n simpa using h\n\n",
"fan_in": 9,
"n_lines": 7,
"n_chars": 189,
"n_subproofs": 1,
"n_... | [
{
"name": "s0_cons_shift0",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 5,
"n_lines": 16,
"n_chars": 816,
"n_subproofs": 1,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 2,
"automation_only": false,
"max_nesting... | 5 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0Conservation
Per-digit conservation (`val256 in = q·b0 + val256 remainder`) and the final
remainder bound for the v5 n=1 **shift=0** loop, at `v = (b0,0,0,0)`,
`u0 = a3`, `u1=u2=u3=uTop=0`, `u0_orig_{2,1,0} = a2,a1,a0`.
Each digit's remainder is single-limb (`val256 < b... | @@ -23,8 +23,17 @@
open EvmAsm.Rv64
open EvmWord
+private theorem b0_norm {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).1 = 0) :
+ b0.toNat ≥ 2 ^ 63 := by
+ have h := b3_shifted_ge_pow63 hb0nz
+ rw [hclz] at h
+ simpa using h
+
private theorem b0_pos {b0 : Word} (hb0nz : b0 ≠ 0) (hclz : (clzResult b0).... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_88bea90e3dbc_0 | 2cdb385b6fc5d768 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedBlock3ExitExp.lean | SavedBitFixedBlock3ExitExp | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "expTwoMulFixedIterMergedExitPostRelaxedBlock3Reload_to_FullStackPreFrame_exp_framed",
"depth": 1,
"n_commands": 0,
"n_lines": 22,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨w0, w1, w2, w3, hbridge⟩ :=\n expTwoMulFixe... | [
{
"name": "expTwoMulFixedBlock3FinalCondResultEqExp",
"text": "/-- Cond-branch (bit 255 = 1) final exit result is `EvmWord.exp`. -/\ntheorem expTwoMulFixedBlock3FinalCondResultEqExp\n {baseWord exponentWord : EvmWord}\n {e a0 a1 a2 a3 r0 r1 r2 r3 : Word}\n (hBase : baseWord = expResultWord a0 a1 a2... | [
{
"name": "expTwoMulFixedIterMergedExitPostRelaxedBlock3Reload_to_FullStackPreFrame_exp_framed",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 57,
"n_chars": 3379,
"n_subproofs": 3,
"n_tactics": 26,
"cyclomatic": 2,
"n_automation": 0,
"n_rewrites": 6... | 2 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedBlock3ExitExp
Exit-result pinning for the block-3 final iteration (k = 255).
At the loop exit the result cells hold the final accumulator step:
`expTwoMulCondRw (squareW …) …` on the cond branch (bit 255 = 1) and
`expSquaringCallSquareW …` on the skip branch (bit 255... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedBlock3ExitExp
Exit-result pinning for the block-3 final iteration (k = 255).
At the loop exit the result cells hold the final accumulator step:
`expTwoMulCondRw (squareW …) …` on the cond branch (bit 255 = 1) and
`expSquaringCallSquareW …` on the skip branch (bit 255... | @@ -22,6 +22,27 @@
open EvmAsm.Rv64
+/-- Cond-branch (bit 255 = 1) final exit result is `EvmWord.exp`. -/
+theorem expTwoMulFixedBlock3FinalCondResultEqExp
+ {baseWord exponentWord : EvmWord}
+ {e a0 a1 a2 a3 r0 r1 r2 r3 : Word}
+ (hBase : baseWord = expResultWord a0 a1 a2 a3)
+ (hCursor : expTwoMulFix... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_88bea90e3dbc_1 | bcc08660bfc63956 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitFixedBlock3ExitExp.lean | SavedBitFixedBlock3ExitExp | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "expTwoMulFixedIterMergedExitPostRelaxedBlock3Reload_to_FullStackPreFrame_exp_framed",
"depth": 1,
"n_commands": 0,
"n_lines": 22,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨w0, w1, w2, w3, hbridge⟩ :=\n expTwoMulFixe... | [
{
"name": "expTwoMulFixedBlock3FinalSkipResultEqExp",
"text": "/-- Skip-branch (bit 255 = 0) final exit result is `EvmWord.exp`. -/\ntheorem expTwoMulFixedBlock3FinalSkipResultEqExp\n {baseWord exponentWord : EvmWord}\n {e r0 r1 r2 r3 : Word}\n (hCursor : expTwoMulFixedCursorInvariant exponentWord ... | [
{
"name": "expTwoMulFixedIterMergedExitPostRelaxedBlock3Reload_to_FullStackPreFrame_exp_regown",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 41,
"n_chars": 2345,
"n_subproofs": 1,
"n_tactics": 11,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0... | 3 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedBlock3ExitExp
Exit-result pinning for the block-3 final iteration (k = 255).
At the loop exit the result cells hold the final accumulator step:
`expTwoMulCondRw (squareW …) …` on the cond branch (bit 255 = 1) and
`expSquaringCallSquareW …` on the skip branch (bit 255... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitFixedBlock3ExitExp
Exit-result pinning for the block-3 final iteration (k = 255).
At the loop exit the result cells hold the final accumulator step:
`expTwoMulCondRw (squareW …) …` on the cond branch (bit 255 = 1) and
`expSquaringCallSquareW …` on the skip branch (bit 255... | @@ -43,6 +43,26 @@
(expTwoMulFixedAccumulatorInvariant_succ_of_condRw_cursor_branch
(by decide) hBase hCursor hBitNe hInv)
+/-- Skip-branch (bit 255 = 0) final exit result is `EvmWord.exp`. -/
+theorem expTwoMulFixedBlock3FinalSkipResultEqExp
+ {baseWord exponentWord : EvmWord}
+ {e r0 r1 r2 r3 : Wo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_05a92a19961c_0 | 6a7a280a17c2f0ff | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FastDigitOwnV6Mod.lean | FastDigitOwnV6Mod | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 3 | [
{
"theorem_name": "divK_fastDigit2_own_spec_within_v6_mod",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n divK_fastDigit_own_spec_within_v6_mod sp uHi uLo d base v6Digit2Off 4032 4040 4072\n v2 v5 v7 v10 v1... | [
{
"name": "divK_fastDigit_own_spec_within_v6_mod",
"text": "/-- Generic own-input digit lift over `modCodeV6`: from the full digit lift\n (universally quantified over the clobbered inputs), expose `x6`/`x9` as\n `regOwn` and the five scratch cells as `memOwn`. -/\ntheorem divK_fastDigit_own_spec_withi... | [
{
"name": "divK_fastDigit2_own_spec_within_v6_mod",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 30,
"n_chars": 1966,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only"... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.FastDigitOwnV6Mod
MOD mirror of `DigitOwnV6` over `modCodeV6`: own-input variants of the v6
fast-path digit lifts. For digits 2/1/0 — which receive the previous digit's
*owned* clobbered registers (`x6`, `x9`) and *owned* div128 scratch cells — the
precondition's `regIs`/`memIs... | /-
EvmAsm.Evm64.DivMod.Compose.FastDigitOwnV6Mod
MOD mirror of `DigitOwnV6` over `modCodeV6`: own-input variants of the v6
fast-path digit lifts. For digits 2/1/0 — which receive the previous digit's
*owned* clobbered registers (`x6`, `x9`) and *owned* div128 scratch cells — the
precondition's `regIs`/`memIs... | @@ -19,6 +19,132 @@
open EvmAsm.Rv64
+/-- Generic own-input digit lift over `modCodeV6`: from the full digit lift
+ (universally quantified over the clobbered inputs), expose `x6`/`x9` as
+ `regOwn` and the five scratch cells as `memOwn`. -/
+theorem divK_fastDigit_own_spec_within_v6_mod
+ (sp uHi uLo d 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_05a92a19961c_1 | 124e5838a240d244 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FastDigitOwnV6Mod.lean | FastDigitOwnV6Mod | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 3 | [
{
"theorem_name": "divK_fastDigit2_own_spec_within_v6_mod",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n divK_fastDigit_own_spec_within_v6_mod sp uHi uLo d base v6Digit2Off 4032 4040 4072\n v2 v5 v7 v10 v1... | [
{
"name": "divK_fastDigit_own_spec_within_v6_mod",
"text": "/-- Generic own-input digit lift over `modCodeV6`: from the full digit lift\n (universally quantified over the clobbered inputs), expose `x6`/`x9` as\n `regOwn` and the five scratch cells as `memOwn`. -/\ntheorem divK_fastDigit_own_spec_withi... | [
{
"name": "divK_fastDigit1_own_spec_within_v6_mod",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 30,
"n_chars": 1966,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only"... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.FastDigitOwnV6Mod
MOD mirror of `DigitOwnV6` over `modCodeV6`: own-input variants of the v6
fast-path digit lifts. For digits 2/1/0 — which receive the previous digit's
*owned* clobbered registers (`x6`, `x9`) and *owned* div128 scratch cells — the
precondition's `regIs`/`memIs... | /-
EvmAsm.Evm64.DivMod.Compose.FastDigitOwnV6Mod
MOD mirror of `DigitOwnV6` over `modCodeV6`: own-input variants of the v6
fast-path digit lifts. For digits 2/1/0 — which receive the previous digit's
*owned* clobbered registers (`x6`, `x9`) and *owned* div128 scratch cells — the
precondition's `regIs`/`memIs... | @@ -19,6 +19,132 @@
open EvmAsm.Rv64
+/-- Generic own-input digit lift over `modCodeV6`: from the full digit lift
+ (universally quantified over the clobbered inputs), expose `x6`/`x9` as
+ `regOwn` and the five scratch cells as `memOwn`. -/
+theorem divK_fastDigit_own_spec_within_v6_mod
+ (sp uHi uLo d 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_05a92a19961c_2 | 2fe80e4a790efb0d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FastDigitOwnV6Mod.lean | FastDigitOwnV6Mod | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 3 | [
{
"theorem_name": "divK_fastDigit2_own_spec_within_v6_mod",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n divK_fastDigit_own_spec_within_v6_mod sp uHi uLo d base v6Digit2Off 4032 4040 4072\n v2 v5 v7 v10 v1... | [
{
"name": "divK_fastDigit_own_spec_within_v6_mod",
"text": "/-- Generic own-input digit lift over `modCodeV6`: from the full digit lift\n (universally quantified over the clobbered inputs), expose `x6`/`x9` as\n `regOwn` and the five scratch cells as `memOwn`. -/\ntheorem divK_fastDigit_own_spec_withi... | [
{
"name": "divK_fastDigit0_own_spec_within_v6_mod",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 30,
"n_chars": 1966,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only"... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.FastDigitOwnV6Mod
MOD mirror of `DigitOwnV6` over `modCodeV6`: own-input variants of the v6
fast-path digit lifts. For digits 2/1/0 — which receive the previous digit's
*owned* clobbered registers (`x6`, `x9`) and *owned* div128 scratch cells — the
precondition's `regIs`/`memIs... | /-
EvmAsm.Evm64.DivMod.Compose.FastDigitOwnV6Mod
MOD mirror of `DigitOwnV6` over `modCodeV6`: own-input variants of the v6
fast-path digit lifts. For digits 2/1/0 — which receive the previous digit's
*owned* clobbered registers (`x6`, `x9`) and *owned* div128 scratch cells — the
precondition's `regIs`/`memIs... | @@ -19,6 +19,132 @@
open EvmAsm.Rv64
+/-- Generic own-input digit lift over `modCodeV6`: from the full digit lift
+ (universally quantified over the clobbered inputs), expose `x6`/`x9` as
+ `regOwn` and the five scratch cells as `memOwn`. -/
+theorem divK_fastDigit_own_spec_within_v6_mod
+ (sp uHi uLo d 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_dd2c1b4e245f_0 | 8e54f09a6399ee75 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN2V5NoNopComboMMT.lean | FullPathN2V5NoNopComboMMT | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "divK_loop_n2_max_max_call_from_source_exact_loopIterScratch_v5_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 94,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopN2MaxMaxCallSourceCondsV5_unfold] at hconds\n simp only [r2M... | [
{
"name": "loopN2MaxMaxCallSourceCondsV5_unfold",
"text": "theorem loopN2MaxMaxCallSourceCondsV5_unfold\n (v0 v1 v2 v3 u0 u1 u2 u3 uTop u0Orig1 u0Orig0 : Word) :\n loopN2MaxMaxCallSourceCondsV5\n v0 v1 v2 v3 u0 u1 u2 u3 uTop u0Orig1 u0Orig0 =\n (let r2 := r2MMTN2V5 v0 v1 v2 v3 u0 u1 u2 u3 uTop... | [
{
"name": "divK_loop_n2_max_max_call_from_source_exact_loopIterScratch_v5_noNop",
"fan_in": 0,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 114,
"n_chars": 5806,
"n_subproofs": 6,
"n_tactics": 94,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 3,
"n_struc... | 4 | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN2V5NoNopComboMMT
Three-iteration max×max×call composition for the n=2 v5/no-NOP source path.
j=2 max, j=1 max, j=0 call. Defines r2MMTN2V5/r1MMTN2V5 (both iterN2Max);
reuses the max×max prefix (#7395). Mirror of FullPathN2V4NoNopMMT.
-/
import EvmAsm.Evm64.DivMod.Comp... | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN2V5NoNopComboMMT
Three-iteration max×max×call composition for the n=2 v5/no-NOP source path.
j=2 max, j=1 max, j=0 call. Defines r2MMTN2V5/r1MMTN2V5 (both iterN2Max);
reuses the max×max prefix (#7395). Mirror of FullPathN2V4NoNopMMT.
-/
import EvmAsm.Evm64.DivMod.Comp... | @@ -103,6 +103,23 @@
callAddbackCarry2NzV5 v0 v1 v2 v3
u0Orig0 r1.2.1 r1.2.2.1 r1.2.2.2.1 r1.2.2.2.2.1
+theorem loopN2MaxMaxCallSourceCondsV5_unfold
+ (v0 v1 v2 v3 u0 u1 u2 u3 uTop u0Orig1 u0Orig0 : Word) :
+ loopN2MaxMaxCallSourceCondsV5
+ v0 v1 v2 v3 u0 u1 u2 u3 uTop u0Orig1 u0Orig0 =
+ (let r... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b2621c23716d_0 | 164a0114a931a91d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SDiv/Compose/DivCallExactReturnHandoff.lean | DivCallExactReturnHandoff | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 2 | [
{
"theorem_name": "saveRa_signs_abs_signXor_then_divCall_exact_then_return_stack_tail_from_handoff_spec_in_sdivCodeV4",
"depth": 1,
"n_commands": 0,
"n_lines": 33,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let scratchFrame : EvmAsm.Rv64.Assertio... | [
{
"name": "saveRa_signs_abs_signXor_then_divCall_exact_then_return_normalized_named_post_from_handoff_spec_in_sdivCodeV4",
"text": "/-- v4 exact SDIV path through result-sign-fix and the saved-RA return,\n specialized from the sidecar exact callable handoff. -/\ntheorem saveRa_signs_abs_signXor_then_divC... | [
{
"name": "saveRa_signs_abs_signXor_then_divCall_exact_then_return_stack_tail_from_handoff_spec_in_sdivCodeV4",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 86,
"n_chars": 4729,
"n_subproofs": 3,
"n_tactics": 33,
"cyclomatic": 1,
"n_automation": 0,
... | 1 | /-
EvmAsm.Evm64.SDiv.Compose.DivCallExactReturnHandoff
Exact SDIV path handoff through result-sign-fix and saved-RA return.
-/
import EvmAsm.Evm64.SDiv.Compose.DivCallExactHandoff
import EvmAsm.Evm64.SDiv.Compose.DivCallReturnComposition
import EvmAsm.Evm64.SDiv.Compose.DispatchStackViews
import EvmAsm.Evm64.SDiv... | /-
EvmAsm.Evm64.SDiv.Compose.DivCallExactReturnHandoff
Exact SDIV path handoff through result-sign-fix and saved-RA return.
-/
import EvmAsm.Evm64.SDiv.Compose.DivCallExactHandoff
import EvmAsm.Evm64.SDiv.Compose.DivCallReturnComposition
import EvmAsm.Evm64.SDiv.Compose.DispatchStackViews
import EvmAsm.Evm64.SDiv... | @@ -11,6 +11,69 @@
namespace EvmAsm.Evm64.SDiv.Compose
+/-- v4 exact SDIV path through result-sign-fix and the saved-RA return,
+ specialized from the sidecar exact callable handoff. -/
+theorem saveRa_signs_abs_signXor_then_divCall_exact_then_return_normalized_named_post_from_handoff_spec_in_sdivCodeV4
+ (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_b2621c23716d_1 | 6df06bc5ba4ffcbf | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/SDiv/Compose/DivCallExactReturnHandoff.lean | DivCallExactReturnHandoff | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 2 | [
{
"theorem_name": "saveRa_signs_abs_signXor_then_divCall_exact_then_return_stack_tail_from_handoff_spec_in_sdivCodeV4",
"depth": 1,
"n_commands": 0,
"n_lines": 33,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let scratchFrame : EvmAsm.Rv64.Assertio... | [
{
"name": "saveRa_signs_abs_signXor_then_divCall_exact_then_return_normalized_named_post_from_handoff_spec_in_sdivCodeV4",
"text": "/-- v4 exact SDIV path through result-sign-fix and the saved-RA return,\n specialized from the sidecar exact callable handoff. -/\ntheorem saveRa_signs_abs_signXor_then_divC... | [
{
"name": "saveRa_signs_abs_signXor_then_divCall_exact_then_return_sign_fixed_word_spec_in_sdivCodeV4",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 53,
"n_chars": 3146,
"n_subproofs": 0,
"n_tactics": 11,
"cyclomatic": 1,
"n_automation": 0,
"n_rewri... | 1 | /-
EvmAsm.Evm64.SDiv.Compose.DivCallExactReturnHandoff
Exact SDIV path handoff through result-sign-fix and saved-RA return.
-/
import EvmAsm.Evm64.SDiv.Compose.DivCallExactHandoff
import EvmAsm.Evm64.SDiv.Compose.DivCallReturnComposition
import EvmAsm.Evm64.SDiv.Compose.DispatchStackViews
import EvmAsm.Evm64.SDiv... | /-
EvmAsm.Evm64.SDiv.Compose.DivCallExactReturnHandoff
Exact SDIV path handoff through result-sign-fix and saved-RA return.
-/
import EvmAsm.Evm64.SDiv.Compose.DivCallExactHandoff
import EvmAsm.Evm64.SDiv.Compose.DivCallReturnComposition
import EvmAsm.Evm64.SDiv.Compose.DispatchStackViews
import EvmAsm.Evm64.SDiv... | @@ -11,6 +11,69 @@
namespace EvmAsm.Evm64.SDiv.Compose
+/-- v4 exact SDIV path through result-sign-fix and the saved-RA return,
+ specialized from the sidecar exact callable handoff. -/
+theorem saveRa_signs_abs_signXor_then_divCall_exact_then_return_normalized_named_post_from_handoff_spec_in_sdivCodeV4
+ (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_84b57bedb0d7_0 | 0008eb3c0f700518 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/BytesToNibblesSAsm.lean | BytesToNibblesSAsm | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 16 | 2 | [
{
"theorem_name": "length_nibblePrefix",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction i with\n | zero => rfl\n | succ i ih => simp only [nibblePrefix, List.length_append, length_nibblePair, ih]... | [
{
"name": "length_nibblePair",
"text": "theorem length_nibblePair (b : BitVec 8) : (nibblePair b).length = 2 := by rfl\n\n",
"fan_in": 2,
"n_lines": 3,
"n_chars": 80,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,... | [
{
"name": "length_nibblePrefix",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 248,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nes... | 1 | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | @@ -36,11 +36,13 @@
#guard bytesToNibblesBytes [0xab, 0x04, 0xff] 3 = [10, 11, 0, 4, 15, 15]
+theorem length_nibblePair (b : BitVec 8) : (nibblePair b).length = 2 := by rfl
+
theorem length_nibblePrefix (srcBytes : List (BitVec 8)) (i : Nat) :
(nibblePrefix srcBytes i).length = 2 * i := by
induction i wit... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_84b57bedb0d7_1 | 42c4bc44a38f7411 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/BytesToNibblesSAsm.lean | BytesToNibblesSAsm | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 16 | 2 | [
{
"theorem_name": "length_nibblePrefix",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction i with\n | zero => rfl\n | succ i ih => simp only [nibblePrefix, List.length_append, length_nibblePair, ih]... | [
{
"name": "length_nibblePair",
"text": "theorem length_nibblePair (b : BitVec 8) : (nibblePair b).length = 2 := by rfl\n\n",
"fan_in": 2,
"n_lines": 3,
"n_chars": 80,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,... | [
{
"name": "length_nibbleWin",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 285,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"max_nesting... | 2 | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | @@ -36,11 +36,13 @@
#guard bytesToNibblesBytes [0xab, 0x04, 0xff] 3 = [10, 11, 0, 4, 15, 15]
+theorem length_nibblePair (b : BitVec 8) : (nibblePair b).length = 2 := by rfl
+
theorem length_nibblePrefix (srcBytes : List (BitVec 8)) (i : Nat) :
(nibblePrefix srcBytes i).length = 2 * i := by
induction i wit... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_84b57bedb0d7_2 | 0f563e64ebbd7f60 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/BytesToNibblesSAsm.lean | BytesToNibblesSAsm | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 16 | 2 | [
{
"theorem_name": "length_nibblePrefix",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction i with\n | zero => rfl\n | succ i ih => simp only [nibblePrefix, List.length_append, length_nibblePair, ih]... | [
{
"name": "length_nibblePair",
"text": "theorem length_nibblePair (b : BitVec 8) : (nibblePair b).length = 2 := by rfl\n\n",
"fan_in": 2,
"n_lines": 3,
"n_chars": 80,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,... | [
{
"name": "nibbleWin_step",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 29,
"n_chars": 1414,
"n_subproofs": 5,
"n_tactics": 24,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 8,
"n_structural": 0,
"automation_only": false,
"max_nesti... | 2 | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | @@ -36,16 +36,41 @@
#guard bytesToNibblesBytes [0xab, 0x04, 0xff] 3 = [10, 11, 0, 4, 15, 15]
+theorem length_nibblePair (b : BitVec 8) : (nibblePair b).length = 2 := by rfl
+
theorem length_nibblePrefix (srcBytes : List (BitVec 8)) (i : Nat) :
(nibblePrefix srcBytes i).length = 2 * i := by
induction i wit... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_84b57bedb0d7_3 | d3caa7042d8e2c22 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/BytesToNibblesSAsm.lean | BytesToNibblesSAsm | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 16 | 2 | [
{
"theorem_name": "step_engine",
"depth": 1,
"n_commands": 0,
"n_lines": 53,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hse0 : signExtend12 (0 : BitVec 12) = (0 : Word) := by decide\n have hse1 : signExtend12 (1 : BitVec 12) = (1 : Word) :=... | [
{
"name": "execInstrRF_lbu_ro",
"text": "/-- An `LBU` that misses the writable destination reads the source region. -/\ntheorem execInstrRF_lbu_ro (ro : Region) (rwBase : Word) (rf : RegFile)\n (ws : List (BitVec 8)) (rd rs1 : Reg) (ofs : BitVec 12)\n (h : ¬ inRw rwBase ws (rf.get rs1 + signExtend12 o... | [
{
"name": "step_engine",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 65,
"n_chars": 2987,
"n_subproofs": 9,
"n_tactics": 55,
"cyclomatic": 4,
"n_automation": 12,
"n_rewrites": 27,
"n_structural": 3,
"automation_only": false,
"max_nestin... | 2 | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | @@ -91,6 +91,16 @@
#guard (bytesToNibblesBody 0 0 0 [] []).flatten 0 ++ [Instr.JALR .x0 .x1 0] =
bytesToNibbles_prog
+/-- An `LBU` that misses the writable destination reads the source region. -/
+theorem execInstrRF_lbu_ro (ro : Region) (rwBase : Word) (rf : RegFile)
+ (ws : List (BitVec 8)) (rd rs1 : Reg) (o... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_84b57bedb0d7_4 | 2afe2f1a38dbbd82 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/BytesToNibblesSAsm.lean | BytesToNibblesSAsm | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 16 | 2 | [
{
"theorem_name": "length_nibbleWin",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only [nibbleWin, List.length_append, length_nibblePrefix, List.length_drop, h_orig]\n omega",
"n_chars": 102,
... | [
{
"name": "length_nibblePrefix",
"text": "theorem length_nibblePrefix (srcBytes : List (BitVec 8)) (i : Nat) :\n (nibblePrefix srcBytes i).length = 2 * i := by\n induction i with\n | zero => rfl\n | succ i ih => simp only [nibblePrefix, List.length_append, length_nibblePair, ih]; omega\n\n",
"fan_... | [
{
"name": "bytesToNibblesFn_spec",
"fan_in": 0,
"n_deps_direct": 13,
"n_deps_transitive": 16,
"n_lines": 147,
"n_chars": 6839,
"n_subproofs": 14,
"n_tactics": 142,
"cyclomatic": 8,
"n_automation": 72,
"n_rewrites": 49,
"n_structural": 16,
"automation_only": false,... | 16 | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | /-
Verified byte-identical SAsm port of `bytes_to_nibbles`.
Each source byte is expanded to two output bytes, high nibble first and low
nibble second. The source is read-only; the `2 * len` destination window is
the sole writable region.
-/
import EvmAsm.Codegen.Programs.Mpt
import EvmAsm.Rv64.SAsm.MultiDwor... | @@ -38,20 +38,28 @@
theorem length_nibblePair (b : BitVec 8) : (nibblePair b).length = 2 := by rfl
+theorem length_nibblePrefix (srcBytes : List (BitVec 8)) (i : Nat) :
+ (nibblePrefix srcBytes i).length = 2 * i := by
+ induction i with
+ | zero => rfl
+ | succ i ih => simp only [nibblePrefix, List.length_ap... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c8137a9da2f8_0 | a71c38f1c3a01a42 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN3V4.lean | FullPathN3V4 | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop_v4Final_exact_x1_scratch_frame",
"depth": 1,
"n_commands": 0,
"n_lines": 18,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hDenorm := evm_div_n3_denorm_epilogue_bundled_spec_v4... | [
{
"name": "evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop_v4Final",
"text": "/-- N3 denormalization and DIV epilogue over the v4/no-NOP dispatcher body,\n using the v4 callable-trial final computation family. -/\ntheorem evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop_v4Final\n (bltu_1 bltu_0 : Boo... | [
{
"name": "evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop_v4Final_exact_x1_scratch_frame",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 38,
"n_chars": 1711,
"n_subproofs": 2,
"n_tactics": 18,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
... | 1 | import EvmAsm.Evm64.DivMod.Compose.FullPathN3V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN3V4NoNopPreloop
import EvmAsm.Evm64.DivMod.Compose.FullPathN3PcFree
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
@[irreduci... | import EvmAsm.Evm64.DivMod.Compose.FullPathN3V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN3V4NoNopPreloop
import EvmAsm.Evm64.DivMod.Compose.FullPathN3PcFree
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
@[irreduci... | @@ -171,6 +171,37 @@
((sp + signExtend12 3936) ↦ₘ
fullDivN3ScratchMemV4 bltu_1 bltu_0 a0 a1 a2 a3 b0 b1 b2 b3 scratchMem)
+/-- N3 denormalization and DIV epilogue over the v4/no-NOP dispatcher body,
+ using the v4 callable-trial final computation family. -/
+theorem evm_div_n3_denorm_epilogue_bundled_spec_... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c8137a9da2f8_1 | 9e01c3e397541001 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN3V4.lean | FullPathN3V4 | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop_exact_x1_scratch_frame",
"depth": 1,
"n_commands": 0,
"n_lines": 15,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hDenorm := evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop\n... | [
{
"name": "evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop",
"text": "/-- N3 denormalization and DIV epilogue over the v4/no-NOP dispatcher body. -/\ntheorem evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop (bltu_1 bltu_0 : Bool)\n (sp base a0 a1 a2 a3 b0 b1 b2 b3 : Word)\n (hshift_nz : fullDivN3Shif... | [
{
"name": "evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop_exact_x1_scratch_frame",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 34,
"n_chars": 1533,
"n_subproofs": 2,
"n_tactics": 15,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_str... | 1 | import EvmAsm.Evm64.DivMod.Compose.FullPathN3V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN3V4NoNopPreloop
import EvmAsm.Evm64.DivMod.Compose.FullPathN3PcFree
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
@[irreduci... | import EvmAsm.Evm64.DivMod.Compose.FullPathN3V4NoNop
import EvmAsm.Evm64.DivMod.Compose.FullPathN3V4NoNopPreloop
import EvmAsm.Evm64.DivMod.Compose.FullPathN3PcFree
import EvmAsm.Evm64.DivMod.Compose.V4Code
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (se12_32 se12_40 se12_48 se12_56)
@[irreduci... | @@ -171,6 +171,35 @@
((sp + signExtend12 3936) ↦ₘ
fullDivN3ScratchMemV4 bltu_1 bltu_0 a0 a1 a2 a3 b0 b1 b2 b3 scratchMem)
+/-- N3 denormalization and DIV epilogue over the v4/no-NOP dispatcher body. -/
+theorem evm_div_n3_denorm_epilogue_bundled_spec_v4_noNop (bltu_1 bltu_0 : Bool)
+ (sp base a0 a1 a2 a3 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_254a1c68f67d_0 | 54a27f9f2cf7a451 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bls12MapPrecompileResultBridge.lean | Bls12MapPrecompileResultBridge | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 1 | [
{
"theorem_name": "evmG1PointBytes_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [evmG1PointBytes, zeroPad16_length, g1PointXBytes_length, g1PointYBytes_length]",
"n_chars": 90,
"n_sub... | [
{
"name": "g1PointXBytes_length",
"text": "theorem g1PointXBytes_length (point : Fin 96 → Byte) :\n (g1PointXBytes point).length = 48 := by\n simp [g1PointXBytes]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 125,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation... | [
{
"name": "evmG1PointBytes_length",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 5,
"n_chars": 194,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"max_n... | 3 | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | @@ -77,12 +77,17 @@
theorem zeroPad16_length : zeroPad16.length = 16 := by
simp [zeroPad16]
+theorem g1PointXBytes_length (point : Fin 96 → Byte) :
+ (g1PointXBytes point).length = 48 := by
+ simp [g1PointXBytes]
+
theorem g1PointYBytes_length (point : Fin 96 → Byte) :
(g1PointYBytes point).length = 48 ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_254a1c68f67d_1 | dfbc234c6c7ebfa2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bls12MapPrecompileResultBridge.lean | Bls12MapPrecompileResultBridge | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 2 | [
{
"theorem_name": "evmG1PointBytes_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [evmG1PointBytes, zeroPad16_length, g1PointXBytes_length, g1PointYBytes_length]",
"n_chars": 90,
"n_sub... | [
{
"name": "zeroPad16_length",
"text": "theorem zeroPad16_length : zeroPad16.length = 16 := by\n simp [zeroPad16]\n\n",
"fan_in": 2,
"n_lines": 4,
"n_chars": 75,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
... | [
{
"name": "paddedG2PointChunkBytes_length",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 5,
"n_chars": 222,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
... | 2 | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | @@ -74,12 +74,16 @@
def gasRemainingAfterCost (input : EvmAsm.Evm64.PrecompileInput) (cost : Nat) : Nat :=
input.gas - cost
+theorem zeroPad16_length : zeroPad16.length = 16 := by
+ simp [zeroPad16]
+
theorem g2PointChunkBytes_length (point : Fin 192 → Byte) (chunk : Fin 4) :
(g2PointChunkBytes point chunk... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_254a1c68f67d_2 | d963fcb275e8187d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bls12MapPrecompileResultBridge.lean | Bls12MapPrecompileResultBridge | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 1 | [
{
"theorem_name": "paddedG2PointChunkBytes_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [paddedG2PointChunkBytes, zeroPad16_length, g2PointChunkBytes_length]",
"n_chars": 80,
"n_subpr... | [
{
"name": "g2PointChunkBytes_length",
"text": "theorem g2PointChunkBytes_length (point : Fin 192 → Byte) (chunk : Fin 4) :\n (g2PointChunkBytes point chunk).length = 48 := by\n simp [g2PointChunkBytes]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 160,
"n_subproofs": 0,
"n_tactics": 2,... | [
{
"name": "evmG2PointBytes_length",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 5,
"n_chars": 165,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"max_n... | 3 | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | @@ -77,8 +77,13 @@
theorem zeroPad16_length : zeroPad16.length = 16 := by
simp [zeroPad16]
+theorem g2PointChunkBytes_length (point : Fin 192 → Byte) (chunk : Fin 4) :
+ (g2PointChunkBytes point chunk).length = 48 := by
+ simp [g2PointChunkBytes]
+
theorem paddedG2PointChunkBytes_length (point : Fin 192 → 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_254a1c68f67d_3 | fd8750bf3730cf9c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bls12MapPrecompileResultBridge.lean | Bls12MapPrecompileResultBridge | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 1 | [
{
"theorem_name": "evmG1PointBytes_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [evmG1PointBytes, zeroPad16_length, g1PointXBytes_length, g1PointYBytes_length]",
"n_chars": 90,
"n_sub... | [
{
"name": "g1PointXBytes_length",
"text": "theorem g1PointXBytes_length (point : Fin 96 → Byte) :\n (g1PointXBytes point).length = 48 := by\n simp [g1PointXBytes]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 125,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation... | [
{
"name": "mapFpToG1OutputBytes_length",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 4,
"n_lines": 6,
"n_chars": 208,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"... | 4 | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | @@ -77,12 +77,17 @@
theorem zeroPad16_length : zeroPad16.length = 16 := by
simp [zeroPad16]
+theorem g1PointXBytes_length (point : Fin 96 → Byte) :
+ (g1PointXBytes point).length = 48 := by
+ simp [g1PointXBytes]
+
theorem g1PointYBytes_length (point : Fin 96 → Byte) :
(g1PointYBytes point).length = 48 ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_254a1c68f67d_4 | 92bd41fa71a881f2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bls12MapPrecompileResultBridge.lean | Bls12MapPrecompileResultBridge | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 1 | [
{
"theorem_name": "paddedG2PointChunkBytes_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [paddedG2PointChunkBytes, zeroPad16_length, g2PointChunkBytes_length]",
"n_chars": 80,
"n_subpr... | [
{
"name": "g2PointChunkBytes_length",
"text": "theorem g2PointChunkBytes_length (point : Fin 192 → Byte) (chunk : Fin 4) :\n (g2PointChunkBytes point chunk).length = 48 := by\n simp [g2PointChunkBytes]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 160,
"n_subproofs": 0,
"n_tactics": 2,... | [
{
"name": "mapFp2ToG2OutputBytes_length",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 4,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
... | 4 | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | @@ -77,8 +77,13 @@
theorem zeroPad16_length : zeroPad16.length = 16 := by
simp [zeroPad16]
+theorem g2PointChunkBytes_length (point : Fin 192 → Byte) (chunk : Fin 4) :
+ (g2PointChunkBytes point chunk).length = 48 := by
+ simp [g2PointChunkBytes]
+
theorem paddedG2PointChunkBytes_length (point : Fin 192 → 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_254a1c68f67d_5 | 9bd69a3d3b461d0f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bls12MapPrecompileResultBridge.lean | Bls12MapPrecompileResultBridge | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 1 | [
{
"theorem_name": "evmG1PointBytes_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [evmG1PointBytes, zeroPad16_length, g1PointXBytes_length, g1PointYBytes_length]",
"n_chars": 90,
"n_sub... | [
{
"name": "g1PointYBytes_length",
"text": "theorem g1PointYBytes_length (point : Fin 96 → Byte) :\n (g1PointYBytes point).length = 48 := by\n simp [g1PointYBytes]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 125,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation... | [
{
"name": "fromMapFpToG1Result_output_length",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 6,
"n_lines": 8,
"n_chars": 315,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false... | 6 | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | @@ -81,8 +81,13 @@
(g1PointXBytes point).length = 48 := by
simp [g1PointXBytes]
+theorem g1PointYBytes_length (point : Fin 96 → Byte) :
+ (g1PointYBytes point).length = 48 := by
+ simp [g1PointYBytes]
+
theorem evmG1PointBytes_length (point : Fin 96 → Byte) :
- (evmG1PointBytes point).length = 128 := ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_254a1c68f67d_6 | 6ce16445a08edcb0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bls12MapPrecompileResultBridge.lean | Bls12MapPrecompileResultBridge | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 1 | [
{
"theorem_name": "evmG2PointBytes_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [evmG2PointBytes, paddedG2PointChunkBytes_length]",
"n_chars": 60,
"n_subproofs": 0,
"n_tactics": 2... | [
{
"name": "paddedG2PointChunkBytes_length",
"text": "theorem paddedG2PointChunkBytes_length (point : Fin 192 → Byte) (chunk : Fin 4) :\n (paddedG2PointChunkBytes point chunk).length = 64 := by\n simp [paddedG2PointChunkBytes, zeroPad16_length, g2PointChunkBytes_length]\n\n",
"fan_in": 1,
"n_line... | [
{
"name": "fromMapFp2ToG2Result_output_length",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 6,
"n_lines": 8,
"n_chars": 321,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fals... | 6 | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | @@ -81,8 +81,13 @@
(g2PointChunkBytes point chunk).length = 48 := by
simp [g2PointChunkBytes]
+theorem paddedG2PointChunkBytes_length (point : Fin 192 → Byte) (chunk : Fin 4) :
+ (paddedG2PointChunkBytes point chunk).length = 64 := by
+ simp [paddedG2PointChunkBytes, zeroPad16_length, g2PointChunkBytes_le... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_254a1c68f67d_7 | 61fc050223d15bc1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bls12MapPrecompileResultBridge.lean | Bls12MapPrecompileResultBridge | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 1 | [
{
"theorem_name": "fromMapFpToG1Result_failure_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fromMapFpToG1Result_efail h_status]\n rfl",
"n_chars": 51,
"n_subproofs": 0,
"n_... | [
{
"name": "fromMapFpToG1Result_efail",
"text": "theorem fromMapFpToG1Result_efail\n {gasRemaining : Nat} {result : Bls12MapFpToG1EcallBridge.Bls12MapFpToG1Result}\n (h_status : result.status = .efail) :\n fromMapFpToG1Result gasRemaining result =\n EvmAsm.Evm64.PrecompileResult.fail gasRemaini... | [
{
"name": "fromMapFpToG1Result_failure_output_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 302,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only... | 1 | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | @@ -74,6 +74,13 @@
def gasRemainingAfterCost (input : EvmAsm.Evm64.PrecompileInput) (cost : Nat) : Nat :=
input.gas - cost
+theorem fromMapFpToG1Result_efail
+ {gasRemaining : Nat} {result : Bls12MapFpToG1EcallBridge.Bls12MapFpToG1Result}
+ (h_status : result.status = .efail) :
+ fromMapFpToG1Result gasR... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_254a1c68f67d_8 | 46f9e00f18321bd9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bls12MapPrecompileResultBridge.lean | Bls12MapPrecompileResultBridge | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 13 | 1 | [
{
"theorem_name": "fromMapFp2ToG2Result_failure_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fromMapFp2ToG2Result_efail h_status]\n rfl",
"n_chars": 52,
"n_subproofs": 0,
"... | [
{
"name": "fromMapFp2ToG2Result_efail",
"text": "theorem fromMapFp2ToG2Result_efail\n {gasRemaining : Nat} {result : Bls12MapFp2ToG2EcallBridge.Bls12MapFp2ToG2Result}\n (h_status : result.status = .efail) :\n fromMapFp2ToG2Result gasRemaining result =\n EvmAsm.Evm64.PrecompileResult.fail gasRe... | [
{
"name": "fromMapFp2ToG2Result_failure_output_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 307,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_onl... | 1 | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | /-
EvmAsm.EL.Bls12MapPrecompileResultBridge
Bridge from BLS12-381 map accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bls12MapFpToG1EcallBridge
import EvmAsm.EL.Bls12MapFp2ToG2EcallBridge
import EvmAsm.Evm64.PrecompileResult
namespace EvmAs... | @@ -81,6 +81,13 @@
EvmAsm.Evm64.PrecompileResult.fail gasRemaining := by
simp [fromMapFpToG1Result, h_status]
+theorem fromMapFp2ToG2Result_efail
+ {gasRemaining : Nat} {result : Bls12MapFp2ToG2EcallBridge.Bls12MapFp2ToG2Result}
+ (h_status : result.status = .efail) :
+ fromMapFp2ToG2Result gasRema... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_7546d505f17f_0 | bcbb3dc9a3993d0f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterFetchProgram.lean | InterpreterFetchProgram | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "evm_fetch_opcode_byte_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_fetch_opcode_length]",
"n_chars": 34,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": ... | [
{
"name": "evm_fetch_opcode_length",
"text": "theorem evm_fetch_opcode_length\n (codeBaseReg pcReg addrReg opcodeReg : Reg) :\n (evm_fetch_opcode codeBaseReg pcReg addrReg opcodeReg).length = 2 := by\n simp [evm_fetch_opcode, ADD, LBU, single, seq, Program.length_append]\n\n",
"fan_in": 1,
"n... | [
{
"name": "evm_fetch_opcode_byte_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 6,
"n_chars": 199,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.InterpreterFetchProgram
First RV64 opcode-fetch block for the interpreter main loop (GH #108).
-/
import EvmAsm.Rv64.Program
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.RunBlock
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.Tactics
/--
Compute the current EVM bytecode ... | /-
EvmAsm.Evm64.InterpreterFetchProgram
First RV64 opcode-fetch block for the interpreter main loop (GH #108).
-/
import EvmAsm.Rv64.Program
import EvmAsm.Rv64.SyscallSpecs
import EvmAsm.Rv64.Tactics.RunBlock
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAsm.Rv64.Tactics
/--
Compute the current EVM bytecode ... | @@ -32,9 +32,15 @@
CodeReq.ofProg base
(evm_fetch_opcode codeBaseReg pcReg addrReg opcodeReg)
+theorem evm_fetch_opcode_length
+ (codeBaseReg pcReg addrReg opcodeReg : Reg) :
+ (evm_fetch_opcode codeBaseReg pcReg addrReg opcodeReg).length = 2 := by
+ simp [evm_fetch_opcode, ADD, LBU, single, seq, Progr... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_74303b9d60c0_0 | 4aeeb5191c9b4400 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 1 | [
{
"theorem_name": "pcFree_evmMemIs",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction n with\n | zero => exact pcFree_emp\n | succ k ih =>\n rw [evmMemIs_succ]\n exact pcFree_sepConj ih p... | [
{
"name": "evmMemIs_succ",
"text": "theorem evmMemIs_succ {base : Word} {n : Nat} {contents : Nat → Word} :\n evmMemIs base (n + 1) contents =\n (evmMemIs base n contents ** ((base + (BitVec.ofNat 64 (8 * n))) ↦ₘ contents n)) := rfl\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 210,
"n... | [
{
"name": "pcFree_evmMemIs",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 254,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 2,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 3,
"automation_only": false,
"max_nesting... | 1 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -59,6 +59,10 @@
@[simp] theorem evmMemIs_zero {base : Word} {contents : Nat → Word} :
evmMemIs base 0 contents = empAssertion := rfl
+theorem evmMemIs_succ {base : Word} {n : Nat} {contents : Nat → Word} :
+ evmMemIs base (n + 1) contents =
+ (evmMemIs base n contents ** ((base + (BitVec.ofNat 64 (8 ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_74303b9d60c0_1 | 6d8a11a5ac19afe4 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 1 | [
{
"theorem_name": "evmMemByteAccess_valid_of_memAddr_valid",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact (evmMemByteAccess_valid_iff_memAddr_valid memBase byteAddr).mpr h_valid",
"n_chars": 83,
... | [
{
"name": "evmMemByteAccess_valid_iff_memAddr_valid",
"text": "theorem evmMemByteAccess_valid_iff_memAddr_valid (memBase byteAddr : Word) :\n isValidByteAccess (memBase + byteAddr) = true ↔\n isValidMemAddr (memBase + byteAddr) = true := by\n rfl\n\n",
"fan_in": 1,
"n_lines": 6,
"n_char... | [
{
"name": "evmMemByteAccess_valid_of_memAddr_valid",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 6,
"n_chars": 272,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only":... | 1 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -116,9 +116,15 @@
unfold evmMemByteOffset
exact byteOffset_lt_8
+theorem evmMemByteAccess_valid_iff_memAddr_valid (memBase byteAddr : Word) :
+ isValidByteAccess (memBase + byteAddr) = true ↔
+ isValidMemAddr (memBase + byteAddr) = true := by
+ rfl
+
theorem evmMemByteAccess_valid_of_memAddr_valid ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_74303b9d60c0_2 | 1157f529ece8eba7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 2 | [
{
"theorem_name": "evmMemByteRead_replace_same_zeroExtend",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evmMemByteRead_replace_same]",
"n_chars": 38,
"n_subproofs": 0,
"n_tactics": 2,
... | [
{
"name": "evmMemByteRead_replace_same",
"text": "theorem evmMemByteRead_replace_same\n (memBase byteAddr oldDword : Word) (b : BitVec 8) :\n evmMemByteRead memBase byteAddr\n (replaceByte oldDword (evmMemByteOffset memBase byteAddr) b) = b := by\n unfold evmMemByteRead evmMemByteOffset\n exact... | [
{
"name": "evmMemByteRead_replace_same_zeroExtend",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 440,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only":... | 1 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -125,13 +125,22 @@
(evmMemByteOffsetFin memBase byteAddr).val =
evmMemByteOffset memBase byteAddr := rfl
+theorem evmMemByteRead_replace_same
+ (memBase byteAddr oldDword : Word) (b : BitVec 8) :
+ evmMemByteRead memBase byteAddr
+ (replaceByte oldDword (evmMemByteOffset memBase byteAddr) 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_74303b9d60c0_3 | 1dbbbab2e790af8f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 2 | [
{
"theorem_name": "evmMemByteRead_replace_same_zeroExtend",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evmMemByteRead_replace_same]",
"n_chars": 38,
"n_subproofs": 0,
"n_tactics": 2,
... | [
{
"name": "evmMemByteRead_replace_same",
"text": "theorem evmMemByteRead_replace_same\n (memBase byteAddr oldDword : Word) (b : BitVec 8) :\n evmMemByteRead memBase byteAddr\n (replaceByte oldDword (evmMemByteOffset memBase byteAddr) b) = b := by\n unfold evmMemByteRead evmMemByteOffset\n exact... | [
{
"name": "evmMemByteRead_replace_same_signExtend",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 439,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only":... | 1 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -125,13 +125,22 @@
(evmMemByteOffsetFin memBase byteAddr).val =
evmMemByteOffset memBase byteAddr := rfl
+theorem evmMemByteRead_replace_same
+ (memBase byteAddr oldDword : Word) (b : BitVec 8) :
+ evmMemByteRead memBase byteAddr
+ (replaceByte oldDword (evmMemByteOffset memBase byteAddr) 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_74303b9d60c0_4 | d563f0c0c23327d9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 2 | [
{
"theorem_name": "evmMemExpand_ge_access",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmMemExpand\n rw [if_neg hlen]\n exact Nat.le_trans (roundUpTo32_le _) (Nat.le_max_right _ _)",
"n_cha... | [
{
"name": "roundUpTo32_le",
"text": "theorem roundUpTo32_le (n : Nat) : n ≤ roundUpTo32 n := by\n unfold roundUpTo32\n have h : n ≤ (n + 31) / 32 * 32 := by\n have := Nat.div_mul_le_self (n + 31) 32\n omega\n exact h\n\n",
"fan_in": 2,
"n_lines": 8,
"n_chars": 189,
"n_subproofs": 2,... | [
{
"name": "evmMemExpand_ge_access",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 259,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": false,
"max_... | 1 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -174,6 +174,13 @@
`roundUpTo32 n = ((n + 31) / 32) * 32`. -/
def roundUpTo32 (n : Nat) : Nat := ((n + 31) / 32) * 32
+theorem roundUpTo32_le (n : Nat) : n ≤ roundUpTo32 n := by
+ unfold roundUpTo32
+ have h : n ≤ (n + 31) / 32 * 32 := by
+ have := Nat.div_mul_le_self (n + 31) 32
+ omega
+ exact h
+
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_74303b9d60c0_5 | 0216bc0dbaecccdf | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 2 | [
{
"theorem_name": "evmMemExpand_ge_access",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmMemExpand\n rw [if_neg hlen]\n exact Nat.le_trans (roundUpTo32_le _) (Nat.le_max_right _ _)",
"n_cha... | [
{
"name": "roundUpTo32_le",
"text": "theorem roundUpTo32_le (n : Nat) : n ≤ roundUpTo32 n := by\n unfold roundUpTo32\n have h : n ≤ (n + 31) / 32 * 32 := by\n have := Nat.div_mul_le_self (n + 31) 32\n omega\n exact h\n\n",
"fan_in": 2,
"n_lines": 8,
"n_chars": 189,
"n_subproofs": 2,... | [
{
"name": "evmMemExpand_access_byte_lt",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 285,
"n_subproofs": 1,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 2 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -174,6 +174,13 @@
`roundUpTo32 n = ((n + 31) / 32) * 32`. -/
def roundUpTo32 (n : Nat) : Nat := ((n + 31) / 32) * 32
+theorem roundUpTo32_le (n : Nat) : n ≤ roundUpTo32 n := by
+ unfold roundUpTo32
+ have h : n ≤ (n + 31) / 32 * 32 := by
+ have := Nat.div_mul_le_self (n + 31) 32
+ omega
+ exact h
+
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_74303b9d60c0_6 | fa5cba8da85f4ef1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 2 | [
{
"theorem_name": "evmMemExpand_ge_access",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold evmMemExpand\n rw [if_neg hlen]\n exact Nat.le_trans (roundUpTo32_le _) (Nat.le_max_right _ _)",
"n_cha... | [
{
"name": "roundUpTo32_le",
"text": "theorem roundUpTo32_le (n : Nat) : n ≤ roundUpTo32 n := by\n unfold roundUpTo32\n have h : n ≤ (n + 31) / 32 * 32 := by\n have := Nat.div_mul_le_self (n + 31) 32\n omega\n exact h\n\n",
"fan_in": 2,
"n_lines": 8,
"n_chars": 189,
"n_subproofs": 2,... | [
{
"name": "evmMemExpand_access_byte_dword_start_lt",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 12,
"n_chars": 518,
"n_subproofs": 2,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 2,
"automation_only"... | 3 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -174,6 +174,13 @@
`roundUpTo32 n = ((n + 31) / 32) * 32`. -/
def roundUpTo32 (n : Nat) : Nat := ((n + 31) / 32) * 32
+theorem roundUpTo32_le (n : Nat) : n ≤ roundUpTo32 n := by
+ unfold roundUpTo32
+ have h : n ≤ (n + 31) / 32 * 32 := by
+ have := Nat.div_mul_le_self (n + 31) 32
+ omega
+ exact h
+
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_74303b9d60c0_7 | 6fc75c75ebf8428c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 3 | [
{
"theorem_name": "evmMemExpand_access_byte_lt",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_end := evmMemExpand_ge_access sizeBytes offset length hlen\n omega",
"n_chars": 79,
"n_subproof... | [
{
"name": "evmMemExpand_ge_access",
"text": "theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :\n offset + length ≤ evmMemExpand sizeBytes offset length := by\n unfold evmMemExpand\n rw [if_neg hlen]\n exact Nat.le_trans (roundUpTo32_le _) (Nat.le_max_right _ _)\n\n",... | [
{
"name": "evmMemExpand_access_byte_dword_interval",
"fan_in": 3,
"n_deps_direct": 2,
"n_deps_transitive": 5,
"n_lines": 14,
"n_chars": 541,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only"... | 5 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -197,10 +197,18 @@
evmMemExpand sizeBytes offset 0 = sizeBytes := by
unfold evmMemExpand; simp
+theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :
+ offset + length ≤ evmMemExpand sizeBytes offset length := by
+ unfold evmMemExpand
+ rw [if_neg hlen]
+ exact Nat.le_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_74303b9d60c0_8 | 0639906f58f6f948 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 3 | [
{
"theorem_name": "evmMemExpand_access_byte_lt",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_end := evmMemExpand_ge_access sizeBytes offset length hlen\n omega",
"n_chars": 79,
"n_subproof... | [
{
"name": "evmMemExpand_ge_access",
"text": "theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :\n offset + length ≤ evmMemExpand sizeBytes offset length := by\n unfold evmMemExpand\n rw [if_neg hlen]\n exact Nat.le_trans (roundUpTo32_le _) (Nat.le_max_right _ _)\n\n",... | [
{
"name": "evmMemExpand_access_byte_dword_byte_lt",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 6,
"n_lines": 16,
"n_chars": 588,
"n_subproofs": 2,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only":... | 6 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -197,10 +197,18 @@
evmMemExpand sizeBytes offset 0 = sizeBytes := by
unfold evmMemExpand; simp
+theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :
+ offset + length ≤ evmMemExpand sizeBytes offset length := by
+ unfold evmMemExpand
+ rw [if_neg hlen]
+ exact Nat.le_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_74303b9d60c0_9 | dbd38eb52e6e55e9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 3 | [
{
"theorem_name": "evmMemExpand_access_byte_lt",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_end := evmMemExpand_ge_access sizeBytes offset length hlen\n omega",
"n_chars": 79,
"n_subproof... | [
{
"name": "evmMemExpand_ge_access",
"text": "theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :\n offset + length ≤ evmMemExpand sizeBytes offset length := by\n unfold evmMemExpand\n rw [if_neg hlen]\n exact Nat.le_trans (roundUpTo32_le _) (Nat.le_max_right _ _)\n\n",... | [
{
"name": "evmMemExpand_access_dword_interval",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 6,
"n_lines": 8,
"n_chars": 351,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": fals... | 6 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -197,10 +197,18 @@
evmMemExpand sizeBytes offset 0 = sizeBytes := by
unfold evmMemExpand; simp
+theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :
+ offset + length ≤ evmMemExpand sizeBytes offset length := by
+ unfold evmMemExpand
+ rw [if_neg hlen]
+ exact Nat.le_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_74303b9d60c0_10 | 3687e84c8c1583db | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 3 | [
{
"theorem_name": "evmMemExpand_access_byte_lt",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_end := evmMemExpand_ge_access sizeBytes offset length hlen\n omega",
"n_chars": 79,
"n_subproof... | [
{
"name": "evmMemExpand_ge_access",
"text": "theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :\n offset + length ≤ evmMemExpand sizeBytes offset length := by\n unfold evmMemExpand\n rw [if_neg hlen]\n exact Nat.le_trans (roundUpTo32_le _) (Nat.le_max_right _ _)\n\n",... | [
{
"name": "evmMemExpand_access_last_dword_interval",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 6,
"n_lines": 13,
"n_chars": 505,
"n_subproofs": 2,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only"... | 6 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -197,10 +197,18 @@
evmMemExpand sizeBytes offset 0 = sizeBytes := by
unfold evmMemExpand; simp
+theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :
+ offset + length ≤ evmMemExpand sizeBytes offset length := by
+ unfold evmMemExpand
+ rw [if_neg hlen]
+ exact Nat.le_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_74303b9d60c0_11 | 61b7ddaa29b51dbb | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 3 | [
{
"theorem_name": "evmMemExpand_access_byte_lt",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h_end := evmMemExpand_ge_access sizeBytes offset length hlen\n omega",
"n_chars": 79,
"n_subproof... | [
{
"name": "evmMemExpand_ge_access",
"text": "theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :\n offset + length ≤ evmMemExpand sizeBytes offset length := by\n unfold evmMemExpand\n rw [if_neg hlen]\n exact Nat.le_trans (roundUpTo32_le _) (Nat.le_max_right _ _)\n\n",... | [
{
"name": "evmMemExpand_access_dword_span",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 8,
"n_lines": 10,
"n_chars": 428,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
... | 8 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -197,10 +197,18 @@
evmMemExpand sizeBytes offset 0 = sizeBytes := by
unfold evmMemExpand; simp
+theorem evmMemExpand_ge_access (sizeBytes offset length : Nat) (hlen : length ≠ 0) :
+ offset + length ≤ evmMemExpand sizeBytes offset length := by
+ unfold evmMemExpand
+ rw [if_neg hlen]
+ exact Nat.le_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_74303b9d60c0_12 | 100a6d968f2dc82d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 12 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 2 | [
{
"theorem_name": "evmMemExpand_word_eq_old_of_end_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evmMemExpand_word_eq]\n exact max_eq_left (roundUpTo32_le_of_le_dvd h_end h_size_dvd)",
"n_char... | [
{
"name": "roundUpTo32_le_of_le_dvd",
"text": "theorem roundUpTo32_le_of_le_dvd {n m : Nat} (h_le : n ≤ m) (h_dvd : 32 ∣ m) :\n roundUpTo32 n ≤ m := by\n rcases h_dvd with ⟨k, rfl⟩\n unfold roundUpTo32\n omega\n\n",
"fan_in": 2,
"n_lines": 7,
"n_chars": 176,
"n_subproofs": 0,
"n_ta... | [
{
"name": "evmMemExpand_word_eq_old_of_end_le",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 294,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fals... | 2 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -174,6 +174,12 @@
`roundUpTo32 n = ((n + 31) / 32) * 32`. -/
def roundUpTo32 (n : Nat) : Nat := ((n + 31) / 32) * 32
+theorem roundUpTo32_le_of_le_dvd {n m : Nat} (h_le : n ≤ m) (h_dvd : 32 ∣ m) :
+ roundUpTo32 n ≤ m := by
+ rcases h_dvd with ⟨k, rfl⟩
+ unfold roundUpTo32
+ omega
+
/-- The pure EVM me... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_74303b9d60c0_13 | 7c16038a5fd5b753 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 13 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 3 | [
{
"theorem_name": "evmMemExpand_word_eq_old_of_end_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evmMemExpand_word_eq]\n exact max_eq_left (roundUpTo32_le_of_le_dvd h_end h_size_dvd)",
"n_char... | [
{
"name": "evmMemExpand_word_eq",
"text": "/-- MLOAD and MSTORE access one full 32-byte EVM word. -/\ntheorem evmMemExpand_word_eq (sizeBytes offset : Nat) :\n evmMemExpand sizeBytes offset 32 =\n max sizeBytes (roundUpTo32 (offset + 32)) := by\n unfold evmMemExpand\n simp\n\n",
"fan_in": 3,
... | [
{
"name": "evmMemExpand_word_eq_rounded_of_old_le",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 259,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": ... | 1 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -190,10 +190,19 @@
evmMemExpand sizeBytes offset 0 = sizeBytes := by
unfold evmMemExpand; simp
+/-- MLOAD and MSTORE access one full 32-byte EVM word. -/
+theorem evmMemExpand_word_eq (sizeBytes offset : Nat) :
+ evmMemExpand sizeBytes offset 32 =
+ max sizeBytes (roundUpTo32 (offset + 32)) := 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_74303b9d60c0_14 | 0e50f8fcfe353a69 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 3 | [
{
"theorem_name": "evmMemExpand_word_eq_old_of_end_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evmMemExpand_word_eq]\n exact max_eq_left (roundUpTo32_le_of_le_dvd h_end h_size_dvd)",
"n_char... | [
{
"name": "evmMemExpand_word_eq",
"text": "/-- MLOAD and MSTORE access one full 32-byte EVM word. -/\ntheorem evmMemExpand_word_eq (sizeBytes offset : Nat) :\n evmMemExpand sizeBytes offset 32 =\n max sizeBytes (roundUpTo32 (offset + 32)) := by\n unfold evmMemExpand\n simp\n\n",
"fan_in": 3,
... | [
{
"name": "evmMemExpand_word_eq_rounded_of_end_gt",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 7,
"n_chars": 319,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": ... | 3 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -197,10 +197,19 @@
evmMemExpand sizeBytes offset 0 = sizeBytes := by
unfold evmMemExpand; simp
+/-- MLOAD and MSTORE access one full 32-byte EVM word. -/
+theorem evmMemExpand_word_eq (sizeBytes offset : Nat) :
+ evmMemExpand sizeBytes offset 32 =
+ max sizeBytes (roundUpTo32 (offset + 32)) := 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_74303b9d60c0_15 | a600f4b1238a6b49 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Memory.lean | Memory | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 39 | 2 | [
{
"theorem_name": "evmMemExpand_word_eq_old_of_end_le",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evmMemExpand_word_eq]\n exact max_eq_left (roundUpTo32_le_of_le_dvd h_end h_size_dvd)",
"n_char... | [
{
"name": "roundUpTo32_le_of_le_dvd",
"text": "theorem roundUpTo32_le_of_le_dvd {n m : Nat} (h_le : n ≤ m) (h_dvd : 32 ∣ m) :\n roundUpTo32 n ≤ m := by\n rcases h_dvd with ⟨k, rfl⟩\n unfold roundUpTo32\n omega\n\n",
"fan_in": 2,
"n_lines": 7,
"n_chars": 176,
"n_subproofs": 0,
"n_ta... | [
{
"name": "evmMemExpand_byte_eq_old_of_end_le",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 292,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": fals... | 2 | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | /-
EvmAsm.Evm64.Memory
Separation logic model for EVM memory (byte-addressable, zero-initialized,
dynamically expandable) stored in RV64IM doubleword-aligned memory cells.
Slice 1 (issue #99): defines the core `evmMemIs` assertion at dword-cell
granularity plus the zero-initialized form `evmMemZero`.
Sli... | @@ -174,6 +174,12 @@
`roundUpTo32 n = ((n + 31) / 32) * 32`. -/
def roundUpTo32 (n : Nat) : Nat := ((n + 31) / 32) * 32
+theorem roundUpTo32_le_of_le_dvd {n m : Nat} (h_le : n ≤ m) (h_dvd : 32 ∣ m) :
+ roundUpTo32 n ≤ m := by
+ rcases h_dvd with ⟨k, rfl⟩
+ unfold roundUpTo32
+ omega
+
/-- The pure EVM me... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "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.