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_ea76f6f49464_31 | bf41ca73c5e1ffed | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 31 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall07P120_eq_add",
"text": "theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall07P120 a b =\n mulModProductLayoutCall06P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutCall09P120_eq_expanded_raw",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 8,
"n_lines": 20,
"n_chars": 946,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation... | 8 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -48,6 +48,13 @@
unfold mulModProductLayoutCall06P120 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall07P120 a b =
+ mulModProductLayoutCall06P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by
+ unf... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_32 | dbadfb5196a132c8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 32 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall07P120_eq_add",
"text": "theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall07P120 a b =\n mulModProductLayoutCall06P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutCall09P120_eq_expanded_lowCarries",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 9,
"n_lines": 30,
"n_chars": 1276,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"au... | 9 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -48,6 +48,13 @@
unfold mulModProductLayoutCall06P120 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall07P120 a b =
+ mulModProductLayoutCall06P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by
+ unf... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_33 | f35ba7e4c08996f6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 33 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutCall02P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall02P120_eq_carry112]\n rw [mulModProductLayoutCall02Carry112_eq_singl... | [
{
"name": "mulModProductLayoutCall02P120_eq_carry112",
"text": "theorem mulModProductLayoutCall02P120_eq_carry112 (a b : EvmWord) :\n mulModProductLayoutCall02P120 a b = mulModProductLayoutCall02Carry112 a b := by\n unfold mulModProductLayoutCall02P120 mulModCarryStepValue\n rw [mulModProductLayoutCall... | [
{
"name": "mulModProductLayoutCall09P120_eq_layoutCarryChain",
"fan_in": 1,
"n_deps_direct": 5,
"n_deps_transitive": 34,
"n_lines": 37,
"n_chars": 1672,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 5,
"n_structural": 0,
"auto... | 34 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -211,6 +211,12 @@
mulModCarryStepValue, BitVec.ult]
ac_rfl
+theorem mulModProductLayoutCall02P120_eq_carry112 (a b : EvmWord) :
+ mulModProductLayoutCall02P120 a b = mulModProductLayoutCall02Carry112 a b := by
+ unfold mulModProductLayoutCall02P120 mulModCarryStepValue
+ rw [mulModProductLayoutCall01P... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_34 | 3eced2805ebcd7a6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 34 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutCall02P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall02P120_eq_carry112]\n rw [mulModProductLayoutCall02Carry112_eq_singl... | [
{
"name": "mulModProductLayoutCall02P120_eq_carry112",
"text": "theorem mulModProductLayoutCall02P120_eq_carry112 (a b : EvmWord) :\n mulModProductLayoutCall02P120 a b = mulModProductLayoutCall02Carry112 a b := by\n unfold mulModProductLayoutCall02P120 mulModCarryStepValue\n rw [mulModProductLayoutCall... | [
{
"name": "mulModProductLayoutCall09P120_eq_mul_limb3",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 36,
"n_lines": 31,
"n_chars": 1596,
"n_subproofs": 1,
"n_tactics": 31,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 10,
"n_structural": 0,
"automatio... | 36 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -228,6 +228,12 @@
mulModCarryStepValue, BitVec.ult]
ac_rfl
+theorem mulModProductLayoutCall02P120_eq_carry112 (a b : EvmWord) :
+ mulModProductLayoutCall02P120 a b = mulModProductLayoutCall02Carry112 a b := by
+ unfold mulModProductLayoutCall02P120 mulModCarryStepValue
+ rw [mulModProductLayoutCall01P... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_35 | c4767a8950b9dd9f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 35 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 6 | [
{
"theorem_name": "mulModAddPartialHiCarry_eq_singleCarry_right",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModAddPartialHiCarry_eq_singleCarry]\n rw [BitVec.add_comm hi]",
"n_chars": 75,
... | [
{
"name": "mulModAddPartialHiCarry_eq_singleCarry",
"text": "/-- The two-step high carry of an add-partial is the same carry bit as adding\n the high product and incoming low carry before checking overflow. -/\ntheorem mulModAddPartialHiCarry_eq_singleCarry (hi lo a b : Word) :\n mulModAddPartialHiCar... | [
{
"name": "mulModProductLayoutCall03P128_eq_expanded",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 4,
"n_lines": 20,
"n_chars": 985,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 0,
"automation_onl... | 4 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -60,6 +60,41 @@
exact Nat.le_trans (Nat.div_le_div_right h3) (Nat.le_of_eq this)
norm_num
+/-- The two-step high carry of an add-partial is the same carry bit as adding
+ the high product and incoming low carry before checking overflow. -/
+theorem mulModAddPartialHiCarry_eq_singleCarry (hi lo a b : Wor... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_36 | 2ea467b37ed4f09d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 36 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall00P120_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall00P120 mulModCarryStepValue\n rw [mulModProductLayoutCall00Carry112_zero]... | [
{
"name": "mulModProductLayoutCall00Carry112_zero",
"text": "theorem mulModProductLayoutCall00Carry112_zero (a b : EvmWord) :\n mulModProductLayoutCall00Carry112 a b = 0 := by\n unfold mulModProductLayoutCall00Carry112\n rw [mulModProductLayoutCall00Carry104_zero]\n exact mulModCarryStepCarry_zero_zer... | [
{
"name": "mulModProductLayoutCall03P128_eq_highCarry",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 23,
"n_lines": 17,
"n_chars": 775,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_o... | 23 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -128,6 +128,12 @@
unfold mulModProductLayoutCall00Carry104
exact mulModAddPartialHiCarry_zero_zero (a.getLimbN 0) (b.getLimbN 0)
+theorem mulModProductLayoutCall00Carry112_zero (a b : EvmWord) :
+ mulModProductLayoutCall00Carry112 a b = 0 := by
+ unfold mulModProductLayoutCall00Carry112
+ rw [mulModProd... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_37 | be7d62314fa7f351 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 37 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 6 | [
{
"theorem_name": "mulModAddPartialHiCarry_eq_singleCarry_right",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModAddPartialHiCarry_eq_singleCarry]\n rw [BitVec.add_comm hi]",
"n_chars": 75,
... | [
{
"name": "mulModAddPartialHiCarry_eq_singleCarry",
"text": "/-- The two-step high carry of an add-partial is the same carry bit as adding\n the high product and incoming low carry before checking overflow. -/\ntheorem mulModAddPartialHiCarry_eq_singleCarry (hi lo a b : Word) :\n mulModAddPartialHiCar... | [
{
"name": "mulModProductLayoutCall04P128_eq_expanded",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 4,
"n_lines": 20,
"n_chars": 985,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 0,
"automation_onl... | 4 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -60,6 +60,41 @@
exact Nat.le_trans (Nat.div_le_div_right h3) (Nat.le_of_eq this)
norm_num
+/-- The two-step high carry of an add-partial is the same carry bit as adding
+ the high product and incoming low carry before checking overflow. -/
+theorem mulModAddPartialHiCarry_eq_singleCarry (hi lo a b : Wor... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_38 | cf5fd923201b66dc | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 38 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutCall01Carry112_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall01Carry112\n rw [mulModAddPartialHiCarry_eq_singleCarry, mulModProduc... | [
{
"name": "mulModProductLayoutCall00P112_zero",
"text": "theorem mulModProductLayoutCall00P112_zero (a b : EvmWord) :\n mulModProductLayoutCall00P112 a b = 0 := by\n unfold mulModProductLayoutCall00P112 mulModCarryStepValue\n rw [mulModProductLayoutCall00Carry104_zero]\n rfl\n\n",
"fan_in": 1,
... | [
{
"name": "mulModProductLayoutCall04P128_eq_highCarry",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 25,
"n_lines": 26,
"n_chars": 1319,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_... | 25 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -134,6 +134,12 @@
rw [mulModProductLayoutCall00Carry104_zero]
exact mulModCarryStepCarry_zero_zero
+theorem mulModProductLayoutCall00P112_zero (a b : EvmWord) :
+ mulModProductLayoutCall00P112 a b = 0 := by
+ unfold mulModProductLayoutCall00P112 mulModCarryStepValue
+ rw [mulModProductLayoutCall00Carry1... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_39 | 1f53eb5c869aa7e5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 39 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 6 | [
{
"theorem_name": "mulModAddPartialHiCarry_eq_singleCarry_right",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModAddPartialHiCarry_eq_singleCarry]\n rw [BitVec.add_comm hi]",
"n_chars": 75,
... | [
{
"name": "mulModAddPartialHiCarry_eq_singleCarry",
"text": "/-- The two-step high carry of an add-partial is the same carry bit as adding\n the high product and incoming low carry before checking overflow. -/\ntheorem mulModAddPartialHiCarry_eq_singleCarry (hi lo a b : Word) :\n mulModAddPartialHiCar... | [
{
"name": "mulModProductLayoutCall05P128_eq_expanded",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 4,
"n_lines": 20,
"n_chars": 985,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 0,
"automation_onl... | 4 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -60,6 +60,41 @@
exact Nat.le_trans (Nat.div_le_div_right h3) (Nat.le_of_eq this)
norm_num
+/-- The two-step high carry of an add-partial is the same carry bit as adding
+ the high product and incoming low carry before checking overflow. -/
+theorem mulModAddPartialHiCarry_eq_singleCarry (hi lo a b : Wor... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_40 | ba5cce06b3232e2e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 40 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutCall01Carry112_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall01Carry112\n rw [mulModAddPartialHiCarry_eq_singleCarry, mulModProduc... | [
{
"name": "mulModProductLayoutCall00P104_eq_mulhu",
"text": "theorem mulModProductLayoutCall00P104_eq_mulhu (a b : EvmWord) :\n mulModProductLayoutCall00P104 a b = rv64_mulhu (a.getLimbN 0) (b.getLimbN 0) := by\n unfold mulModProductLayoutCall00P104 mulModAddPartialHiValue mulModAddPartialHiBaseValue\n ... | [
{
"name": "mulModProductLayoutCall05P128_eq_highCarry",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 27,
"n_lines": 36,
"n_chars": 1884,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_... | 27 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -146,8 +146,18 @@
rw [mulModProductLayoutCall00Carry112_zero]
rfl
+theorem mulModProductLayoutCall00P104_eq_mulhu (a b : EvmWord) :
+ mulModProductLayoutCall00P104 a b = rv64_mulhu (a.getLimbN 0) (b.getLimbN 0) := by
+ unfold mulModProductLayoutCall00P104 mulModAddPartialHiValue mulModAddPartialHiBaseVal... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_41 | 9a15b0018114f4a1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 41 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall01P120_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall01P120 mulModCarryStepValue\n rw [mulModProductLayoutCall01Carry112_zero,... | [
{
"name": "mulModProductLayoutCall01Carry112_zero",
"text": "theorem mulModProductLayoutCall01Carry112_zero (a b : EvmWord) :\n mulModProductLayoutCall01Carry112 a b = 0 := by\n unfold mulModProductLayoutCall01Carry112\n rw [mulModAddPartialHiCarry_eq_singleCarry, mulModProductLayoutCall00P112_zero,\n ... | [
{
"name": "mulModProductLayoutCall09P128_eq_highCarry",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 29,
"n_lines": 48,
"n_chars": 2742,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_... | 29 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -152,8 +152,18 @@
rw [mulModAddPartialLoCarry_zero]
simp [mulModAddPartialHiProduct]
+theorem mulModProductLayoutCall01Carry112_zero (a b : EvmWord) :
+ mulModProductLayoutCall01Carry112 a b = 0 := by
+ unfold mulModProductLayoutCall01Carry112
+ rw [mulModAddPartialHiCarry_eq_singleCarry, mulModProductL... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_42 | 51bdd479c6f91f3a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 42 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall12P128_eq_column4Value",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall12P128_eq_expanded]\n unfold mulModProductLayoutColumn4Value\n r... | [
{
"name": "mulModProductLayoutCall12P128_eq_expanded",
"text": "theorem mulModProductLayoutCall12P128_eq_expanded (a b : EvmWord) :\n mulModProductLayoutCall12P128 a b =\n mulModProductLayoutCall09P128 a b +\n a.getLimbN 3 * b.getLimbN 1 +\n a.getLimbN 2 * b.getLimbN 2 +\n a.get... | [
{
"name": "mulModProductLayoutCall12P128_eq_column4Value",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 251,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 0,
"automation_... | 1 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -258,8 +258,21 @@
a.getLimbN 2 * b.getLimbN 2 +
a.getLimbN 1 * b.getLimbN 3
+theorem mulModProductLayoutCall12P128_eq_expanded (a b : EvmWord) :
+ mulModProductLayoutCall12P128 a b =
+ mulModProductLayoutCall09P128 a b +
+ a.getLimbN 3 * b.getLimbN 1 +
+ a.getLimbN 2 * b.getLimbN 2 ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_43 | a178388f1e1e48ee | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 43 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall12P128_eq_column4Value",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall12P128_eq_expanded]\n unfold mulModProductLayoutColumn4Value\n r... | [
{
"name": "mulModProductLayoutCall12P128_eq_expanded",
"text": "theorem mulModProductLayoutCall12P128_eq_expanded (a b : EvmWord) :\n mulModProductLayoutCall12P128 a b =\n mulModProductLayoutCall09P128 a b +\n a.getLimbN 3 * b.getLimbN 1 +\n a.getLimbN 2 * b.getLimbN 2 +\n a.get... | [
{
"name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_column4Value",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 489,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structu... | 2 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -258,8 +258,21 @@
a.getLimbN 2 * b.getLimbN 2 +
a.getLimbN 1 * b.getLimbN 3
+theorem mulModProductLayoutCall12P128_eq_expanded (a b : EvmWord) :
+ mulModProductLayoutCall12P128 a b =
+ mulModProductLayoutCall09P128 a b +
+ a.getLimbN 3 * b.getLimbN 1 +
+ a.getLimbN 2 * b.getLimbN 2 ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_44 | 256520efd2aa6ef2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 44 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_productLimb_four",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_... | [
{
"name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_column4Value",
"text": "/-- Adapter for the remaining column-4 arithmetic proof: once the folded column\n value is shown to match `mulHigh` limb 0, the concrete call12 cell follows. -/\ntheorem mulModProductLayoutCall12P128_eq_mulHigh_g... | [
{
"name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_productLimb_four",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 8,
"n_chars": 423,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_str... | 4 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -274,6 +274,14 @@
unfold mulModProductLayoutColumn4Value
rfl
+/-- Adapter for the remaining column-4 arithmetic proof: once the folded column
+ value is shown to match `mulHigh` limb 0, the concrete call12 cell follows. -/
+theorem mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_column4Value
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_45 | 3ec62f66cb0b6cda | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 45 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall02Carry120_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall02Carry120\n rw [mulModProductLayoutCall01P120_zero]\n rw [mulModPr... | [
{
"name": "mulModProductLayoutCall01P120_zero",
"text": "theorem mulModProductLayoutCall01P120_zero (a b : EvmWord) :\n mulModProductLayoutCall01P120 a b = 0 := by\n unfold mulModProductLayoutCall01P120 mulModCarryStepValue\n rw [mulModProductLayoutCall01Carry112_zero, mulModProductLayoutCall00P120_zer... | [
{
"name": "mulModProductLayoutCall12P128_eq_highCarry",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 31,
"n_lines": 51,
"n_chars": 2858,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_... | 31 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -159,6 +159,12 @@
mulModProductLayoutCall00P104_eq_mulhu]
simp [mulModAddPartialHiProduct, BitVec.ult_eq_decide]
+theorem mulModProductLayoutCall01P120_zero (a b : EvmWord) :
+ mulModProductLayoutCall01P120 a b = 0 := by
+ unfold mulModProductLayoutCall01P120 mulModCarryStepValue
+ rw [mulModProductLa... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_46 | 1ea2791f571a2a8f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 46 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 6 | [
{
"theorem_name": "mulModAddPartialHiCarry_eq_singleCarry_right",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModAddPartialHiCarry_eq_singleCarry]\n rw [BitVec.add_comm hi]",
"n_chars": 75,
... | [
{
"name": "mulModAddPartialHiCarry_eq_singleCarry",
"text": "/-- The two-step high carry of an add-partial is the same carry bit as adding\n the high product and incoming low carry before checking overflow. -/\ntheorem mulModAddPartialHiCarry_eq_singleCarry (hi lo a b : Word) :\n mulModAddPartialHiCar... | [
{
"name": "mulModProductLayoutCall12P128_eq_expanded_highCarries",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 7,
"n_lines": 33,
"n_chars": 1847,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 3,
"n_structural": 0,
"a... | 7 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -60,6 +60,41 @@
exact Nat.le_trans (Nat.div_le_div_right h3) (Nat.le_of_eq this)
norm_num
+/-- The two-step high carry of an add-partial is the same carry bit as adding
+ the high product and incoming low carry before checking overflow. -/
+theorem mulModAddPartialHiCarry_eq_singleCarry (hi lo a b : Wor... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_47 | d264cb337c6a7462 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 47 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall05P128_eq_highCarry",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall05P128_eq_expanded]\n rw [mulModProductLayoutCall04P128_eq_highCarry... | [
{
"name": "mulModProductLayoutCall05P128_eq_expanded",
"text": "theorem mulModProductLayoutCall05P128_eq_expanded (a b : EvmWord) :\n mulModProductLayoutCall05P128 a b =\n mulModProductLayoutCall04P128 a b +\n (if BitVec.ult (mulModProductLayoutCall04P120 a b +\n (rv64_mulhu (a.get... | [
{
"name": "mulModProductLayoutColumn4Value_eq_expanded_highCarries",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 9,
"n_lines": 32,
"n_chars": 1827,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
... | 9 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -95,6 +95,25 @@
have hhi := hi.isLt
omega
+theorem mulModProductLayoutCall05P128_eq_expanded (a b : EvmWord) :
+ mulModProductLayoutCall05P128 a b =
+ mulModProductLayoutCall04P128 a b +
+ (if BitVec.ult (mulModProductLayoutCall04P120 a b +
+ (rv64_mulhu (a.getLimbN 0) (b.getLimbN 2... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_48 | 00481bf8560bd24a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 48 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutCall00P128_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall00P128 mulModCarryStepValue\n rw [mulModProductLayoutCall00Carry120_zero]... | [
{
"name": "mulModProductLayoutCall00Carry120_zero",
"text": "theorem mulModProductLayoutCall00Carry120_zero (a b : EvmWord) :\n mulModProductLayoutCall00Carry120 a b = 0 := by\n unfold mulModProductLayoutCall00Carry120\n rw [mulModProductLayoutCall00Carry112_zero]\n exact mulModCarryStepCarry_zero_zer... | [
{
"name": "mulModProductLayoutColumn4Value_eq_expandedValue",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 32,
"n_lines": 8,
"n_chars": 377,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 3,
"n_structural": 0,
"automat... | 32 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -165,8 +165,17 @@
rw [mulModProductLayoutCall01Carry112_zero, mulModProductLayoutCall00P120_zero]
rfl
+theorem mulModProductLayoutCall00Carry120_zero (a b : EvmWord) :
+ mulModProductLayoutCall00Carry120 a b = 0 := by
+ unfold mulModProductLayoutCall00Carry120
+ rw [mulModProductLayoutCall00Carry112_zer... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_49 | 414c4c1c62db4831 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 49 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall07P120_eq_add",
"text": "theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall07P120 a b =\n mulModProductLayoutCall06P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutColumn4ExpandedValue_eq_lowFeedValue",
"fan_in": 1,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 13,
"n_chars": 571,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 6,
"n_structural": 0,
"... | 4 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -30,6 +30,13 @@
unfold mulModProductLayoutCall06P120 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall07P120 a b =
+ mulModProductLayoutCall06P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by
+ unf... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_50 | 46b5d2d33b2a29aa | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 50 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_layoutCarryChain",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only\n rw [mulModProductLayoutCall09P120_eq_expanded_lowCarries]\n rw [mulModProdu... | [
{
"name": "mulModProductLayoutCall02P120_eq_expanded",
"text": "theorem mulModProductLayoutCall02P120_eq_expanded (a b : EvmWord) :\n mulModProductLayoutCall02P120 a b =\n if BitVec.ult\n ((rv64_mulhu (a.getLimbN 0) (b.getLimbN 1) +\n (if BitVec.ult (rv64_mulhu (a.getLimbN 0) (... | [
{
"name": "mulModProductLayoutColumn4LowFeedValue_eq_limb3FeedValue",
"fan_in": 1,
"n_deps_direct": 6,
"n_deps_transitive": 37,
"n_lines": 15,
"n_chars": 672,
"n_subproofs": 0,
"n_tactics": 11,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 8,
"n_structural": 0,
... | 37 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -234,6 +234,43 @@
rw [mulModProductLayoutCall01P120_zero]
simp
+theorem mulModProductLayoutCall02P120_eq_expanded (a b : EvmWord) :
+ mulModProductLayoutCall02P120 a b =
+ if BitVec.ult
+ ((rv64_mulhu (a.getLimbN 0) (b.getLimbN 1) +
+ (if BitVec.ult (rv64_mulhu (a.getLimbN 0) (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_ea76f6f49464_51 | 16343ad4824c4b48 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 51 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall04P120_eq_add",
"text": "theorem mulModProductLayoutCall04P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall04P120 a b =\n mulModProductLayoutCall03P120 a b +\n (mulModAddPartialHiProduct (a.getLimbN 1) (b.getLimbN 1) +\n mulModAddPartialLoCarry... | [
{
"name": "mulModProductLayoutColumn4PrefixFeedValue_eq_call04FeedValue",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 454,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 3,
"n_structural": 0,
... | 1 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -14,6 +14,15 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+theorem mulModProductLayoutCall04P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall04P120 a b =
+ mulModProductLayoutCall03P120 a b +
+ (mulModAddPartialHiProduct (a.getLimbN 1) (b.getLimbN 1) +
+ mulModAddPart... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_52 | 6d85a736dc66249a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 52 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall03P120_eq_add",
"text": "theorem mulModProductLayoutCall03P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall03P120 a b =\n mulModProductLayoutCall02P120 a b +\n (mulModAddPartialHiProduct (a.getLimbN 2) (b.getLimbN 0) +\n mulModAddPartialLoCarry... | [
{
"name": "mulModProductLayoutColumn4Call04FeedValue_eq_call03FeedValue",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 454,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 3,
"n_structural": 0,
... | 1 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -14,6 +14,15 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+theorem mulModProductLayoutCall03P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall03P120 a b =
+ mulModProductLayoutCall02P120 a b +
+ (mulModAddPartialHiProduct (a.getLimbN 2) (b.getLimbN 0) +
+ mulModAddPart... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_53 | 2017b76126daa671 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 53 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutCall00P128_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall00P128 mulModCarryStepValue\n rw [mulModProductLayoutCall00Carry120_zero]... | [
{
"name": "mulModProductLayoutCall00Carry120_zero",
"text": "theorem mulModProductLayoutCall00Carry120_zero (a b : EvmWord) :\n mulModProductLayoutCall00Carry120 a b = 0 := by\n unfold mulModProductLayoutCall00Carry120\n rw [mulModProductLayoutCall00Carry112_zero]\n exact mulModCarryStepCarry_zero_zer... | [
{
"name": "mulModProductLayoutColumn4Value_eq_productLimb_four_of_expandedValue",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 33,
"n_lines": 7,
"n_chars": 307,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structur... | 33 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -165,8 +165,17 @@
rw [mulModProductLayoutCall01Carry112_zero, mulModProductLayoutCall00P120_zero]
rfl
+theorem mulModProductLayoutCall00Carry120_zero (a b : EvmWord) :
+ mulModProductLayoutCall00Carry120 a b = 0 := by
+ unfold mulModProductLayoutCall00Carry120
+ rw [mulModProductLayoutCall00Carry112_zer... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_54 | f242f3ae941ea6e7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 54 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutCall02P128_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall02P128 mulModCarryStepValue\n rw [mulModProductLayoutCall02Carry120_zero,... | [
{
"name": "mulModProductLayoutCall01P128_zero",
"text": "theorem mulModProductLayoutCall01P128_zero (a b : EvmWord) :\n mulModProductLayoutCall01P128 a b = 0 := by\n unfold mulModProductLayoutCall01P128 mulModCarryStepValue\n rw [mulModProductLayoutCall01Carry120_zero, mulModProductLayoutCall00P128_zer... | [
{
"name": "mulModProductLayoutColumn4Value_eq_mulHigh_getLimbN_zero_of_expandedValue",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 35,
"n_lines": 8,
"n_chars": 430,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_str... | 35 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -183,6 +183,12 @@
rw [mulModProductLayoutCall01Carry112_zero, mulModProductLayoutCall00P120_zero]
exact mulModCarryStepCarry_zero_zero
+theorem mulModProductLayoutCall01P128_zero (a b : EvmWord) :
+ mulModProductLayoutCall01P128 a b = 0 := by
+ unfold mulModProductLayoutCall01P128 mulModCarryStepValue
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_55 | aeb8a96711870579 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 55 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall02Carry120_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold mulModProductLayoutCall02Carry120\n rw [mulModProductLayoutCall01P120_zero]\n rw [mulModPr... | [
{
"name": "mulModProductLayoutCall02Carry112_eq_singleCarry_right",
"text": "theorem mulModProductLayoutCall02Carry112_eq_singleCarry_right (a b : EvmWord) :\n mulModProductLayoutCall02Carry112 a b =\n if BitVec.ult ((mulModAddPartialHiProduct (a.getLimbN 0) (b.getLimbN 1) +\n mulModAddPa... | [
{
"name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_expandedValue",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 37,
"n_lines": 8,
"n_chars": 425,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struc... | 37 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -189,8 +189,32 @@
rw [mulModProductLayoutCall01Carry120_zero, mulModProductLayoutCall00P128_zero]
rfl
+theorem mulModProductLayoutCall02Carry112_eq_singleCarry_right (a b : EvmWord) :
+ mulModProductLayoutCall02Carry112 a b =
+ if BitVec.ult ((mulModAddPartialHiProduct (a.getLimbN 0) (b.getLimbN 1) +... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_56 | 3a7d8fd1c7045dcc | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 56 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall07P120_eq_add",
"text": "theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall07P120 a b =\n mulModProductLayoutCall06P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutColumn4ExpandedValue_eq_productLimb_four_of_lowFeedValue",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 5,
"n_lines": 7,
"n_chars": 328,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_st... | 5 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -30,6 +30,13 @@
unfold mulModProductLayoutCall06P120 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall07P120 a b =
+ mulModProductLayoutCall06P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by
+ unf... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_57 | 10c66d6573945866 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 57 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall06P120_eq_add",
"text": "theorem mulModProductLayoutCall06P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall06P120 a b =\n mulModProductLayoutCall05P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 3) (b.getLimbN 0) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutColumn4Value_eq_productLimb_four_of_lowFeedValue",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 40,
"n_lines": 8,
"n_chars": 407,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structura... | 40 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -231,6 +231,13 @@
unfold mulModProductLayoutCall05P120 mulModAddPartialHiValue mulModAddPartialHiBaseValue
ac_rfl
+theorem mulModProductLayoutCall06P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall06P120 a b =
+ mulModProductLayoutCall05P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_58 | bd4d87ea20ab3d90 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 58 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall07P120_eq_add",
"text": "theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall07P120 a b =\n mulModProductLayoutCall06P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_lowFeedValue",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 44,
"n_lines": 8,
"n_chars": 426,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 44 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -238,6 +238,13 @@
unfold mulModProductLayoutCall06P120 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall07P120 a b =
+ mulModProductLayoutCall06P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by
+ u... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_59 | 36384eb53b3c33fd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 59 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutCall03P112_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall03P112_eq_add]\n rw [mulModProductLayoutCall02P112_eq_expanded]\n si... | [
{
"name": "mulModProductLayoutCall03P112_eq_add",
"text": "theorem mulModProductLayoutCall03P112_eq_add (a b : EvmWord) :\n mulModProductLayoutCall03P112 a b =\n mulModProductLayoutCall02P112 a b +\n mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 0) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutColumn4LowFeedValue_eq_productLimb_four_of_limb3FeedValue",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 38,
"n_lines": 7,
"n_chars": 331,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_... | 38 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -271,6 +271,13 @@
mulModAddPartialHiBaseValue, mulModAddPartialLoCarry, mulModCarryStepValue,
BitVec.ult]
+theorem mulModProductLayoutCall03P112_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall03P112 a b =
+ mulModProductLayoutCall02P112 a b +
+ mulModAddPartialLoProduct (a.getLimbN 2) (... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_60 | 60752496a0ba3888 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 60 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall04P112_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall04P112_eq_add]\n rw [mulModProductLayoutCall03P112_eq_expanded]\n si... | [
{
"name": "mulModProductLayoutCall03P112_eq_expanded",
"text": "theorem mulModProductLayoutCall03P112_eq_expanded (a b : EvmWord) :\n mulModProductLayoutCall03P112 a b =\n rv64_mulhu (a.getLimbN 0) (b.getLimbN 1) +\n rv64_mulhu (a.getLimbN 1) (b.getLimbN 0) +\n (if BitVec.ult (rv64_mul... | [
{
"name": "mulModProductLayoutColumn4ExpandedValue_eq_productLimb_four_of_limb3FeedValue",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 41,
"n_lines": 8,
"n_chars": 435,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n... | 41 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -285,6 +285,26 @@
unfold mulModProductLayoutCall04P112 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall03P112_eq_expanded (a b : EvmWord) :
+ mulModProductLayoutCall03P112 a b =
+ rv64_mulhu (a.getLimbN 0) (b.getLimbN 1) +
+ rv64_mulhu (a.getLimbN 1) (b.getLimbN 0) +
+ (i... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_61 | da609d58205c7a2d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 61 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall06P120_eq_add",
"text": "theorem mulModProductLayoutCall06P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall06P120 a b =\n mulModProductLayoutCall05P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 3) (b.getLimbN 0) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_limb3FeedValue",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 64,
"n_lines": 8,
"n_chars": 430,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_stru... | 64 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -396,6 +396,13 @@
unfold mulModProductLayoutCall05P120 mulModAddPartialHiValue mulModAddPartialHiBaseValue
ac_rfl
+theorem mulModProductLayoutCall06P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall06P120 a b =
+ mulModProductLayoutCall05P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_62 | 6d827465cbef608c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 62 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 1 | [
{
"theorem_name": "mulModProductLayoutColumn4Limb3FeedValue_eq_productLimb_four_of_prefixFeedValue",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutColumn4Limb3FeedValue_eq_prefixFeedV... | [
{
"name": "mulModProductLayoutColumn4Limb3FeedValue_eq_prefixFeedValue",
"text": "theorem mulModProductLayoutColumn4Limb3FeedValue_eq_prefixFeedValue (a b : EvmWord) :\n mulModProductLayoutColumn4Limb3FeedValue a b =\n mulModProductLayoutColumn4PrefixFeedValue a b := by\n unfold mulModProductLayout... | [
{
"name": "mulModProductLayoutColumn4Limb3FeedValue_eq_productLimb_four_of_prefixFeedValue",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 340,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"... | 1 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -258,10 +258,18 @@
a.getLimbN 2 * b.getLimbN 2 +
a.getLimbN 1 * b.getLimbN 3
+theorem mulModProductLayoutColumn4Limb3FeedValue_eq_prefixFeedValue (a b : EvmWord) :
+ mulModProductLayoutColumn4Limb3FeedValue a b =
+ mulModProductLayoutColumn4PrefixFeedValue a b := by
+ unfold 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_ea76f6f49464_63 | 20db381a3b330d39 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 63 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall04P112_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall04P112_eq_add]\n rw [mulModProductLayoutCall03P112_eq_expanded]\n si... | [
{
"name": "mulModProductLayoutCall03P112_eq_expanded",
"text": "theorem mulModProductLayoutCall03P112_eq_expanded (a b : EvmWord) :\n mulModProductLayoutCall03P112 a b =\n rv64_mulhu (a.getLimbN 0) (b.getLimbN 1) +\n rv64_mulhu (a.getLimbN 1) (b.getLimbN 0) +\n (if BitVec.ult (rv64_mul... | [
{
"name": "mulModProductLayoutColumn4LowFeedValue_eq_productLimb_four_of_prefixFeedValue",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 41,
"n_lines": 8,
"n_chars": 439,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n... | 41 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -285,6 +285,26 @@
unfold mulModProductLayoutCall04P112 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall03P112_eq_expanded (a b : EvmWord) :
+ mulModProductLayoutCall03P112 a b =
+ rv64_mulhu (a.getLimbN 0) (b.getLimbN 1) +
+ rv64_mulhu (a.getLimbN 1) (b.getLimbN 0) +
+ (i... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_64 | ca76f01b112b8586 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 64 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall07P120_eq_add",
"text": "theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall07P120 a b =\n mulModProductLayoutCall06P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_prefixFeedValue",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 67,
"n_lines": 8,
"n_chars": 437,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_str... | 67 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -403,6 +403,13 @@
unfold mulModProductLayoutCall06P120 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall07P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall07P120 a b =
+ mulModProductLayoutCall06P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN 2) (b.getLimbN 1) := by
+ u... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_65 | ca7bf4604abaa0f1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 65 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall04P120_eq_add",
"text": "theorem mulModProductLayoutCall04P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall04P120 a b =\n mulModProductLayoutCall03P120 a b +\n (mulModAddPartialHiProduct (a.getLimbN 1) (b.getLimbN 1) +\n mulModAddPartialLoCarry... | [
{
"name": "mulModProductLayoutColumn4PrefixFeedValue_eq_productLimb_four_of_call04FeedValue",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 343,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
... | 2 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -14,6 +14,15 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+theorem mulModProductLayoutCall04P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall04P120 a b =
+ mulModProductLayoutCall03P120 a b +
+ (mulModAddPartialHiProduct (a.getLimbN 1) (b.getLimbN 1) +
+ mulModAddPart... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_66 | 253422413d9b8b03 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 66 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutColumn4LowFeedValue_eq_productLimb_four_of_prefixFeedValue",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact mulModProductLayoutColumn4LowFeedValue_eq_productLimb_f... | [
{
"name": "mulModProductLayoutColumn4Limb3FeedValue_eq_productLimb_four_of_prefixFeedValue",
"text": "theorem mulModProductLayoutColumn4Limb3FeedValue_eq_productLimb_four_of_prefixFeedValue\n {a b : EvmWord}\n (h_col : mulModProductLayoutColumn4PrefixFeedValue a b = productLimb a b 4) :\n mulModPro... | [
{
"name": "mulModProductLayoutColumn4Limb3FeedValue_eq_productLimb_four_of_call04FeedValue",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 5,
"n_lines": 8,
"n_chars": 447,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"... | 5 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -283,6 +283,12 @@
mulModAddPartialLoProduct
rfl
+theorem mulModProductLayoutColumn4Limb3FeedValue_eq_productLimb_four_of_prefixFeedValue
+ {a b : EvmWord}
+ (h_col : mulModProductLayoutColumn4PrefixFeedValue a b = productLimb a b 4) :
+ mulModProductLayoutColumn4Limb3FeedValue a b = productLimb 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_ea76f6f49464_67 | 294c8138a0bfe284 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 67 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall08P120_eq_add",
"text": "theorem mulModProductLayoutCall08P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall08P120 a b =\n mulModProductLayoutCall07P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 1) (b.getLimbN 2) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_call04FeedValue",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 70,
"n_lines": 8,
"n_chars": 439,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_str... | 70 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -410,6 +410,13 @@
unfold mulModProductLayoutCall07P120 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall08P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall08P120 a b =
+ mulModProductLayoutCall07P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN 1) (b.getLimbN 2) := by
+ u... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_68 | 7eb62f9e73ecb4bf | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 68 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall03P120_eq_add",
"text": "theorem mulModProductLayoutCall03P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall03P120 a b =\n mulModProductLayoutCall02P120 a b +\n (mulModAddPartialHiProduct (a.getLimbN 2) (b.getLimbN 0) +\n mulModAddPartialLoCarry... | [
{
"name": "mulModProductLayoutColumn4Call04FeedValue_eq_productLimb_four_of_call03FeedValue",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 343,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
... | 2 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -14,6 +14,15 @@
open EvmAsm.Rv64
open EvmAsm.Evm64.MulMod.ProductAlgebra
+theorem mulModProductLayoutCall03P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall03P120 a b =
+ mulModProductLayoutCall02P120 a b +
+ (mulModAddPartialHiProduct (a.getLimbN 2) (b.getLimbN 0) +
+ mulModAddPart... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_69 | e8f8d93967b34ee7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 69 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 3 | [
{
"theorem_name": "mulModProductLayoutColumn4Limb3FeedValue_eq_productLimb_four_of_call04FeedValue",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact mulModProductLayoutColumn4Limb3FeedValue_eq_productLi... | [
{
"name": "mulModProductLayoutColumn4PrefixFeedValue_eq_productLimb_four_of_call04FeedValue",
"text": "theorem mulModProductLayoutColumn4PrefixFeedValue_eq_productLimb_four_of_call04FeedValue\n {a b : EvmWord}\n (h_col : mulModProductLayoutColumn4Call04FeedValue a b = productLimb a b 4) :\n mulModP... | [
{
"name": "mulModProductLayoutColumn4PrefixFeedValue_eq_productLimb_four_of_call03FeedValue",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 6,
"n_lines": 8,
"n_chars": 450,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
... | 6 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -294,6 +294,12 @@
mulModAddPartialLoProduct
rfl
+theorem mulModProductLayoutColumn4PrefixFeedValue_eq_productLimb_four_of_call04FeedValue
+ {a b : EvmWord}
+ (h_col : mulModProductLayoutColumn4Call04FeedValue a b = productLimb a b 4) :
+ mulModProductLayoutColumn4PrefixFeedValue a b = productLimb ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_ea76f6f49464_70 | dc44243114272174 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/MulMod/ProductLayoutPublicAlgebra.lean | ProductLayoutPublicAlgebra | 70 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 75 | 2 | [
{
"theorem_name": "mulModProductLayoutCall09P120_eq_expanded",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [mulModProductLayoutCall09P120_eq_add]\n rw [mulModProductLayoutCall08P120_eq_add]\n rw [mul... | [
{
"name": "mulModProductLayoutCall09P120_eq_add",
"text": "theorem mulModProductLayoutCall09P120_eq_add (a b : EvmWord) :\n mulModProductLayoutCall09P120 a b =\n mulModProductLayoutCall08P120 a b +\n mulModAddPartialLoProduct (a.getLimbN 0) (b.getLimbN 3) := by\n unfold mulModProductLayoutCa... | [
{
"name": "mulModProductLayoutCall12P128_eq_mulHigh_getLimbN_zero_of_call03FeedValue",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 73,
"n_lines": 8,
"n_chars": 439,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_str... | 73 | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | /-
EvmAsm.Evm64.MulMod.ProductLayoutPublicAlgebra
Algebra bridges from the concrete product-layout aliases to the public
low-limb postcondition cells.
-/
import EvmAsm.Evm64.MulMod.ProductLayoutCall15
import EvmAsm.Evm64.MulMod.ProductLayoutCarryChain
import EvmAsm.Evm64.MulMod.ProductAlgebra
namespace EvmAsm.... | @@ -417,6 +417,13 @@
unfold mulModProductLayoutCall08P120 mulModAddPartialLoValue
ac_rfl
+theorem mulModProductLayoutCall09P120_eq_add (a b : EvmWord) :
+ mulModProductLayoutCall09P120 a b =
+ mulModProductLayoutCall08P120 a b +
+ mulModAddPartialLoProduct (a.getLimbN 0) (b.getLimbN 3) := by
+ u... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_4c6d1b31e5e1_0 | f667fbc755b8d5cf | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N3V5Shift0Quotient.lean | N3V5Shift0Quotient | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "n3_shift0_quotient_word_eq_div",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h0 : (0:Word).toNat = 0 := rfl\n have hbnz : b0 ||| b1 ||| b2 ||| (0:Word) ≠ 0 := by\n intro h\n ... | [
{
"name": "n3_shift0_acc_quot",
"text": "/-- **v5 n=3 accumulated quotient correctness (shift=0).** The two v5 n=3 digits\n over the raw 3-limb divisor combine to `val256 a / val256 b`. -/\ntheorem n3_shift0_acc_quot\n (a0 a1 a2 a3 b0 b1 b2 : Word) (hb2 : b2.toNat ≥ 2^63) (bltu_1 bltu_0 : Bool)\n (... | [
{
"name": "n3_shift0_quotient_word_eq_div",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 39,
"n_chars": 1999,
"n_subproofs": 6,
"n_tactics": 20,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 2,
"n_structural": 2,
"automation_only": false... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.N3V5Shift0Quotient
**v5 n=3 accumulated quotient correctness for the shift=0 path.**
When the divisor's top limb `b2` is already normalized (`b2 ≥ 2^63`, i.e.
`clz b2 = 0`), the algorithm skips normalization and runs the schoolbook
directly on the RAW divisor `(b0,b1,b2,0)` and th... | /-
EvmAsm.Evm64.DivMod.Spec.N3V5Shift0Quotient
**v5 n=3 accumulated quotient correctness for the shift=0 path.**
When the divisor's top limb `b2` is already normalized (`b2 ≥ 2^63`, i.e.
`clz b2 = 0`), the algorithm skips normalization and runs the schoolbook
directly on the RAW divisor `(b0,b1,b2,0)` and th... | @@ -21,6 +21,56 @@
open EvmWord EvmAsm.Rv64
+/-- **v5 n=3 accumulated quotient correctness (shift=0).** The two v5 n=3 digits
+ over the raw 3-limb divisor combine to `val256 a / val256 b`. -/
+theorem n3_shift0_acc_quot
+ (a0 a1 a2 a3 b0 b1 b2 : Word) (hb2 : b2.toNat ≥ 2^63) (bltu_1 bltu_0 : Bool)
+ (hc1... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b3817bdba699_0 | e133060bd5a6bc91 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/ControlFlow.lean | ControlFlow | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "jalr_x0_spec_gen_within",
"depth": 1,
"n_commands": 0,
"n_lines": 14,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro R hR s hcr hPR hpc; subst hpc\n have hfetch : s.code s.pc = some (.JALR .x0 rs1 offset) :=\n CodeReq.sin... | [
{
"name": "execInstrBr_jalr_x0",
"text": "theorem execInstrBr_jalr_x0 (s : MachineState) (rs1 : Reg) (off : BitVec 12) :\n execInstrBr s (Instr.JALR .x0 rs1 off) = s.setPC ((s.getReg rs1 + signExtend12 off) &&& ~~~1) := by\n simp [execInstrBr, MachineState.setReg, MachineState.setPC]\n\n",
"fan_in":... | [
{
"name": "jalr_x0_spec_gen_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 22,
"n_chars": 1108,
"n_subproofs": 4,
"n_tactics": 16,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 4,
"n_structural": 3,
"automation_only": false,
"... | 1 | /-
EvmAsm.Rv64.ControlFlow
Control flow macros using branch and jump instructions, with CPS-style
specifications. (64-bit RISC-V port)
This module provides:
- if_eq: a conditional macro (if rs1 = rs2 then ... else ...)
- CPS specifications for the macro
- Concrete examples verified by decide
-/
-- `Ge... | /-
EvmAsm.Rv64.ControlFlow
Control flow macros using branch and jump instructions, with CPS-style
specifications. (64-bit RISC-V port)
This module provides:
- if_eq: a conditional macro (if rs1 = rs2 then ... else ...)
- CPS specifications for the macro
- Concrete examples verified by decide
-/
-- `Ge... | @@ -129,6 +129,10 @@
generic_nop_spec_within (.JAL .x0 offset)
(by intro s hpc; simp [execInstrBr, MachineState.setReg, hpc])
(by intro s hfetch; exact step_non_ecall_non_mem hfetch (by nofun) (by nofun) (by rfl))
+theorem execInstrBr_jalr_x0 (s : MachineState) (rs1 : Reg) (off : BitVec 12) :
+ execInst... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b3817bdba699_1 | cdbc2fb9a0c59c7d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/ControlFlow.lean | ControlFlow | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "if_eq_branch_step_within",
"depth": 1,
"n_commands": 0,
"n_lines": 55,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only\n intro R hR s _hcr hPR hpc; subst hpc\n -- Extract instrAt from the precondition\n have hfetch : s.... | [
{
"name": "signExtend13_ofNat_small",
"text": "/-- Sign-extend a small 13-bit value (MSB clear) to 64 bits. -/\ntheorem signExtend13_ofNat_small {n : Nat} (h : n < 2^12) :\n signExtend13 (BitVec.ofNat 13 n) = BitVec.ofNat 64 n := by\n unfold signExtend13\n rw [BitVec.signExtend_eq_setWidth_of_msb_false... | [
{
"name": "if_eq_branch_step_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 68,
"n_chars": 4557,
"n_subproofs": 14,
"n_tactics": 52,
"cyclomatic": 1,
"n_automation": 8,
"n_rewrites": 6,
"n_structural": 8,
"automation_only": false,
... | 2 | /-
EvmAsm.Rv64.ControlFlow
Control flow macros using branch and jump instructions, with CPS-style
specifications. (64-bit RISC-V port)
This module provides:
- if_eq: a conditional macro (if rs1 = rs2 then ... else ...)
- CPS specifications for the macro
- Concrete examples verified by decide
-/
-- `Ge... | /-
EvmAsm.Rv64.ControlFlow
Control flow macros using branch and jump instructions, with CPS-style
specifications. (64-bit RISC-V port)
This module provides:
- if_eq: a conditional macro (if rs1 = rs2 then ... else ...)
- CPS specifications for the macro
- Concrete examples verified by decide
-/
-- `Ge... | @@ -119,6 +119,14 @@
example : (runIfEqArith 10 3 2).bind (fun s => some (s.getReg .x12)) = some 7 := by
decide
+/-- Sign-extend a small 13-bit value (MSB clear) to 64 bits. -/
+theorem signExtend13_ofNat_small {n : Nat} (h : n < 2^12) :
+ signExtend13 (BitVec.ofNat 13 n) = BitVec.ofNat 64 n := by
+ unfold 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_b3817bdba699_2 | 2a2213ee5710acbd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/ControlFlow.lean | ControlFlow | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "if_eq_branch_step_within",
"depth": 1,
"n_commands": 0,
"n_lines": 55,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only\n intro R hR s _hcr hPR hpc; subst hpc\n -- Extract instrAt from the precondition\n have hfetch : s.... | [
{
"name": "signExtend13_ofNat_small",
"text": "/-- Sign-extend a small 13-bit value (MSB clear) to 64 bits. -/\ntheorem signExtend13_ofNat_small {n : Nat} (h : n < 2^12) :\n signExtend13 (BitVec.ofNat 13 n) = BitVec.ofNat 64 n := by\n unfold signExtend13\n rw [BitVec.signExtend_eq_setWidth_of_msb_false... | [
{
"name": "if_eq_branch_step_n_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 30,
"n_chars": 1638,
"n_subproofs": 1,
"n_tactics": 17,
"cyclomatic": 2,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 5,
"automation_only": false,
... | 3 | /-
EvmAsm.Rv64.ControlFlow
Control flow macros using branch and jump instructions, with CPS-style
specifications. (64-bit RISC-V port)
This module provides:
- if_eq: a conditional macro (if rs1 = rs2 then ... else ...)
- CPS specifications for the macro
- Concrete examples verified by decide
-/
-- `Ge... | /-
EvmAsm.Rv64.ControlFlow
Control flow macros using branch and jump instructions, with CPS-style
specifications. (64-bit RISC-V port)
This module provides:
- if_eq: a conditional macro (if rs1 = rs2 then ... else ...)
- CPS specifications for the macro
- Concrete examples verified by decide
-/
-- `Ge... | @@ -119,6 +119,14 @@
example : (runIfEqArith 10 3 2).bind (fun s => some (s.getReg .x12)) = some 7 := by
decide
+/-- Sign-extend a small 13-bit value (MSB clear) to 64 bits. -/
+theorem signExtend13_ofNat_small {n : Nat} (h : n < 2^12) :
+ signExtend13 (BitVec.ofNat 13 n) = BitVec.ofNat 64 n := by
+ unfold 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_e72154a7b5db_0 | 8e15feb047164634 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 1 | [
{
"theorem_name": "beBytesToNat_append",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n unfold beBytesToNat\n rw [List.foldl_append, foldl_be' b]",
"n_chars": 63,
"n_subproofs": 0,
"n_tactics": ... | [
{
"name": "foldl_be'",
"text": "/-- Generalized-accumulator unfolding of the `beBytesToNat` foldl (local copy\n of the private `Secp256k1FieldConvSAsm.foldl_be'`). -/\nprivate theorem foldl_be' (bs : List (BitVec 8)) (acc : Nat) :\n List.foldl (fun a (b : BitVec 8) => a * 256 + b.toNat) acc bs\n ... | [
{
"name": "beBytesToNat_append",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 250,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 0,
"automation_only": false,
"max_nes... | 1 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -148,9 +148,27 @@
-- Byte-list bridge (inverse of `leLimbs_chunks_eq_beBytesToNat`)
-- ============================================================================
+/-- Generalized-accumulator unfolding of the `beBytesToNat` foldl (local copy
+ of the private `Secp256k1FieldConvSAsm.foldl_be'`). -/
+private 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_e72154a7b5db_1 | a512d9ab1ddb10d4 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 1 | [
{
"theorem_name": "beBytesToNat_beBlocks",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [beBytesToNat_append, beBytesToNat_append, beBytesToNat_append,\n beBytesToNat_beBytesOfLimb, beBytesToNat_beBy... | [
{
"name": "beBytesToNat_append",
"text": "/-- Big-endian value of a concatenation. -/\nprivate theorem beBytesToNat_append (a b : List (BitVec 8)) :\n beBytesToNat (a ++ b) = beBytesToNat a * 256 ^ b.length + beBytesToNat b := by\n unfold beBytesToNat\n rw [List.foldl_append, foldl_be' b]\n\n",
"fa... | [
{
"name": "beBytesToNat_beBlocks",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 4,
"n_lines": 18,
"n_chars": 912,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
"max_... | 3 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -164,6 +164,12 @@
simp only [Nat.zero_mul, Nat.zero_add, Nat.add_mul]
omega
+/-- Big-endian value of a concatenation. -/
+private theorem beBytesToNat_append (a b : List (BitVec 8)) :
+ beBytesToNat (a ++ b) = beBytesToNat a * 256 ^ b.length + beBytesToNat b := by
+ unfold beBytesToNat
+ rw [List.fo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e72154a7b5db_2 | 6965db73eba872d1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 2 | [
{
"theorem_name": "setup_exec",
"depth": 1,
"n_commands": 0,
"n_lines": 48,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hX : (BitVec.ofNat 64 k <<< (3 : BitVec 6).toNat) = BitVec.ofNat 64 (8 * k) := by\n interval_cases k <;> decide\n have... | [
{
"name": "src_dword_miss",
"text": "/-- A read-only dword at `src + 8k` misses the disjoint 32-byte writable\n window. -/\nprivate theorem src_dword_miss (src dst : Word) (ws : List (BitVec 8)) (k : Nat)\n (hk : k < 4) (hws : ws.length = 32) (hfr : frameOk src dst) :\n ¬ inRw dst ws (src + BitVec.... | [
{
"name": "setup_exec",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 65,
"n_chars": 3823,
"n_subproofs": 5,
"n_tactics": 58,
"cyclomatic": 3,
"n_automation": 16,
"n_rewrites": 16,
"n_structural": 4,
"automation_only": false,
"max_nesting... | 2 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -169,6 +169,14 @@
= (rf.set rd (reg.dwordAt (rf.get rs1 + signExtend12 ofs)), ws) := by
unfold execInstrRF; dsimp only [aluSem, loadSem]; rw [if_neg h]
+/-- A read-only dword at `src + 8k` misses the disjoint 32-byte writable
+ window. -/
+private theorem src_dword_miss (src dst : Word) (ws : List (Bi... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e72154a7b5db_3 | fc96b1468d4caf9a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 2 | [
{
"theorem_name": "setup_exec",
"depth": 1,
"n_commands": 0,
"n_lines": 48,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hX : (BitVec.ofNat 64 k <<< (3 : BitVec 6).toNat) = BitVec.ofNat 64 (8 * k) := by\n interval_cases k <;> decide\n have... | [
{
"name": "src_dword_miss",
"text": "/-- A read-only dword at `src + 8k` misses the disjoint 32-byte writable\n window. -/\nprivate theorem src_dword_miss (src dst : Word) (ws : List (BitVec 8)) (k : Nat)\n (hk : k < 4) (hws : ws.length = 32) (hfr : frameOk src dst) :\n ¬ inRw dst ws (src + BitVec.... | [
{
"name": "snap_facts",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 42,
"n_chars": 2512,
"n_subproofs": 6,
"n_tactics": 22,
"cyclomatic": 2,
"n_automation": 11,
"n_rewrites": 0,
"n_structural": 11,
"automation_only": false,
"max_nesting... | 3 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -169,6 +169,14 @@
= (rf.set rd (reg.dwordAt (rf.get rs1 + signExtend12 ofs)), ws) := by
unfold execInstrRF; dsimp only [aluSem, loadSem]; rw [if_neg h]
+/-- A read-only dword at `src + 8k` misses the disjoint 32-byte writable
+ window. -/
+private theorem src_dword_miss (src dst : Word) (ws : List (Bi... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e72154a7b5db_4 | 6ea9e599e6be79d1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 2 | [
{
"theorem_name": "storeByte_eq",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [and255_trunc, BitVec.toNat_ofNat, ofNat8_mod]; rfl",
"n_chars": 60,
"n_subproofs": 0,
"n_tactics": 3,
"cyc... | [
{
"name": "and255_trunc",
"text": "/-- `w &&& 0xff`, truncated to a byte, is the low byte of `w`. -/\nprivate theorem and255_trunc (w : Word) :\n (w &&& (255 : Word)).truncate 8 = BitVec.ofNat 8 w.toNat := by\n apply BitVec.eq_of_toNat_eq\n simp only [BitVec.toNat_setWidth, BitVec.toNat_and, BitVec.toN... | [
{
"name": "storeByte_eq",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 7,
"n_chars": 303,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
"max_nesting": ... | 2 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -161,6 +161,14 @@
private def bumpInstrs : List Instr :=
[.ADDI .x5 .x5 (1 : BitVec 12), .LI .x6 (4 : Word)]
+/-- `w &&& 0xff`, truncated to a byte, is the low byte of `w`. -/
+private theorem and255_trunc (w : Word) :
+ (w &&& (255 : Word)).truncate 8 = BitVec.ofNat 8 w.toNat := by
+ apply BitVec.eq_of_to... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e72154a7b5db_5 | 219714858b2094a0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 2 | [
{
"theorem_name": "inner_step_engine",
"depth": 1,
"n_commands": 0,
"n_lines": 55,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨hp29, hp28, hp6, hp5, hp10, hp11, hpws, hpfr, hpbytes, hpframe, hpA⟩ := hInv\n rw [hkeq] at hpbytes hpframe\n ... | [
{
"name": "inner_body_exec",
"text": "/-- One inner body run: store the low byte of `x28` at the current\n destination offset `off`, shift `x28` right one byte, step the pointers. -/\nprivate theorem inner_body_exec (src dst : Word) (inBytes ws : List (BitVec 8))\n (rf : RegFile) (off : Nat) (hoff : o... | [
{
"name": "inner_step_engine",
"fan_in": 1,
"n_deps_direct": 4,
"n_deps_transitive": 6,
"n_lines": 71,
"n_chars": 3401,
"n_subproofs": 8,
"n_tactics": 62,
"cyclomatic": 1,
"n_automation": 21,
"n_rewrites": 24,
"n_structural": 11,
"automation_only": false,
"max... | 6 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -175,6 +175,42 @@
rw [BitVec.toNat_ofNat, BitVec.toNat_ofNat]
omega
+/-- One inner body run: store the low byte of `x28` at the current
+ destination offset `off`, shift `x28` right one byte, step the pointers. -/
+private theorem inner_body_exec (src dst : Word) (inBytes ws : List (BitVec 8))
+ (rf : ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e72154a7b5db_6 | 4c87a2c4f6a1766d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 1 | [
{
"theorem_name": "bump_exec",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only [bumpInstrs, execBlock_cons, execBlock_nil, execInstrRF, aluSem,\n RegFile.get_set_self, RegFile.get_set_ne, ne_eq, ... | [
{
"name": "ofNat_succ'",
"text": "/-- `ofNat` successor. -/\nprivate theorem ofNat_succ' (a : Nat) :\n BitVec.ofNat 64 a + (1 : Word) = BitVec.ofNat 64 (a + 1) := by\n apply BitVec.eq_of_toNat_eq\n rw [BitVec.toNat_add, BitVec.toNat_ofNat, BitVec.toNat_ofNat,\n show ((1 : Word)).toNat = 1 from rfl]\... | [
{
"name": "bump_exec",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 17,
"n_chars": 914,
"n_subproofs": 0,
"n_tactics": 10,
"cyclomatic": 3,
"n_automation": 4,
"n_rewrites": 2,
"n_structural": 2,
"automation_only": false,
"max_nesting": 6... | 1 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -161,6 +161,14 @@
private def bumpInstrs : List Instr :=
[.ADDI .x5 .x5 (1 : BitVec 12), .LI .x6 (4 : Word)]
+/-- `ofNat` successor. -/
+private theorem ofNat_succ' (a : Nat) :
+ BitVec.ofNat 64 a + (1 : Word) = BitVec.ofNat 64 (a + 1) := by
+ apply BitVec.eq_of_toNat_eq
+ rw [BitVec.toNat_add, BitVec.toN... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e72154a7b5db_7 | 756afad5927c5681 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 2 | [
{
"theorem_name": "setup_exec",
"depth": 1,
"n_commands": 0,
"n_lines": 48,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hX : (BitVec.ofNat 64 k <<< (3 : BitVec 6).toNat) = BitVec.ofNat 64 (8 * k) := by\n interval_cases k <;> decide\n have... | [
{
"name": "src_dword_miss",
"text": "/-- A read-only dword at `src + 8k` misses the disjoint 32-byte writable\n window. -/\nprivate theorem src_dword_miss (src dst : Word) (ws : List (BitVec 8)) (k : Nat)\n (hk : k < 4) (hws : ws.length = 32) (hfr : frameOk src dst) :\n ¬ inRw dst ws (src + BitVec.... | [
{
"name": "setup_blockVCs",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 31,
"n_chars": 1839,
"n_subproofs": 4,
"n_tactics": 29,
"cyclomatic": 2,
"n_automation": 14,
"n_rewrites": 10,
"n_structural": 4,
"automation_only": false,
"max_nes... | 1 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -161,6 +161,14 @@
private def bumpInstrs : List Instr :=
[.ADDI .x5 .x5 (1 : BitVec 12), .LI .x6 (4 : Word)]
+/-- A read-only dword at `src + 8k` misses the disjoint 32-byte writable
+ window. -/
+private theorem src_dword_miss (src dst : Word) (ws : List (BitVec 8)) (k : Nat)
+ (hk : k < 4) (hws : ws.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_e72154a7b5db_8 | f1c7e2ad81c600c6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 1 | [
{
"theorem_name": "outer_step_engine",
"depth": 1,
"n_commands": 0,
"n_lines": 31,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨-, -, -, hp5, hp10, hp11, hpws, hpfr, hpbytes, hpframe, hpA⟩ := hInv\n have hkeq : (rf₀.get .x5).toNat = k := b... | [
{
"name": "bump_exec",
"text": "/-- The `bump` tail block: `x5 := k+1`, `x6 := 4`; window/`x10`/`x11` intact. -/\nprivate theorem bump_exec (reg : Region) (rwb : Word) (rf : RegFile)\n (ws : List (BitVec 8)) (k : Nat) (hx5 : rf.get .x5 = BitVec.ofNat 64 k) :\n (execBlock reg rwb rf ws bumpInstrs).1.ge... | [
{
"name": "outer_step_engine",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 49,
"n_chars": 2681,
"n_subproofs": 10,
"n_tactics": 36,
"cyclomatic": 2,
"n_automation": 6,
"n_rewrites": 13,
"n_structural": 10,
"automation_only": false,
"max... | 3 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -169,6 +169,22 @@
show ((1 : Word)).toNat = 1 from rfl]
omega
+/-- The `bump` tail block: `x5 := k+1`, `x6 := 4`; window/`x10`/`x11` intact. -/
+private theorem bump_exec (reg : Region) (rwb : Word) (rf : RegFile)
+ (ws : List (BitVec 8)) (k : Nat) (hx5 : rf.get .x5 = BitVec.ofNat 64 k) :
+ (execBloc... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e72154a7b5db_9 | 5dba1e4d10345e9d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 2 | [
{
"theorem_name": "storeByte_eq",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [and255_trunc, BitVec.toNat_ofNat, ofNat8_mod]; rfl",
"n_chars": 60,
"n_subproofs": 0,
"n_tactics": 3,
"cyc... | [
{
"name": "and255_trunc",
"text": "/-- `w &&& 0xff`, truncated to a byte, is the low byte of `w`. -/\nprivate theorem and255_trunc (w : Word) :\n (w &&& (255 : Word)).truncate 8 = BitVec.ofNat 8 w.toNat := by\n apply BitVec.eq_of_toNat_eq\n simp only [BitVec.toNat_setWidth, BitVec.toNat_and, BitVec.toN... | [
{
"name": "inner_init_engine",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 53,
"n_chars": 2777,
"n_subproofs": 4,
"n_tactics": 46,
"cyclomatic": 1,
"n_automation": 19,
"n_rewrites": 29,
"n_structural": 6,
"automation_only": false,
"max_... | 2 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -161,6 +161,14 @@
private def bumpInstrs : List Instr :=
[.ADDI .x5 .x5 (1 : BitVec 12), .LI .x6 (4 : Word)]
+/-- `w &&& 0xff`, truncated to a byte, is the low byte of `w`. -/
+private theorem and255_trunc (w : Word) :
+ (w &&& (255 : Word)).truncate 8 = BitVec.ofNat 8 w.toNat := by
+ apply BitVec.eq_of_to... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_e72154a7b5db_10 | e1e47248138a7fed | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldLeToBeSAsm.lean | Secp256k1FieldLeToBeSAsm | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 22 | 2 | [
{
"theorem_name": "snap_facts",
"depth": 1,
"n_commands": 0,
"n_lines": 21,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n obtain ⟨rfp, wsp, hwsp, hreach, rfl, rfl⟩ := hsp\n obtain ⟨k, hk, hpx5, hpx10, hpx11, hpwslen, hpfr, hplimbs⟩ :\n ∃ k, k ... | [
{
"name": "setup_exec",
"text": "/-- The setup block, executed: loads limb `k = wsDword inBytes (8k)` into\n `x28`, points `x6` at the LSB destination byte `dst + (31 - 8k)`, seeds\n `x29 := 8`; `x5`/`x10`/`x11`/window untouched. -/\nprivate theorem setup_exec (src dst : Word) (inBytes wsp : List (Bit... | [
{
"name": "secfLeToBeFn_spec",
"fan_in": 0,
"n_deps_direct": 8,
"n_deps_transitive": 23,
"n_lines": 158,
"n_chars": 8844,
"n_subproofs": 47,
"n_tactics": 171,
"cyclomatic": 12,
"n_automation": 59,
"n_rewrites": 54,
"n_structural": 56,
"automation_only": false,
... | 22 | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | /-
EvmAsm.Codegen.Programs.Secp256k1FieldLeToBeSAsm
Verified SAsm port of the secp256k1 LE→BE field-element converter
(bead evm-asm-4ch8f.38.2 wave-2, the inverse of `secfBeToLe`):
- `secfLeToBe` (`secfLeToBe_prog`, Secp256k1Field.lean:205): read four
LITTLE-ENDIAN u64 limbs (LSB-first) at `a0` and write ... | @@ -239,6 +239,70 @@
obtain ⟨hnws, hnwd, hdisj⟩ := hfr
unfold inRw; rw [hws]; rcases hdisj with h | h <;> bv_omega
+/-- The setup block, executed: loads limb `k = wsDword inBytes (8k)` into
+ `x28`, points `x6` at the LSB destination byte `dst + (31 - 8k)`, seeds
+ `x29 := 8`; `x5`/`x10`/`x11`/window unto... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_0 | b3b4bbb0a3b1f5b9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_status_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 327,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": ... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_1 | 172437a8f35c0689 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_pc_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 315,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fals... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_2 | 9f449131bf584d41 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_gas_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 318,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fal... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_3 | 94f5e02a90c212d3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_stack_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 324,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": f... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_4 | 0bf88c9fd2b341f0 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_memoryCells_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 342,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_on... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_5 | c1586fe1a8f45c77 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_memory_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 350,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": ... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_6 | 6c0736bb511cf4aa | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_memSize_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 330,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only":... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_7 | 052466042c0429be | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_code_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 321,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fa... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_8 | 2daf92662511e2a2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_codeLen_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 330,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only":... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_9 | 80e56556a7703d97 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_codeLenMatches_iff_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 354,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automatio... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_10 | d8947367192ed7b6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_codeLenMatches_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 376,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_on... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,20 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_11 | 511d89f81e32f1a5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_codeLenMatches_spec_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 394,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automati... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,20 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_12 | 5082ef2677427922 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 12 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "loopFuel_status_eq_of_loopResultsMatch",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopFuel_eq_of_loopResultsMatch h_match fuel state]",
"n_chars": 61,
"n_subproofs": 0,
... | [
{
"name": "loopFuel_eq_of_loopResultsMatch",
"text": "theorem loopFuel_eq_of_loopResultsMatch\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (fuel : Nat) (state : EvmState) :\n InterpreterLoop.loopFuel impl fuel state =\n InterpreterLoop.loopFuel spec fuel state :=\n h_match... | [
{
"name": "loopFuel_env_eq_of_loopResultsMatch",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 318,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fal... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopFuel_eq_of_loopResultsMatch
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (fuel : Nat) (state : EvmState) :
+ InterpreterLoop.loopFuel impl fuel state =
+ I... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_13 | 93a5e3db55bf7c64 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 13 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "loopResultsMatch_of_eq",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n apply loopResultsMatch_of_handlerMatchesSpec\n intro opcode state _h_decode\n exact h_eq opcode state",
"n_cha... | [
{
"name": "loopResultsMatch_of_handlerMatchesSpec",
"text": "/-- Distinctive token: InterpreterLoopSimulation.loopResultsMatch_of_handlerMatchesSpec #109. -/\ntheorem loopResultsMatch_of_handlerMatchesSpec\n {impl spec : Handler}\n (h_match : InterpreterSimulation.HandlerMatchesSpec impl spec) :\n ... | [
{
"name": "loopResultsMatch_of_eq",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 297,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 3,
"automation_only": false,
"max_... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,10 +18,21 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+/-- Distinctive token: InterpreterLoopSimulation.loopResultsMatch_of_handlerMatchesSpec #109. -/
+theorem loopResultsMatch_of_handlerMatchesSpec
+ {impl spec : Handler}
+ (h_match : InterpreterSi... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_14 | c6b1a55e23372cf8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 2 | [
{
"theorem_name": "loopResultsMatch_step_one_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopResultsMatch_step_one h_match state]",
"n_chars": 50,
"n_subproofs": 0,
"n_tactics": 2... | [
{
"name": "loopResultsMatch_step_one",
"text": "theorem loopResultsMatch_step_one\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (state : EvmState) :\n InterpreterLoop.loopFuel impl 1 state =\n InterpreterLoop.loopFuel spec 1 state :=\n h_match 1 state\n\n",
"fan_in": 2,... | [
{
"name": "loopResultsMatch_step_one_status",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 291,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,19 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopResultsMatch_step_one
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (state : EvmState) :
+ InterpreterLoop.loopFuel impl 1 state =
+ InterpreterLoop.loopFue... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_15 | d5e358bdaaaa804f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 2 | [
{
"theorem_name": "loopResultsMatch_step_one_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [loopResultsMatch_step_one h_match state]",
"n_chars": 50,
"n_subproofs": 0,
"n_tactics": 2... | [
{
"name": "loopResultsMatch_step_one",
"text": "theorem loopResultsMatch_step_one\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n (state : EvmState) :\n InterpreterLoop.loopFuel impl 1 state =\n InterpreterLoop.loopFuel spec 1 state :=\n h_match 1 state\n\n",
"fan_in": 2,... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"fan_in": 13,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 513,
"n_subproofs": 1,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automati... | 1 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -18,11 +18,22 @@
InterpreterLoop.loopFuel impl fuel state =
InterpreterLoop.loopFuel spec fuel state
+theorem loopResultsMatch_step_one
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ (state : EvmState) :
+ InterpreterLoop.loopFuel impl 1 state =
+ InterpreterLoop.loopFue... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_16 | a3aa11c614f6b8e3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 383,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"aut... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_17 | e805b23839ab1131 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_pc_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 371,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automat... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_18 | 1253c41bae539329 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_gas_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 374,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automa... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_19 | a42b7f68524939e7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 19 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_stack_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 380,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"auto... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_20 | edb7391895ad5304 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 20 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_memoryCells_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 398,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_21 | d9f34f5225ded7a6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 21 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_memory_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 406,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"aut... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_22 | 4c5869a1d0977bea | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 22 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_memSize_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 386,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"au... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_23 | b9983740c91cef05 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 23 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_code_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 377,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"autom... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_24 | 7fd1d99b304bff21 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 24 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_codeLen_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 386,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"au... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_25 | 91e95fb6e8b3eb33 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 25 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_codeLenMatches_iff_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 410,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_26 | f2f9a59f3011261a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 26 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_codeLenMatches_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 432,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,23 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_27 | d00b997d8f9303dc | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 27 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_codeLenMatches_spec_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 450,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,23 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_af3e60d901cb_28 | bfdfaec2c464d231 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/InterpreterLoopSimulation.lean | InterpreterLoopSimulation | 28 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 13 | [
{
"theorem_name": "stepWithHandler_status_eq_of_loopResultsMatch_running",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [stepWithHandler_eq_of_loopResultsMatch_running h_match h_status]",
"n_chars":... | [
{
"name": "stepWithHandler_eq_of_loopResultsMatch_running",
"text": "theorem stepWithHandler_eq_of_loopResultsMatch_running\n {impl spec : Handler} (h_match : LoopResultsMatch impl spec)\n {state : EvmState} (h_status : state.status = .running) :\n InterpreterLoop.stepWithHandler impl state =\n ... | [
{
"name": "stepWithHandler_env_eq_of_loopResultsMatch_running",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 374,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automa... | 2 | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | /-
EvmAsm.Evm64.InterpreterLoopSimulation
Whole-loop simulation relation for the pure interpreter loop (GH #109).
-/
import EvmAsm.Evm64.InterpreterSimulation
namespace EvmAsm.Evm64
namespace InterpreterLoopSimulation
abbrev Handler := InterpreterLoop.Handler
/-- Whole-loop result agreement for all fuel budge... | @@ -25,11 +25,22 @@
InterpreterLoop.loopFuel spec 1 state :=
h_match 1 state
+theorem stepWithHandler_eq_of_loopResultsMatch_running
+ {impl spec : Handler} (h_match : LoopResultsMatch impl spec)
+ {state : EvmState} (h_status : state.status = .running) :
+ InterpreterLoop.stepWithHandler impl stat... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_0 | f8d20fda1a4f9691 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "push_zero_slot_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro nsp\n rw [← push_zero_slot_code_eq_ofProg]\n exact push_zero_slot_spec_within sp d0 d1 d2 d3 base... | [
{
"name": "push_zero_slot_code_eq_ofProg",
"text": "theorem push_zero_slot_code_eq_ofProg (base : Word) :\n push_zero_slot_code base =\n CodeReq.ofProg base\n (ADDI .x12 .x12 (-32) ;; SD .x12 .x0 0 ;; SD .x12 .x0 8 ;;\n SD .x12 .x0 16 ;; SD .x12 .x0 24) := by\n unfold push_zero_slot_... | [
{
"name": "push_zero_slot_ofProg_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 22,
"n_chars": 1044,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": fal... | 2 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -39,6 +39,19 @@
((CodeReq.singleton (base + 12) (.SD .x12 .x0 16)).union
(CodeReq.singleton (base + 16) (.SD .x12 .x0 24)))))
+theorem push_zero_slot_code_eq_ofProg (base : Word) :
+ push_zero_slot_code base =
+ CodeReq.ofProg base
+ (ADDI .x12 .x12 (-32) ;; SD .x12 .x0 0 ;; SD .... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_1 | 5e7fe7479b4aceaf | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "push_zero_slot_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro nsp\n rw [← push_zero_slot_code_eq_ofProg]\n exact push_zero_slot_spec_within sp d0 d1 d2 d3 base... | [
{
"name": "push_zero_slot_code_eq_ofProg",
"text": "theorem push_zero_slot_code_eq_ofProg (base : Word) :\n push_zero_slot_code base =\n CodeReq.ofProg base\n (ADDI .x12 .x12 (-32) ;; SD .x12 .x0 0 ;; SD .x12 .x0 8 ;;\n SD .x12 .x0 16 ;; SD .x12 .x0 24) := by\n unfold push_zero_slot_... | [
{
"name": "evm_push_zero_slot_code_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 34,
"n_chars": 1427,
"n_subproofs": 1,
"n_tactics": 27,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 5,
"n_structural": 3,
"automation_only": ... | 3 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -39,6 +39,19 @@
((CodeReq.singleton (base + 12) (.SD .x12 .x0 16)).union
(CodeReq.singleton (base + 16) (.SD .x12 .x0 24)))))
+theorem push_zero_slot_code_eq_ofProg (base : Word) :
+ push_zero_slot_code base =
+ CodeReq.ofProg base
+ (ADDI .x12 .x12 (-32) ;; SD .x12 .x0 0 ;; SD .... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_2 | aae564eb6d550a44 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "push_zero_slot_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro nsp\n rw [← push_zero_slot_code_eq_ofProg]\n exact push_zero_slot_spec_within sp d0 d1 d2 d3 base... | [
{
"name": "push_zero_slot_spec_within",
"text": "theorem push_zero_slot_spec_within\n (sp d0 d1 d2 d3 : Word) (base : Word) :\n let nsp := sp + signExtend12 ((-32 : BitVec 12))\n cpsTripleWithin 5 base (base + 20) (push_zero_slot_code base)\n ((.x12 ↦ᵣ sp) ** (.x0 ↦ᵣ (0 : Word)) **\n ((n... | [
{
"name": "evm_push_zero_slot_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 5,
"n_lines": 29,
"n_chars": 1245,
"n_subproofs": 0,
"n_tactics": 11,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 2,
"automation_only":... | 5 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -52,6 +52,34 @@
CodeReq.ofProg_cons, CodeReq.ofProg_singleton]
bv_addr
+theorem push_zero_slot_spec_within
+ (sp d0 d1 d2 d3 : Word) (base : Word) :
+ let nsp := sp + signExtend12 ((-32 : BitVec 12))
+ cpsTripleWithin 5 base (base + 20) (push_zero_slot_code base)
+ ((.x12 ↦ᵣ sp) ** (.x0 ↦ᵣ (0... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_3 | f39b682581072f92 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "push_zero_slot_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro nsp\n rw [← push_zero_slot_code_eq_ofProg]\n exact push_zero_slot_spec_within sp d0 d1 d2 d3 base... | [
{
"name": "push_zero_slot_spec_within",
"text": "theorem push_zero_slot_spec_within\n (sp d0 d1 d2 d3 : Word) (base : Word) :\n let nsp := sp + signExtend12 ((-32 : BitVec 12))\n cpsTripleWithin 5 base (base + 20) (push_zero_slot_code base)\n ((.x12 ↦ᵣ sp) ** (.x0 ↦ᵣ (0 : Word)) **\n ((n... | [
{
"name": "evm_push_zero_slot_full_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 6,
"n_lines": 33,
"n_chars": 1516,
"n_subproofs": 0,
"n_tactics": 12,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 6,
"n_structural": 2,
"automation_o... | 6 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -52,6 +52,34 @@
CodeReq.ofProg_cons, CodeReq.ofProg_singleton]
bv_addr
+theorem push_zero_slot_spec_within
+ (sp d0 d1 d2 d3 : Word) (base : Word) :
+ let nsp := sp + signExtend12 ((-32 : BitVec 12))
+ cpsTripleWithin 5 base (base + 20) (push_zero_slot_code base)
+ ((.x12 ↦ᵣ sp) ** (.x0 ↦ᵣ (0... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_4 | 55d4021ec324648a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "pushImmediateWord_evmWordIs_fold",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evmWordIs_sp_limbs_eq sp (pushImmediateWord n byteAt)\n (pushImmediateLimb n byteAt 0)\n (pushI... | [
{
"name": "pushImmediateWord_getLimbN_1",
"text": "theorem pushImmediateWord_getLimbN_1 (n : Nat) (byteAt : Nat → BitVec 8) :\n (pushImmediateWord n byteAt).getLimbN 1 =\n pushImmediateLimb n byteAt 1 := by\n unfold pushImmediateWord\n rw [EvmWord.getLimbN_lt _ _ (by decide), EvmWord.getLimb_fromL... | [
{
"name": "pushImmediateWord_evmWordIs_fold",
"fan_in": 1,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 20,
"n_chars": 878,
"n_subproofs": 0,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fals... | 4 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -70,6 +70,12 @@
unfold pushImmediateWord
rw [EvmWord.getLimbN_lt _ _ (by decide), EvmWord.getLimb_fromLimbs]
+theorem pushImmediateWord_getLimbN_1 (n : Nat) (byteAt : Nat → BitVec 8) :
+ (pushImmediateWord n byteAt).getLimbN 1 =
+ pushImmediateLimb n byteAt 1 := by
+ unfold pushImmediateWord
+ rw [... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_5 | c98463d7211c6f34 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "pushImmediateWord_evmWordIs_fold",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evmWordIs_sp_limbs_eq sp (pushImmediateWord n byteAt)\n (pushImmediateLimb n byteAt 0)\n (pushI... | [
{
"name": "pushImmediateWord_getLimbN_1",
"text": "theorem pushImmediateWord_getLimbN_1 (n : Nat) (byteAt : Nat → BitVec 8) :\n (pushImmediateWord n byteAt).getLimbN 1 =\n pushImmediateLimb n byteAt 1 := by\n unfold pushImmediateWord\n rw [EvmWord.getLimbN_lt _ _ (by decide), EvmWord.getLimb_fromL... | [
{
"name": "pushImmediateWord_evmStackIs_fold",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 5,
"n_lines": 18,
"n_chars": 859,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fals... | 5 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -70,6 +70,12 @@
unfold pushImmediateWord
rw [EvmWord.getLimbN_lt _ _ (by decide), EvmWord.getLimb_fromLimbs]
+theorem pushImmediateWord_getLimbN_1 (n : Nat) (byteAt : Nat → BitVec 8) :
+ (pushImmediateWord n byteAt).getLimbN 1 =
+ pushImmediateLimb n byteAt 1 := by
+ unfold pushImmediateWord
+ rw [... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_6 | 87c0fa0918e08e91 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "push_one_byte_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro byteZext\n rw [← push_one_byte_code_eq_ofProg]\n exact push_one_byte_spec_within codePtr sp v7Old ... | [
{
"name": "push_one_byte_code_eq_ofProg",
"text": "theorem push_one_byte_code_eq_ofProg\n (base : Word) (codeOff dstOff : BitVec 12) :\n ((CodeReq.singleton base (.LBU .x7 .x10 codeOff)).union\n (CodeReq.singleton (base + 4) (.SB .x12 .x7 dstOff))) =\n CodeReq.ofProg base\n (LBU .x7 .x10 ... | [
{
"name": "push_one_byte_ofProg_spec_within",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 26,
"n_chars": 1355,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": fals... | 2 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -64,6 +64,18 @@
| ⟨2, _⟩ => pushImmediateLimb n byteAt 2
| ⟨3, _⟩ => pushImmediateLimb n byteAt 3
+theorem push_one_byte_code_eq_ofProg
+ (base : Word) (codeOff dstOff : BitVec 12) :
+ ((CodeReq.singleton base (.LBU .x7 .x10 codeOff)).union
+ (CodeReq.singleton (base + 4) (.SB .x12 .x7 dstOff)... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_7 | d67380c3149b7ce7 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "push_one_byte_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro byteZext\n rw [← push_one_byte_code_eq_ofProg]\n exact push_one_byte_spec_within codePtr sp v7Old ... | [
{
"name": "push_one_byte_spec_within",
"text": "/-- Two-instruction spec for one PUSH byte: LBU x7 from EVM code at\n `codePtr + codeOff`, then SB x7 to the new stack slot at\n `sp + dstOff`.\n\n `codeDwordAddr` / `dstDwordAddr` are the `alignToDword` of the source\n and destination byte address... | [
{
"name": "push_one_byte_ofProg_named_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 22,
"n_chars": 1157,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only"... | 4 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -76,6 +76,42 @@
[.LBU .x7 .x10 codeOff, .SB .x12 .x7 dstOff]
rw [CodeReq.ofProg_cons, CodeReq.ofProg_singleton]
+/-- Two-instruction spec for one PUSH byte: LBU x7 from EVM code at
+ `codePtr + codeOff`, then SB x7 to the new stack slot at
+ `sp + dstOff`.
+
+ `codeDwordAddr` / `dstDwordAddr` ar... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_8 | 0213e3aa5bfe3ed9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "push_one_byte_ofProg_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro byteZext\n rw [← push_one_byte_code_eq_ofProg]\n exact push_one_byte_spec_within codePtr sp v7Old ... | [
{
"name": "push_one_byte_spec_within",
"text": "/-- Two-instruction spec for one PUSH byte: LBU x7 from EVM code at\n `codePtr + codeOff`, then SB x7 to the new stack slot at\n `sp + dstOff`.\n\n `codeDwordAddr` / `dstDwordAddr` are the `alignToDword` of the source\n and destination byte address... | [
{
"name": "evm_push_one_byte_spec_within",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 67,
"n_chars": 2811,
"n_subproofs": 2,
"n_tactics": 41,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 9,
"n_structural": 3,
"automation_only": false,... | 4 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -76,6 +76,42 @@
[.LBU .x7 .x10 codeOff, .SB .x12 .x7 dstOff]
rw [CodeReq.ofProg_cons, CodeReq.ofProg_singleton]
+/-- Two-instruction spec for one PUSH byte: LBU x7 from EVM code at
+ `codePtr + codeOff`, then SB x7 to the new stack slot at
+ `sp + dstOff`.
+
+ `codeDwordAddr` / `dstDwordAddr` ar... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_c7300803bd56_9 | feb5d45d2dc76aa1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Push/Spec.lean | Spec | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 19 | 1 | [
{
"theorem_name": "evm_push_zero_slot_full_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro nsp\n exact cpsTripleWithin_weaken\n (fun _ hp => hp)\n (fun _ hq => by\n rw [... | [
{
"name": "evm_push_zero_slot_stack_spec_within",
"text": "/-- Stack-shaped bridge for the generic PUSH allocation prefix: the first five\n instructions of `evm_push n` allocate a slot, zero-fill it, and expose the\n new top as `evmWordIs nsp 0` while framing the previous stack tail. -/\ntheorem evm_p... | [
{
"name": "evm_push1_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 4,
"n_deps_transitive": 18,
"n_lines": 146,
"n_chars": 7858,
"n_subproofs": 15,
"n_tactics": 88,
"cyclomatic": 1,
"n_automation": 35,
"n_rewrites": 40,
"n_structural": 7,
"automation_only": fal... | 18 | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | /-
EvmAsm.Evm64.Push.Spec
Specs for the EVM PUSH1..PUSH32 opcode family. Three-level architecture
per `docs/push-opcode-design.md`:
1. Per-byte helper: `push_one_byte_spec_within` (this file)
2. Generic n-byte spec: (slice 4)
3. EvmWord/stack spec: (slice 4 / slice 5)
This sub-slice... | @@ -149,6 +149,34 @@
have h24 : (nsp + signExtend12 (24 : BitVec 12) : Word) = nsp + 24 := by congr 1
rw [h0, h8, h16, h24, evmWordIs_zero]
+/-- Stack-shaped bridge for the generic PUSH allocation prefix: the first five
+ instructions of `evm_push n` allocate a slot, zero-fill it, and expose the
+ new top... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_4285235762a4_0 | 76b97cffff70f13b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Bls12G2Copy192SAsm.lean | Bls12G2Copy192SAsm | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 1 | [
{
"theorem_name": "blsfCopyLoopBody_spec",
"depth": 1,
"n_commands": 0,
"n_lines": 138,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hpn : 24 - n = (24 - (n + 1)) + 1 := by omega\n set p := 24 - (n + 1) with hp\n set L := srcWords.take p ++ ... | [
{
"name": "copy_prefix_step",
"text": "/-- Copying the next dword extends the copied prefix by one word. -/\nprivate theorem copy_prefix_step (srcWords dstWords : List Word) (p : Nat)\n (hp : p < srcWords.length) (hd : dstWords.length = srcWords.length) :\n (srcWords.take p ++ dstWords.drop p).set p (... | [
{
"name": "blsfCopyLoopBody_spec",
"fan_in": 1,
"n_deps_direct": 5,
"n_deps_transitive": 5,
"n_lines": 147,
"n_chars": 7557,
"n_subproofs": 30,
"n_tactics": 139,
"cyclomatic": 13,
"n_automation": 16,
"n_rewrites": 23,
"n_structural": 46,
"automation_only": false,
... | 5 | /-
EvmAsm.Codegen.Programs.Bls12G2Copy192SAsm
Byte-transparent ABI-frame caller port for `blsg2_copy192`:
save `ra`, set `a2 = 24`, call verified `blsf_copy_quads`, restore `ra`, ret.
-/
import EvmAsm.Rv64.SAsm.FramePort
import EvmAsm.Rv64.SAsm.Fn
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.X... | /-
EvmAsm.Codegen.Programs.Bls12G2Copy192SAsm
Byte-transparent ABI-frame caller port for `blsg2_copy192`:
save `ra`, set `a2 = 24`, call verified `blsf_copy_quads`, restore `ra`, ret.
-/
import EvmAsm.Rv64.SAsm.FramePort
import EvmAsm.Rv64.SAsm.Fn
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.X... | @@ -68,6 +68,33 @@
unfold lastLoaded
simp
+/-- Copying the next dword extends the copied prefix by one word. -/
+private theorem copy_prefix_step (srcWords dstWords : List Word) (p : Nat)
+ (hp : p < srcWords.length) (hd : dstWords.length = srcWords.length) :
+ (srcWords.take p ++ dstWords.drop p).set p (... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_4285235762a4_1 | 8472548ae0bf2736 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Bls12G2Copy192SAsm.lean | Bls12G2Copy192SAsm | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 1 | [
{
"theorem_name": "blsfCopyQuads24Flat_spec",
"depth": 1,
"n_commands": 0,
"n_lines": 37,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hloop : cpsTripleWithin (24 * (6 + 1) + 1) (GuestAddrs.blsf_copy_quads : Word) ((GuestAddrs.blsf_copy_quads ... | [
{
"name": "pcFree_copyInvF",
"text": "theorem pcFree_copyInvF (src dst : Word) (srcWords dstWords : List Word) (init5 : Word) (n : Nat) :\n (copyInvF src dst srcWords dstWords init5 n).pcFree := by\n unfold copyInvF\n pcf\n\n",
"fan_in": 1,
"n_lines": 6,
"n_chars": 187,
"n_subproofs": 0... | [
{
"name": "blsfCopyQuads24Flat_spec",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 7,
"n_lines": 50,
"n_chars": 3166,
"n_subproofs": 8,
"n_tactics": 38,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 5,
"n_structural": 3,
"automation_only": false,
... | 7 | /-
EvmAsm.Codegen.Programs.Bls12G2Copy192SAsm
Byte-transparent ABI-frame caller port for `blsg2_copy192`:
save `ra`, set `a2 = 24`, call verified `blsf_copy_quads`, restore `ra`, ret.
-/
import EvmAsm.Rv64.SAsm.FramePort
import EvmAsm.Rv64.SAsm.Fn
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.X... | /-
EvmAsm.Codegen.Programs.Bls12G2Copy192SAsm
Byte-transparent ABI-frame caller port for `blsg2_copy192`:
save `ra`, set `a2 = 24`, call verified `blsf_copy_quads`, restore `ra`, ret.
-/
import EvmAsm.Rv64.SAsm.FramePort
import EvmAsm.Rv64.SAsm.Fn
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.X... | @@ -104,6 +104,11 @@
** dwordsIs src srcWords
** dwordsIs dst (srcWords.take p ++ dstWords.drop p)
+theorem pcFree_copyInvF (src dst : Word) (srcWords dstWords : List Word) (init5 : Word) (n : Nat) :
+ (copyInvF src dst srcWords dstWords init5 n).pcFree := by
+ unfold copyInvF
+ pcf
+
private theorem ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_4285235762a4_2 | cbb80471bfa7ba33 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Bls12G2Copy192SAsm.lean | Bls12G2Copy192SAsm | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 1 | [
{
"theorem_name": "blsfCopyQuads24Flat_spec",
"depth": 1,
"n_commands": 0,
"n_lines": 37,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hloop : cpsTripleWithin (24 * (6 + 1) + 1) (GuestAddrs.blsf_copy_quads : Word) ((GuestAddrs.blsf_copy_quads ... | [
{
"name": "blsfCopyLoopBody_spec",
"text": "private theorem blsfCopyLoopBody_spec (src dst : Word) (srcWords dstWords : List Word)\n (init5 : Word) (hs : srcWords.length = 24) (hd : dstWords.length = 24)\n (n : Nat) (hn : n < 24) :\n cpsTripleWithin 6 ((GuestAddrs.blsf_copy_quads + 4) : Word) (Gues... | [
{
"name": "blsg2Copy192Frame_spec",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 8,
"n_lines": 68,
"n_chars": 4532,
"n_subproofs": 10,
"n_tactics": 49,
"cyclomatic": 1,
"n_automation": 9,
"n_rewrites": 7,
"n_structural": 1,
"automation_only": false,
"... | 8 | /-
EvmAsm.Codegen.Programs.Bls12G2Copy192SAsm
Byte-transparent ABI-frame caller port for `blsg2_copy192`:
save `ra`, set `a2 = 24`, call verified `blsf_copy_quads`, restore `ra`, ret.
-/
import EvmAsm.Rv64.SAsm.FramePort
import EvmAsm.Rv64.SAsm.Fn
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.X... | /-
EvmAsm.Codegen.Programs.Bls12G2Copy192SAsm
Byte-transparent ABI-frame caller port for `blsg2_copy192`:
save `ra`, set `a2 = 24`, call verified `blsf_copy_quads`, restore `ra`, ret.
-/
import EvmAsm.Rv64.SAsm.FramePort
import EvmAsm.Rv64.SAsm.Fn
import EvmAsm.Rv64.Tactics.RunBlock
import EvmAsm.Rv64.Tactics.X... | @@ -109,6 +109,152 @@
unfold copyInvF
pcf
+private theorem blsfCopyLoopBody_spec (src dst : Word) (srcWords dstWords : List Word)
+ (init5 : Word) (hs : srcWords.length = 24) (hd : dstWords.length = 24)
+ (n : Nat) (hn : n < 24) :
+ cpsTripleWithin 6 ((GuestAddrs.blsf_copy_quads + 4) : Word) (GuestAddr... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_fc9c2e893e25_0 | 3b000872ed4b8491 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV4/WideRhatcUB.lean | WideRhatcUB | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "divKTrialCallV4Q0d_le_q_true_0_plus_one_of_rhat2c_ge_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 35,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hdHi_ne : divKTrialCallV4DHi vTop ≠ 0 := by\n intro h_eq\n rw [h_eq]... | [
{
"name": "div128Quot_q1c_le_q_true_1_plus_one_of_rhatc_ge_pow32",
"text": "/-- Knuth-B-level Phase-1a UB on `q1c` in the wide-rhatc regime.\n\n Uses the Phase-1a Euclidean identity `q1c*dHi + rhatc = uHi`, the\n `q1c ≤ 2^32` bound, and `rhatc ≥ 2^32` to close `q1c ≤ q_true_1 + 1`\n by direct cross... | [
{
"name": "divKTrialCallV4Q0d_le_q_true_0_plus_one_of_rhat2c_ge_pow32",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 59,
"n_chars": 2792,
"n_subproofs": 5,
"n_tactics": 30,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 4,
"n_structural": 4,
... | 1 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.WideRhatcUB
Closes the V4 Phase-1b / Phase-2b UB chain in the **wide-rhatc** regime
(`rhatc ≥ 2^32`), filling the dual gap left by
`Un21BoundDHiPow32.lean` / `Q0ddUBDHiPow32.lean` (which cover the
narrow-rhatc regime `rhatc < 2^32`, equivalently `uHi < dHi*2^... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.WideRhatcUB
Closes the V4 Phase-1b / Phase-2b UB chain in the **wide-rhatc** regime
(`rhatc ≥ 2^32`), filling the dual gap left by
`Un21BoundDHiPow32.lean` / `Q0ddUBDHiPow32.lean` (which cover the
narrow-rhatc regime `rhatc < 2^32`, equivalently `uHi < dHi*2^... | @@ -33,6 +33,127 @@
open EvmAsm.Rv64 EvmWord
+/-- Knuth-B-level Phase-1a UB on `q1c` in the wide-rhatc regime.
+
+ Uses the Phase-1a Euclidean identity `q1c*dHi + rhatc = uHi`, the
+ `q1c ≤ 2^32` bound, and `rhatc ≥ 2^32` to close `q1c ≤ q_true_1 + 1`
+ by direct cross-multiplication — no Knuth-C contrapo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_fc9c2e893e25_1 | f27d43508b98d182 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV4/WideRhatcUB.lean | WideRhatcUB | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "divKTrialCallV4Q0d_le_q_true_0_plus_one_of_rhat2c_ge_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 35,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hdHi_ne : divKTrialCallV4DHi vTop ≠ 0 := by\n intro h_eq\n rw [h_eq]... | [
{
"name": "div128Quot_q1c_le_q_true_1_plus_one_of_rhatc_ge_pow32",
"text": "/-- Knuth-B-level Phase-1a UB on `q1c` in the wide-rhatc regime.\n\n Uses the Phase-1a Euclidean identity `q1c*dHi + rhatc = uHi`, the\n `q1c ≤ 2^32` bound, and `rhatc ≥ 2^32` to close `q1c ≤ q_true_1 + 1`\n by direct cross... | [
{
"name": "divKTrialCallV4Q0dd_le_q_true_0_plus_one_of_rhat2c_ge_pow32",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 24,
"n_chars": 1100,
"n_subproofs": 1,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
... | 2 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.WideRhatcUB
Closes the V4 Phase-1b / Phase-2b UB chain in the **wide-rhatc** regime
(`rhatc ≥ 2^32`), filling the dual gap left by
`Un21BoundDHiPow32.lean` / `Q0ddUBDHiPow32.lean` (which cover the
narrow-rhatc regime `rhatc < 2^32`, equivalently `uHi < dHi*2^... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.WideRhatcUB
Closes the V4 Phase-1b / Phase-2b UB chain in the **wide-rhatc** regime
(`rhatc ≥ 2^32`), filling the dual gap left by
`Un21BoundDHiPow32.lean` / `Q0ddUBDHiPow32.lean` (which cover the
narrow-rhatc regime `rhatc < 2^32`, equivalently `uHi < dHi*2^... | @@ -33,6 +33,127 @@
open EvmAsm.Rv64 EvmWord
+/-- Knuth-B-level Phase-1a UB on `q1c` in the wide-rhatc regime.
+
+ Uses the Phase-1a Euclidean identity `q1c*dHi + rhatc = uHi`, the
+ `q1c ≤ 2^32` bound, and `rhatc ≥ 2^32` to close `q1c ≤ q_true_1 + 1`
+ by direct cross-multiplication — no Knuth-C contrapo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_40fd30f8b2c3_0 | ad5acf4b5c75563a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N3V5Shift0ModRemainder.lean | N3V5Shift0ModRemainder | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "n3_shift0_remainder_word_eq_mod_lane",
"depth": 1,
"n_commands": 0,
"n_lines": 13,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hbase := n3_shift0_remainder_word_eq_mod a0 a1 a2 a3 b0 b1 b2 hb2ge bltu_1 bltu_0\n hc1 hm1 h... | [
{
"name": "n3_shift0_remainder_word_eq_mod",
"text": "/-- **v5 n=3 remainder word = mod a b (shift=0).** The shift=0 final R0 remainder\n window, packed into `fromLimbs(R0.2.1, R0.2.2.1, R0.2.2.2.1, R0.2.2.2.2.1)`,\n equals `EvmWord.mod a b`. -/\ntheorem n3_shift0_remainder_word_eq_mod\n (a0 a1 a2 ... | [
{
"name": "n3_shift0_remainder_word_eq_mod_lane",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 46,
"n_chars": 2315,
"n_subproofs": 1,
"n_tactics": 15,
"cyclomatic": 3,
"n_automation": 2,
"n_rewrites": 5,
"n_structural": 3,
"automation_only":... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.N3V5Shift0ModRemainder
**v5 n=3 MOD remainder correctness for the shift=0 path.**
When the divisor's top limb `b2` is already normalized (`b2 ≥ 2^63`), the
schoolbook runs on the RAW 3-limb divisor `(b0,b1,b2,0)` with no denormalization,
so the final R0 remainder window (3 limbs, ... | /-
EvmAsm.Evm64.DivMod.Spec.N3V5Shift0ModRemainder
**v5 n=3 MOD remainder correctness for the shift=0 path.**
When the divisor's top limb `b2` is already normalized (`b2 ≥ 2^63`), the
schoolbook runs on the RAW 3-limb divisor `(b0,b1,b2,0)` with no denormalization,
so the final R0 remainder window (3 limbs, ... | @@ -19,6 +19,112 @@
open EvmWord EvmAsm.Rv64
+/-- **v5 n=3 remainder word = mod a b (shift=0).** The shift=0 final R0 remainder
+ window, packed into `fromLimbs(R0.2.1, R0.2.2.1, R0.2.2.2.1, R0.2.2.2.2.1)`,
+ equals `EvmWord.mod a b`. -/
+theorem n3_shift0_remainder_word_eq_mod
+ (a0 a1 a2 a3 b0 b1 b2 : W... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.