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_35eb3793f245_1 | 436322a66e60f917 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/ModexpPrecompileDispatch.lean | ModexpPrecompileDispatch | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 3 | [
{
"theorem_name": "acceleratorInput_base_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [acceleratorInput, bufferRead_length]",
"n_chars": 48,
"n_subproofs": 0,
"n_tactics": 2,
... | [
{
"name": "bufferRead_length",
"text": "theorem bufferRead_length (payload : List Byte) (start size : Nat) :\n (bufferRead payload start size).length = size := by\n simp [bufferRead]\n\n",
"fan_in": 3,
"n_lines": 5,
"n_chars": 146,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": ... | [
{
"name": "acceleratorInput_exp_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 5,
"n_chars": 179,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"... | 1 | /-
EvmAsm.EL.ModexpPrecompileDispatch
Pure EVM MODEXP precompile framing for Osaka. Modular exponentiation itself
is supplied by the accelerator boundary; this module fixes the
execution-specs-visible target, length caps, gas calculation, input slicing,
and common precompile result shape.
-/
import EvmAsm.E... | /-
EvmAsm.EL.ModexpPrecompileDispatch
Pure EVM MODEXP precompile framing for Osaka. Modular exponentiation itself
is supplied by the accelerator boundary; this module fixes the
execution-specs-visible target, length caps, gas calculation, input slicing,
and common precompile result shape.
-/
import EvmAsm.E... | @@ -125,8 +125,13 @@
else
EvmAsm.Evm64.PrecompileResult.fail input.gas
+theorem bufferRead_length (payload : List Byte) (start size : Nat) :
+ (bufferRead payload start size).length = size := by
+ simp [bufferRead]
+
theorem acceleratorInput_exp_length (payload : List Byte) :
- (acceleratorInput paylo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_35eb3793f245_2 | 48ed1c11f116e4c2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/ModexpPrecompileDispatch.lean | ModexpPrecompileDispatch | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 3 | [
{
"theorem_name": "acceleratorInput_base_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [acceleratorInput, bufferRead_length]",
"n_chars": 48,
"n_subproofs": 0,
"n_tactics": 2,
... | [
{
"name": "bufferRead_length",
"text": "theorem bufferRead_length (payload : List Byte) (start size : Nat) :\n (bufferRead payload start size).length = size := by\n simp [bufferRead]\n\n",
"fan_in": 3,
"n_lines": 5,
"n_chars": 146,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": ... | [
{
"name": "acceleratorInput_modulus_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 5,
"n_chars": 186,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
... | 1 | /-
EvmAsm.EL.ModexpPrecompileDispatch
Pure EVM MODEXP precompile framing for Osaka. Modular exponentiation itself
is supplied by the accelerator boundary; this module fixes the
execution-specs-visible target, length caps, gas calculation, input slicing,
and common precompile result shape.
-/
import EvmAsm.E... | /-
EvmAsm.EL.ModexpPrecompileDispatch
Pure EVM MODEXP precompile framing for Osaka. Modular exponentiation itself
is supplied by the accelerator boundary; this module fixes the
execution-specs-visible target, length caps, gas calculation, input slicing,
and common precompile result shape.
-/
import EvmAsm.E... | @@ -125,8 +125,13 @@
else
EvmAsm.Evm64.PrecompileResult.fail input.gas
+theorem bufferRead_length (payload : List Byte) (start size : Nat) :
+ (bufferRead payload start size).length = size := by
+ simp [bufferRead]
+
theorem acceleratorInput_modulus_length (payload : List Byte) :
- (acceleratorInput 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_35eb3793f245_3 | 87a27577db938b2e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/ModexpPrecompileDispatch.lean | ModexpPrecompileDispatch | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "gasCost_minimum",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [gasCost, modexpGasCost_minimum]",
"n_chars": 43,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
... | [
{
"name": "modexpGasCost_minimum",
"text": "theorem modexpGasCost_minimum (baseLen modulusLen exponentLen exponentHead : Nat) :\n 500 <= modexpGasCost baseLen modulusLen exponentLen exponentHead := by\n simp [modexpGasCost]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 183,
"n_subproofs": ... | [
{
"name": "gasCost_minimum",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 5,
"n_chars": 122,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"max_nesting"... | 1 | /-
EvmAsm.EL.ModexpPrecompileDispatch
Pure EVM MODEXP precompile framing for Osaka. Modular exponentiation itself
is supplied by the accelerator boundary; this module fixes the
execution-specs-visible target, length caps, gas calculation, input slicing,
and common precompile result shape.
-/
import EvmAsm.E... | /-
EvmAsm.EL.ModexpPrecompileDispatch
Pure EVM MODEXP precompile framing for Osaka. Modular exponentiation itself
is supplied by the accelerator boundary; this module fixes the
execution-specs-visible target, length caps, gas calculation, input slicing,
and common precompile result shape.
-/
import EvmAsm.E... | @@ -125,8 +125,13 @@
else
EvmAsm.Evm64.PrecompileResult.fail input.gas
+theorem modexpGasCost_minimum (baseLen modulusLen exponentLen exponentHead : Nat) :
+ 500 <= modexpGasCost baseLen modulusLen exponentLen exponentHead := by
+ simp [modexpGasCost]
+
theorem gasCost_minimum (payload : List Byte) :
- ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_35eb3793f245_4 | 40bd21d5e031500f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/ModexpPrecompileDispatch.lean | ModexpPrecompileDispatch | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "dispatch_success_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatch_success accelerator h_target h_len h_gas h_zero h_status]\n simp [ModexpPrecompileResultBridge... | [
{
"name": "dispatch_success",
"text": "theorem dispatch_success\n (accelerator : AcceleratorInput -> AcceleratorResult)\n {input : EvmAsm.Evm64.PrecompileInput}\n (h_target : input.target = .modexp)\n (h_len : componentLengthsValid input.input = true)\n (h_gas : gasCost input.input <= input.g... | [
{
"name": "dispatch_success_output_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 17,
"n_chars": 799,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
... | 1 | /-
EvmAsm.EL.ModexpPrecompileDispatch
Pure EVM MODEXP precompile framing for Osaka. Modular exponentiation itself
is supplied by the accelerator boundary; this module fixes the
execution-specs-visible target, length caps, gas calculation, input slicing,
and common precompile result shape.
-/
import EvmAsm.E... | /-
EvmAsm.EL.ModexpPrecompileDispatch
Pure EVM MODEXP precompile framing for Osaka. Modular exponentiation itself
is supplied by the accelerator boundary; this module fixes the
execution-specs-visible target, length caps, gas calculation, input slicing,
and common precompile result shape.
-/
import EvmAsm.E... | @@ -125,6 +125,27 @@
else
EvmAsm.Evm64.PrecompileResult.fail input.gas
+theorem dispatch_success
+ (accelerator : AcceleratorInput -> AcceleratorResult)
+ {input : EvmAsm.Evm64.PrecompileInput}
+ (h_target : input.target = .modexp)
+ (h_len : componentLengthsValid input.input = true)
+ (h_gas :... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_0 | b1d11945a74f3656 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_qOutV4_of_runtime_borrow",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqIterWithDoubleAddback_qOutV4_of_borrow\n (n4CallAddbackBeqBo... | [
{
"name": "n4CallAddbackBeqBorrow_raw_of_runtime",
"text": "/-- The packaged v4 n=4 call-addback runtime borrow predicate implies the raw\n addback branch condition consumed by `iterWithDoubleAddback`. -/\ntheorem n4CallAddbackBeqBorrow_raw_of_runtime {a b : EvmWord}\n (h_borrow : isAddbackBorrowN4Cal... | [
{
"name": "n4CallAddbackBeqIterWithDoubleAddback_qOutV4_of_runtime_borrow",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 19,
"n_chars": 710,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -15,6 +15,67 @@
namespace EvmWord
+/-- The packaged v4 n=4 call-addback runtime borrow predicate implies the raw
+ addback branch condition consumed by `iterWithDoubleAddback`. -/
+theorem n4CallAddbackBeqBorrow_raw_of_runtime {a b : EvmWord}
+ (h_borrow : isAddbackBorrowN4CallV4Evm a b) :
+ BitVec.ult... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_1 | c20dcf6cca801242 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 3 | [
{
"theorem_name": "n4CallAddbackBeqNormalizedDivisor_pos",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n val256_pos_of_or_ne_zero (n4CallAddbackBeqNormalizedDivisor_ne_zero hb3nz)",
"n_chars": 77,
"n_s... | [
{
"name": "n4CallAddbackBeqNormalizedDivisor_ne_zero",
"text": "/-- A nonzero original top divisor limb makes the normalized n=4 divisor\n nonzero, as required by double-addback value conservation. -/\ntheorem n4CallAddbackBeqNormalizedDivisor_ne_zero {b : EvmWord}\n (hb3nz : b.getLimbN 3 ≠ 0) :\n ... | [
{
"name": "n4CallAddbackBeqNormalizedDivisor_pos",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 12,
"n_chars": 447,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": ... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -15,6 +15,21 @@
namespace EvmWord
+/-- A nonzero original top divisor limb makes the normalized n=4 divisor
+ nonzero, as required by double-addback value conservation. -/
+theorem n4CallAddbackBeqNormalizedDivisor_ne_zero {b : EvmWord}
+ (hb3nz : b.getLimbN 3 ≠ 0) :
+ n4CallAddbackBeqB0Prime b ||| n4C... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_2 | 847fe230dbb1a9a9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 4 | [
{
"theorem_name": "n4CallAddbackBeqUn21_lt_vTop_of_call",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqUn21_lt_vTop_of_lt_b3prime\n (n4CallAddbackBeqUn21_lt_b3prime_of_call hb3nz hshift_nz ... | [
{
"name": "n4CallAddbackBeqUn21_lt_b3prime_of_call",
"text": "/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized\n top divisor limb on the n=4 call path. -/\ntheorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}\n (hb3nz : b.getLimbN 3 ≠ 0)\n (hshift_nz : (clzResult ... | [
{
"name": "n4CallAddbackBeqUn21_lt_vTop_of_call",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 16,
"n_chars": 724,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": f... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -69,6 +69,26 @@
n4CallAddbackBeqULoNormVal a b / n4CallAddbackBeqBNormVal b + 1 ∧
n4CallAddbackBeqIterRNormVal a b < n4CallAddbackBeqBNormVal b
+/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized
+ top divisor limb on the n=4 call path. -/
+theorem n4CallAddbackBeqUn21_lt_b3pri... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_3 | 94caf8f4d3534069 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 4 | [
{
"theorem_name": "n4CallAddbackBeqUn21_lt_vTop_of_call",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqUn21_lt_vTop_of_lt_b3prime\n (n4CallAddbackBeqUn21_lt_b3prime_of_call hb3nz hshift_nz ... | [
{
"name": "n4CallAddbackBeqUn21_lt_b3prime_of_call",
"text": "/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized\n top divisor limb on the n=4 call path. -/\ntheorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}\n (hb3nz : b.getLimbN 3 ≠ 0)\n (hshift_nz : (clzResult ... | [
{
"name": "n4CallAddbackBeqQHatV4_toNat_eq_trialCall_halves_of_call_path",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 20,
"n_chars": 858,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -69,6 +69,26 @@
n4CallAddbackBeqULoNormVal a b / n4CallAddbackBeqBNormVal b + 1 ∧
n4CallAddbackBeqIterRNormVal a b < n4CallAddbackBeqBNormVal b
+/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized
+ top divisor limb on the n=4 call path. -/
+theorem n4CallAddbackBeqUn21_lt_b3pri... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_4 | f6165dc3598db456 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 3 | [
{
"theorem_name": "n4CallAddbackBeqQHatV4_le_128_div_plus_one_of_shift_nz_rhatdd_hi_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqQHatV4_le_128_div_plus_one_of_rhatdd_hi_zero\n hb3nz ... | [
{
"name": "n4CallAddbackBeqU4_lt_pow63_of_shift_nz",
"text": "/-- The normalized overflow dividend limb in the n=4 call-addback marker is\n strictly below `2^63` whenever normalization uses a nonzero shift. -/\ntheorem n4CallAddbackBeqU4_lt_pow63_of_shift_nz {a b : EvmWord}\n (hshift_nz : (clzResult (... | [
{
"name": "n4CallAddbackBeqQHatV4_le_128_div_plus_one_of_shift_nz_rhatdd_hi_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 34,
"n_chars": 1380,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -69,6 +69,24 @@
n4CallAddbackBeqULoNormVal a b / n4CallAddbackBeqBNormVal b + 1 ∧
n4CallAddbackBeqIterRNormVal a b < n4CallAddbackBeqBNormVal b
+/-- The normalized overflow dividend limb in the n=4 call-addback marker is
+ strictly below `2^63` whenever normalization uses a nonzero shift. -/
+theore... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_5 | 4aa812458b4b84e5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 4 | [
{
"theorem_name": "n4CallAddbackBeqUn21_lt_vTop_of_call",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqUn21_lt_vTop_of_lt_b3prime\n (n4CallAddbackBeqUn21_lt_b3prime_of_call hb3nz hshift_nz ... | [
{
"name": "n4CallAddbackBeqUn21_lt_b3prime_of_call",
"text": "/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized\n top divisor limb on the n=4 call path. -/\ntheorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}\n (hb3nz : b.getLimbN 3 ≠ 0)\n (hshift_nz : (clzResult ... | [
{
"name": "n4CallAddbackBeqQHatV4_le_128_div_plus_one_of_call_rhatdd_hi_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 29,
"n_chars": 1184,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural... | 4 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -87,6 +87,26 @@
simpa [n4CallAddbackBeqU4, n4CallAddbackBeqAntiShift,
n4CallAddbackBeqShift] using h
+/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized
+ top divisor limb on the n=4 call path. -/
+theorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}
+ (hb3nz : b.getL... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_6 | 93c704341fb7c231 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 4 | [
{
"theorem_name": "n4CallAddbackBeqUn21_lt_vTop_of_call",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqUn21_lt_vTop_of_lt_b3prime\n (n4CallAddbackBeqUn21_lt_b3prime_of_call hb3nz hshift_nz ... | [
{
"name": "n4CallAddbackBeqUn21_lt_b3prime_of_call",
"text": "/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized\n top divisor limb on the n=4 call path. -/\ntheorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}\n (hb3nz : b.getLimbN 3 ≠ 0)\n (hshift_nz : (clzResult ... | [
{
"name": "n4CallAddbackBeqQHatV4_le_floor_plus_one_of_call_rhatdd_hi_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 42,
"n_chars": 1796,
"n_subproofs": 2,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural"... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -87,6 +87,26 @@
simpa [n4CallAddbackBeqU4, n4CallAddbackBeqAntiShift,
n4CallAddbackBeqShift] using h
+/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized
+ top divisor limb on the n=4 call path. -/
+theorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}
+ (hb3nz : b.getL... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_7 | cb24a7e15d826187 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 4 | [
{
"theorem_name": "n4CallAddbackBeqUn21_lt_vTop_of_call",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqUn21_lt_vTop_of_lt_b3prime\n (n4CallAddbackBeqUn21_lt_b3prime_of_call hb3nz hshift_nz ... | [
{
"name": "n4CallAddbackBeqUn21_lt_b3prime_of_call",
"text": "/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized\n top divisor limb on the n=4 call path. -/\ntheorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}\n (hb3nz : b.getLimbN 3 ≠ 0)\n (hshift_nz : (clzResult ... | [
{
"name": "n4CallAddbackBeqQHatV4_eq_floor_of_call_rhatdd_hi_zero_of_le",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 44,
"n_chars": 1845,
"n_subproofs": 2,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 1... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -87,6 +87,26 @@
simpa [n4CallAddbackBeqU4, n4CallAddbackBeqAntiShift,
n4CallAddbackBeqShift] using h
+/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized
+ top divisor limb on the n=4 call path. -/
+theorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}
+ (hb3nz : b.getL... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_8 | 3d16014b4096143e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqQHatV4_le_128_div_plus_one_of_shift_nz_rhatdd_hi_zero",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqQHatV4_le_128_div_plus_one_of_rhatdd_hi_zero\n hb3nz ... | [
{
"name": "n4CallAddbackBeqQHatV4_le_128_div_plus_one_of_rhatdd_hi_zero",
"text": "/-- Marker-name adapter for the v4 128/64 `+1` upper bound.\n\n This is not yet the compact `n4CallAddbackBeqRuntimeBounds` qhat\n obligation, whose denominator is the full normalized divisor. It exposes\n the proven... | [
{
"name": "n4CallAddbackBeqQHatV4_le_norm_div_plus_one_of_call_rhatdd_hi_zero",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 5,
"n_lines": 35,
"n_chars": 1515,
"n_subproofs": 1,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structura... | 5 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -107,6 +107,54 @@
n4CallAddbackBeqB3Prime, n4CallAddbackBeqShift,
n4CallAddbackBeqAntiShift] using h
+/-- Marker-name adapter for the v4 128/64 `+1` upper bound.
+
+ This is not yet the compact `n4CallAddbackBeqRuntimeBounds` qhat
+ obligation, whose denominator is the full normalized divisor. It e... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_9 | 55562ddd1341fdab | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 4 | [
{
"theorem_name": "n4CallAddbackBeqUn21_lt_vTop_of_call",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqUn21_lt_vTop_of_lt_b3prime\n (n4CallAddbackBeqUn21_lt_b3prime_of_call hb3nz hshift_nz ... | [
{
"name": "n4CallAddbackBeqUn21_lt_b3prime_of_call",
"text": "/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized\n top divisor limb on the n=4 call path. -/\ntheorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}\n (hb3nz : b.getLimbN 3 ≠ 0)\n (hshift_nz : (clzResult ... | [
{
"name": "n4CallAddbackBeqQHatV4_le_norm_div_plus_one_of_floor_call_rhatdd_hi_zero",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 34,
"n_chars": 1431,
"n_subproofs": 1,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_str... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -87,6 +87,26 @@
simpa [n4CallAddbackBeqU4, n4CallAddbackBeqAntiShift,
n4CallAddbackBeqShift] using h
+/-- The v4 Phase-1b `un21` intermediate is strictly below the normalized
+ top divisor limb on the n=4 call path. -/
+theorem n4CallAddbackBeqUn21_lt_b3prime_of_call {a b : EvmWord}
+ (hb3nz : b.getL... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_10 | 81f1588477c7e1c4 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime",
"depth": 1,
"n_commands": 0,
"n_lines": 15,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact iterWithDoubleAddback_val256_conservation_of_carry2\n (n4Cal... | [
{
"name": "n4CallAddbackBeqCarry2Nz_of_runtime",
"text": "/-- The packaged v4 n=4 call-addback runtime carry2 predicate is the raw\n double-addback progress predicate over the normalized marker limbs. -/\ntheorem n4CallAddbackBeqCarry2Nz_of_runtime {a b : EvmWord}\n (h_carry2 : isAddbackCarry2NzN4Call... | [
{
"name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 70,
"n_chars": 2519,
"n_subproofs": 0,
"n_tactics": 15,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -15,6 +15,32 @@
namespace EvmWord
+/-- The packaged v4 n=4 call-addback runtime carry2 predicate is the raw
+ double-addback progress predicate over the normalized marker limbs. -/
+theorem n4CallAddbackBeqCarry2Nz_of_runtime {a b : EvmWord}
+ (h_carry2 : isAddbackCarry2NzN4CallV4Evm a b) :
+ isAddback... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_11 | 7242e13665176e82 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact n4CallAddbackBeqIterWithDoubleAddback_val25... | [
{
"name": "n4CallAddbackBeqC3_eq_one_of_borrow_and_qhat_le_div_plus_one",
"text": "/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within\n one of the normalized true quotient, the raw borrow condition pins the\n mulsub carry-out to one. -/\ntheorem n4CallAddbackBeqC3_eq_one_of_b... | [
{
"name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 50,
"n_chars": 1907,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrite... | 3 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -95,6 +95,52 @@
n4CallAddbackBeqULoNormVal a b / n4CallAddbackBeqBNormVal b + 1 ∧
n4CallAddbackBeqIterRNormVal a b < n4CallAddbackBeqBNormVal b
+/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within
+ one of the normalized true quotient, the raw borrow condition pins the
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_12 | fb72a2f37903f80b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 12 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact n4CallAddbackBeqIterWithDoubleAddback_val25... | [
{
"name": "n4CallAddbackBeqC3_eq_one_of_borrow_and_qhat_le_div_plus_one",
"text": "/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within\n one of the normalized true quotient, the raw borrow condition pins the\n mulsub carry-out to one. -/\ntheorem n4CallAddbackBeqC3_eq_one_of_b... | [
{
"name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_top_nonzero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 5,
"n_lines": 48,
"n_chars": 1779,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
... | 5 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -110,6 +110,52 @@
n4CallAddbackBeqULoNormVal a b / n4CallAddbackBeqBNormVal b + 1 ∧
n4CallAddbackBeqIterRNormVal a b < n4CallAddbackBeqBNormVal b
+/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within
+ one of the normalized true quotient, the raw borrow condition pins the
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_13 | c7d7c90c690ce3e8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 13 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact n4CallAddbackBeqIterWithDoubleAddback_val25... | [
{
"name": "n4CallAddbackBeqC3_eq_one_of_borrow_and_qhat_le_div_plus_one",
"text": "/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within\n one of the normalized true quotient, the raw borrow condition pins the\n mulsub carry-out to one. -/\ntheorem n4CallAddbackBeqC3_eq_one_of_b... | [
{
"name": "n4CallAddbackBeqIterRNormVal_lt_BNormVal_of_runtime",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 41,
"n_chars": 1578,
"n_subproofs": 3,
"n_tactics": 19,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"au... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -130,6 +130,52 @@
n4CallAddbackBeqULoNormVal a b / n4CallAddbackBeqBNormVal b + 1 ∧
n4CallAddbackBeqIterRNormVal a b < n4CallAddbackBeqBNormVal b
+/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within
+ one of the normalized true quotient, the raw borrow condition pins the
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_14 | e2d23110e7bcabc2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact n4CallAddbackBeqIterWithDoubleAddback_val25... | [
{
"name": "n4CallAddbackBeqC3_eq_one_of_borrow_and_qhat_le_div_plus_one",
"text": "/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within\n one of the normalized true quotient, the raw borrow condition pins the\n mulsub carry-out to one. -/\ntheorem n4CallAddbackBeqC3_eq_one_of_b... | [
{
"name": "n4CallAddbackBeqIterRNormVal_lt_BNormVal_of_runtime_top_nonzero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 17,
"n_chars": 730,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": ... | 4 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -145,6 +145,52 @@
n4CallAddbackBeqULoNormVal a b / n4CallAddbackBeqBNormVal b + 1 ∧
n4CallAddbackBeqIterRNormVal a b < n4CallAddbackBeqBNormVal b
+/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within
+ one of the normalized true quotient, the raw borrow condition pins the
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_15 | 35f082efacf04b3e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact n4CallAddbackBeqIterWithDoubleAddback_val25... | [
{
"name": "n4CallAddbackBeqC3_eq_one_of_borrow_and_qhat_le_div_plus_one",
"text": "/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within\n one of the normalized true quotient, the raw borrow condition pins the\n mulsub carry-out to one. -/\ntheorem n4CallAddbackBeqC3_eq_one_of_b... | [
{
"name": "n4CallAddbackBeqRuntimeBounds_of_qhat_bound_and_borrow",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 5,
"n_lines": 15,
"n_chars": 576,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"a... | 5 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -145,6 +145,52 @@
n4CallAddbackBeqULoNormVal a b / n4CallAddbackBeqBNormVal b + 1 ∧
n4CallAddbackBeqIterRNormVal a b < n4CallAddbackBeqBNormVal b
+/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within
+ one of the normalized true quotient, the raw borrow condition pins the
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_16 | 14ef03b997538da3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact n4CallAddbackBeqIterWithDoubleAddback_val25... | [
{
"name": "n4CallAddbackBeqC3_eq_one_of_borrow_and_qhat_le_div_plus_one",
"text": "/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within\n one of the normalized true quotient, the raw borrow condition pins the\n mulsub carry-out to one. -/\ntheorem n4CallAddbackBeqC3_eq_one_of_b... | [
{
"name": "n4CallAddbackBeqQOutV4_val256_conservation_of_runtime_top_nonzero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 8,
"n_lines": 50,
"n_chars": 1884,
"n_subproofs": 1,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural... | 8 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -189,6 +189,52 @@
n4CallAddbackBeqULoNormVal a b / n4CallAddbackBeqBNormVal b + 1 ∧
n4CallAddbackBeqIterRNormVal a b < n4CallAddbackBeqBNormVal b
+/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within
+ one of the normalized true quotient, the raw borrow condition pins the
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_17 | 5a6eba875f588bca | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact n4CallAddbackBeqIterWithDoubleAddback_val25... | [
{
"name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime",
"text": "/-- Runtime-condition wrapper for double-addback value conservation over the\n normalized n=4 v4 call+addback marker limbs. -/\ntheorem n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime\n {a b... | [
{
"name": "n4CallAddbackBeqQOutV4_conservation_compact",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 9,
"n_lines": 28,
"n_chars": 1123,
"n_subproofs": 1,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_... | 9 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -235,6 +235,75 @@
rw [h_zero] at h_borrow
simp [BitVec.ult] at h_borrow
+/-- Runtime-condition wrapper for double-addback value conservation over the
+ normalized n=4 v4 call+addback marker limbs. -/
+theorem n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime
+ {a b : EvmWord}
+ (h... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_18 | 1308980cdb1568a9 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_top_nonzero",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact n4CallAddbackBeqIterWithDoubleAddback_val256_conserv... | [
{
"name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"text": "/-- Runtime-condition value conservation using a normalized `qHat ≤ qTrue + 1`\n bound to discharge the c3=1-on-borrow side condition. -/\ntheorem n4CallAddbackBeqIterWithDoubleAddback_val256_c... | [
{
"name": "n4CallAddbackBeqQOutV4_toNat_eq_normalized_div_of_runtime_top_nonzero",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 12,
"n_lines": 31,
"n_chars": 1253,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_struc... | 12 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -315,6 +315,55 @@
hc3_one_of_borrow
(n4CallAddbackBeqCarry2Nz_of_runtime h_carry2)
+/-- Runtime-condition value conservation using a normalized `qHat ≤ qTrue + 1`
+ bound to discharge the c3=1-on-borrow side condition. -/
+theorem n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qh... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_19 | 500faa318744f439 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 19 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqQOutV4_val256_conservation_of_runtime_top_nonzero",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h := n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_ru... | [
{
"name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_top_nonzero",
"text": "/-- Runtime-condition value conservation with the original top-limb nonzero\n runtime condition discharging normalized divisor nonzero. -/\ntheorem n4CallAddbackBeqIterWithDoubleAddback_val256_conservat... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 13,
"n_lines": 30,
"n_chars": 1224,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 2,
... | 13 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -364,6 +364,53 @@
(n4CallAddbackBeqC3_eq_one_of_borrow_and_qhat_le_div_plus_one hbnz hq_over)
h_carry2
+/-- Runtime-condition value conservation with the original top-limb nonzero
+ runtime condition discharging normalized divisor nonzero. -/
+theorem n4CallAddbackBeqIterWithDoubleAddback_val256_conse... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_20 | ce4359d96ce33f2d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 20 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqQOutV4_toNat_eq_normalized_div_of_runtime_top_nonzero",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact quotient_eq_div_of_mul_add_remainder_lt\n (by\n simpa [... | [
{
"name": "n4CallAddbackBeqQOutV4_conservation_compact",
"text": "/-- Compact form of the runtime-condition value conservation theorem. -/\ntheorem n4CallAddbackBeqQOutV4_conservation_compact\n {a b : EvmWord}\n (hb3nz : b.getLimbN 3 ≠ 0)\n (hq_over :\n (n4CallAddbackBeqQHatV4 a b).toNat ≤\n ... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 15,
"n_lines": 27,
"n_chars": 1101,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"... | 15 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -460,6 +460,33 @@
rw [n4CallAddbackBeqIterWithDoubleAddback_qOutV4_of_runtime_borrow h_borrow] at h
exact h
+/-- Compact form of the runtime-condition value conservation theorem. -/
+theorem n4CallAddbackBeqQOutV4_conservation_compact
+ {a b : EvmWord}
+ (hb3nz : b.getLimbN 3 ≠ 0)
+ (hq_over :
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_21 | 2b6d934b83795da1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 21 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqQOutV4_toNat_eq_normalized_div_of_runtime_top_nonzero",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact quotient_eq_div_of_mul_add_remainder_lt\n (by\n simpa [... | [
{
"name": "quotient_eq_div_of_mul_add_remainder_lt",
"text": "/-- Pure quotient extraction for the call-addback conservation shape. -/\ntheorem quotient_eq_div_of_mul_add_remainder_lt {aVal bVal qVal rVal : Nat}\n (hb_pos : 0 < bVal)\n (h_eq : aVal = qVal * bVal + rVal)\n (h_rem_lt : rVal < bVal) :... | [
{
"name": "n4CallAddbackBeqSemanticHolds_of_runtime_conditions",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 16,
"n_lines": 27,
"n_chars": 1100,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"au... | 16 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -487,6 +487,18 @@
n4CallAddbackBeqIterRNormVal, n4CallAddbackBeqIterOut] at h ⊢
simpa [Nat.add_assoc] using h
+/-- Pure quotient extraction for the call-addback conservation shape. -/
+theorem quotient_eq_div_of_mul_add_remainder_lt {aVal bVal qVal rVal : Nat}
+ (hb_pos : 0 < bVal)
+ (h_eq : aVal = q... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_22 | 78ef8549008dd440 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 22 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqQOutV4_toNat_eq_normalized_div_of_runtime_top_nonzero",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact quotient_eq_div_of_mul_add_remainder_lt\n (by\n simpa [... | [
{
"name": "quotient_eq_div_of_mul_add_remainder_lt",
"text": "/-- Pure quotient extraction for the call-addback conservation shape. -/\ntheorem quotient_eq_div_of_mul_add_remainder_lt {aVal bVal qVal rVal : Nat}\n (hb_pos : 0 < bVal)\n (h_eq : aVal = qVal * bVal + rVal)\n (h_rem_lt : rVal < bVal) :... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions_compact",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 16,
"n_lines": 20,
"n_chars": 854,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0... | 16 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -487,6 +487,18 @@
n4CallAddbackBeqIterRNormVal, n4CallAddbackBeqIterOut] at h ⊢
simpa [Nat.add_assoc] using h
+/-- Pure quotient extraction for the call-addback conservation shape. -/
+theorem quotient_eq_div_of_mul_add_remainder_lt {aVal bVal qVal rVal : Nat}
+ (hb_pos : 0 < bVal)
+ (h_eq : aVal = q... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_23 | ba559eb8fc7cd68f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 23 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n apply n4CallAddbackBeqSemanticHoldsV4_of_qOutV4_toNat_eq_qTrue\n rw [n4CallAddbackB... | [
{
"name": "n4CallAddbackBeqQOutV4_toNat_eq_normalized_div_of_runtime_top_nonzero",
"text": "/-- Runtime-condition quotient extraction from the compact conservation shape,\n assuming the compact normalized remainder is below the normalized divisor. -/\ntheorem n4CallAddbackBeqQOutV4_toNat_eq_normalized_di... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_bounds",
"fan_in": 5,
"n_deps_direct": 1,
"n_deps_transitive": 17,
"n_lines": 14,
"n_chars": 605,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"autom... | 17 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -499,6 +499,36 @@
rw [Nat.div_eq_of_lt h_rem_lt]
rw [Nat.zero_add]
+/-- Runtime-condition quotient extraction from the compact conservation shape,
+ assuming the compact normalized remainder is below the normalized divisor. -/
+theorem n4CallAddbackBeqQOutV4_toNat_eq_normalized_div_of_runtime_top_nonzero
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_24 | 7f340c248f07069b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 24 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero\n hb3nz hq_over h_borrow h_car... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero",
"text": "/-- Runtime-condition semantic bridge after the normalized quotient target has\n been identified with the original unnormalized `qTrue`. -/\ntheorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero\n {a b : EvmWord}\n ... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_qhat_bound_and_borrow",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 21,
"n_lines": 19,
"n_chars": 764,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
... | 21 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -627,6 +627,35 @@
(b.getLimbN 0) (b.getLimbN 1) (b.getLimbN 2) (b.getLimbN 3)
(clzResult (b.getLimbN 3)).1.toNat
+/-- Runtime-condition semantic bridge after the normalized quotient target has
+ been identified with the original unnormalized `qTrue`. -/
+theorem n4CallAddbackBeqSemanticHoldsV4_of_runt... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_25 | 67ac3a7fdc72e14a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 25 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqRuntimeBounds_of_qhat_bound_and_borrow",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n ⟨hq_over,\n n4CallAddbackBeqIterRNormVal_lt_BNormVal_of_runtime_top_nonzero\n h... | [
{
"name": "n4CallAddbackBeqIterRNormVal_lt_BNormVal_of_runtime_top_nonzero",
"text": "/-- Runtime-condition normalized remainder bound with the original top-limb\n nonzero condition discharging normalized divisor nonzero. -/\ntheorem n4CallAddbackBeqIterRNormVal_lt_BNormVal_of_runtime_top_nonzero\n {a... | [
{
"name": "n4CallAddbackBeqRuntimeBounds_of_floor_eq_and_borrow",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 7,
"n_lines": 24,
"n_chars": 981,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"aut... | 7 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -253,6 +253,22 @@
simpa [n4CallAddbackBeqIterRNormVal, n4CallAddbackBeqIterOut,
n4CallAddbackBeqBNormVal] using h
+/-- Runtime-condition normalized remainder bound with the original top-limb
+ nonzero condition discharging normalized divisor nonzero. -/
+theorem n4CallAddbackBeqIterRNormVal_lt_BNormVal_... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_26 | bc31620d24fe72c3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 26 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHolds_of_runtime_conditions",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simpa [n4CallAddbackBeqSemanticHolds_eq_v4] using\n n4CallAddbackBeqSemanticHoldsV4_... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"text": "/-- Runtime-condition semantic bridge after discharging the normalized-divisor\n scaling step from the CLZ shift nonzero condition. -/\ntheorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions\n {a b : EvmWord}\n (hb3n... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_floor_eq_and_borrow",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 23,
"n_lines": 26,
"n_chars": 1084,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
... | 23 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -678,6 +678,32 @@
hb3nz hq_over h_borrow h_carry2 h_rem_lt]
exact h_norm_div
+/-- Runtime-condition semantic bridge after discharging the normalized-divisor
+ scaling step from the CLZ shift nonzero condition. -/
+theorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions
+ {a b : EvmWord}
+ (h... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_27 | acc767eba5e4f6be | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 27 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqRuntimeBounds_of_qhat_bound_and_borrow",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n ⟨hq_over,\n n4CallAddbackBeqIterRNormVal_lt_BNormVal_of_runtime_top_nonzero\n h... | [
{
"name": "n4CallAddbackBeqIterRNormVal_lt_BNormVal_of_runtime_top_nonzero",
"text": "/-- Runtime-condition normalized remainder bound with the original top-limb\n nonzero condition discharging normalized divisor nonzero. -/\ntheorem n4CallAddbackBeqIterRNormVal_lt_BNormVal_of_runtime_top_nonzero\n {a... | [
{
"name": "n4CallAddbackBeqRuntimeBounds_of_exact_floor_call_rhatdd_hi_zero_and_borrow",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 11,
"n_lines": 33,
"n_chars": 1381,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n... | 11 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -334,6 +334,22 @@
simpa [n4CallAddbackBeqIterRNormVal, n4CallAddbackBeqIterOut,
n4CallAddbackBeqBNormVal] using h
+/-- Runtime-condition normalized remainder bound with the original top-limb
+ nonzero condition discharging normalized divisor nonzero. -/
+theorem n4CallAddbackBeqIterRNormVal_lt_BNormVal_... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_28 | 68f254d464531791 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 28 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero\n hb3nz hq_over h_borrow h_car... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero",
"text": "/-- Runtime-condition semantic bridge after the normalized quotient target has\n been identified with the original unnormalized `qTrue`. -/\ntheorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero\n {a b : EvmWord}\n ... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_exact_floor_call_rhatdd_hi_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 27,
"n_lines": 34,
"n_chars": 1467,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structur... | 27 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -730,6 +730,35 @@
(b.getLimbN 0) (b.getLimbN 1) (b.getLimbN 2) (b.getLimbN 3)
(clzResult (b.getLimbN 3)).1.toNat
+/-- Runtime-condition semantic bridge after the normalized quotient target has
+ been identified with the original unnormalized `qTrue`. -/
+theorem n4CallAddbackBeqSemanticHoldsV4_of_runt... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_29 | 72079ab133a36f6e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 29 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHolds_of_runtime_conditions",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simpa [n4CallAddbackBeqSemanticHolds_eq_v4] using\n n4CallAddbackBeqSemanticHoldsV4_... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"text": "/-- Runtime-condition semantic bridge after discharging the normalized-divisor\n scaling step from the CLZ shift nonzero condition. -/\ntheorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions\n {a b : EvmWord}\n (hb3n... | [
{
"name": "n4CallAddbackBeqSemanticHolds_of_floor_eq_and_borrow",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 24,
"n_lines": 24,
"n_chars": 1045,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"a... | 24 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -678,6 +678,32 @@
hb3nz hq_over h_borrow h_carry2 h_rem_lt]
exact h_norm_div
+/-- Runtime-condition semantic bridge after discharging the normalized-divisor
+ scaling step from the CLZ shift nonzero condition. -/
+theorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions
+ {a b : EvmWord}
+ (h... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_30 | c06b79dd6100103d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 30 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHolds_of_runtime_conditions",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simpa [n4CallAddbackBeqSemanticHolds_eq_v4] using\n n4CallAddbackBeqSemanticHoldsV4_... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"text": "/-- Runtime-condition semantic bridge after discharging the normalized-divisor\n scaling step from the CLZ shift nonzero condition. -/\ntheorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions\n {a b : EvmWord}\n (hb3n... | [
{
"name": "n4CallAddbackBeqSemanticHolds_of_exact_floor_call_rhatdd_hi_zero",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 28,
"n_lines": 32,
"n_chars": 1411,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural... | 28 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -759,6 +759,32 @@
hb3nz hq_over h_borrow h_carry2 h_rem_lt]
exact h_norm_div
+/-- Runtime-condition semantic bridge after discharging the normalized-divisor
+ scaling step from the CLZ shift nonzero condition. -/
+theorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions
+ {a b : EvmWord}
+ (h... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_31 | d2cb2d1896d428e8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 31 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqIterWithDoubleAddback_val256_conservation_of_runtime_qhat_le_div_plus_one",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact n4CallAddbackBeqIterWithDoubleAddback_val25... | [
{
"name": "n4CallAddbackBeqC3_eq_one_of_borrow_and_qhat_le_div_plus_one",
"text": "/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within\n one of the normalized true quotient, the raw borrow condition pins the\n mulsub carry-out to one. -/\ntheorem n4CallAddbackBeqC3_eq_one_of_b... | [
{
"name": "n4CallAddbackBeqRuntimeBounds_of_floor_call_rhatdd_hi_zero_and_borrow",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 10,
"n_lines": 37,
"n_chars": 1518,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struc... | 10 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -257,6 +257,52 @@
hb3nz hshift_nz hcall hUn21_lt_pow63 h_rhat_hi_zero
omega
+/-- Runtime-normalized c3 bridge: if the normalized trial quotient is within
+ one of the normalized true quotient, the raw borrow condition pins the
+ mulsub carry-out to one. -/
+theorem n4CallAddbackBeqC3_eq_one_of_borr... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_32 | bb4c818bd2d5bedd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 32 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero\n hb3nz hq_over h_borrow h_car... | [
{
"name": "n4CallAddbackBeqNormalized_div_eq_qTrue",
"text": "/-- The compact normalized quotient target is the original unnormalized\n `qTrue`, since both dividend and divisor were scaled by the same CLZ\n normalization factor. -/\ntheorem n4CallAddbackBeqNormalized_div_eq_qTrue\n {a b : EvmWord}\... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_floor_call_rhatdd_hi_zero",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 26,
"n_lines": 37,
"n_chars": 1530,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0... | 26 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -711,6 +711,34 @@
hb3nz hq_over h_borrow h_carry2)
h_rem_lt
+/-- The compact normalized quotient target is the original unnormalized
+ `qTrue`, since both dividend and divisor were scaled by the same CLZ
+ normalization factor. -/
+theorem n4CallAddbackBeqNormalized_div_eq_qTrue
+ {a b : EvmWo... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_33 | a8cf9e0a76f9e10d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 33 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 1 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero\n hb3nz hq_over h_borrow h_car... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero",
"text": "/-- Runtime-condition semantic bridge after the normalized quotient target has\n been identified with the original unnormalized `qTrue`. -/\ntheorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_top_nonzero\n {a b : EvmWord}\n ... | [
{
"name": "n4CallAddbackBeqSemanticHolds_of_floor_call_rhatdd_hi_zero",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 27,
"n_lines": 32,
"n_chars": 1322,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
... | 27 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -739,6 +739,35 @@
(b.getLimbN 0) (b.getLimbN 1) (b.getLimbN 2) (b.getLimbN 3)
(clzResult (b.getLimbN 3)).1.toNat
+/-- Runtime-condition semantic bridge after the normalized quotient target has
+ been identified with the original unnormalized `qTrue`. -/
+theorem n4CallAddbackBeqSemanticHoldsV4_of_runt... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_34 | c18ade65d40d86d1 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 34 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHolds_of_runtime_conditions",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simpa [n4CallAddbackBeqSemanticHolds_eq_v4] using\n n4CallAddbackBeqSemanticHoldsV4_... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"text": "/-- Runtime-condition semantic bridge after discharging the normalized-divisor\n scaling step from the CLZ shift nonzero condition. -/\ntheorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions\n {a b : EvmWord}\n (hb3n... | [
{
"name": "n4CallAddbackBeqSemanticHolds_of_runtime_bounds",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 18,
"n_lines": 15,
"n_chars": 609,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automat... | 18 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -586,6 +586,32 @@
hb3nz hq_over h_borrow h_carry2 h_rem_lt]
exact h_norm_div
+/-- Runtime-condition semantic bridge after discharging the normalized-divisor
+ scaling step from the CLZ shift nonzero condition. -/
+theorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions
+ {a b : EvmWord}
+ (h... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_798623831633_35 | 28c24989d981c429 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/CallAddbackRuntime.lean | CallAddbackRuntime | 35 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 38 | 2 | [
{
"theorem_name": "n4CallAddbackBeqSemanticHolds_of_runtime_conditions",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simpa [n4CallAddbackBeqSemanticHolds_eq_v4] using\n n4CallAddbackBeqSemanticHoldsV4_... | [
{
"name": "n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions",
"text": "/-- Runtime-condition semantic bridge after discharging the normalized-divisor\n scaling step from the CLZ shift nonzero condition. -/\ntheorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions\n {a b : EvmWord}\n (hb3n... | [
{
"name": "n4CallAddbackBeqSemanticHolds_of_qhat_bound_and_borrow",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 22,
"n_lines": 17,
"n_chars": 711,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"... | 22 | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | /-
EvmAsm.Evm64.DivMod.Spec.CallAddbackRuntime
Runtime-condition bridges for the n=4 v4 call+addback semantic marker.
-/
import EvmAsm.Evm64.DivMod.Spec.CallAddback
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.Un21Bound
import EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV4.UpperBound
import EvmAsm.Evm64.... | @@ -656,6 +656,32 @@
hb3nz hq_over h_borrow h_carry2 h_rem_lt]
exact h_norm_div
+/-- Runtime-condition semantic bridge after discharging the normalized-divisor
+ scaling step from the CLZ shift nonzero condition. -/
+theorem n4CallAddbackBeqSemanticHoldsV4_of_runtime_conditions
+ {a b : EvmWord}
+ (h... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_6b94d154dc20_0 | c134eeb921322742 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV5/Un21Bound.lean | Un21Bound | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 2 | [
{
"theorem_name": "divKTrialCallV5Un21_lt_vTop",
"depth": 1,
"n_commands": 0,
"n_lines": 84,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [divKTrialCallV5Un21_unfold]\n dsimp only []\n -- Name the irreducible pieces.\n set Q := divKTrialCallV... | [
{
"name": "divKTrialCallV5Q1dd_dLo_no_wrap",
"text": "/-- `Q1dd * dLo` no-wrap at the irreducible level. Lifts V5.4.0.13's\n algorithm-level bound (Q1d * dLo ≤ Q1d * dLo < 2^32 * 2^32) through\n `div128Quot_phase2b_q0'`'s monotonicity (Q1dd ≤ Q1d). -/\ntheorem divKTrialCallV5Q1dd_dLo_no_wrap (uHi uLo ... | [
{
"name": "divKTrialCallV5Un21_lt_vTop",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 95,
"n_chars": 5022,
"n_subproofs": 31,
"n_tactics": 77,
"cyclomatic": 2,
"n_automation": 19,
"n_rewrites": 12,
"n_structural": 6,
"automation_only": false... | 2 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.Un21Bound
V5.4.3 prereq: `Q1dd * dLo` no-wrap helper at the irreducible level
(lifts V5.4.0.13's algorithm-level no-wrap through the
`div128Quot_phase2b_q0'` step).
V5.4.3 (`divKTrialCallV5Un21 < vTop`) itself has a non-trivial proof
via the algebraic iden... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.Un21Bound
V5.4.3 prereq: `Q1dd * dLo` no-wrap helper at the irreducible level
(lifts V5.4.0.13's algorithm-level no-wrap through the
`div128Quot_phase2b_q0'` step).
V5.4.3 (`divKTrialCallV5Un21 < vTop`) itself has a non-trivial proof
via the algebraic iden... | @@ -22,6 +22,72 @@
open EvmAsm.Rv64
+/-- `Q1dd * dLo` no-wrap at the irreducible level. Lifts V5.4.0.13's
+ algorithm-level bound (Q1d * dLo ≤ Q1d * dLo < 2^32 * 2^32) through
+ `div128Quot_phase2b_q0'`'s monotonicity (Q1dd ≤ Q1d). -/
+theorem divKTrialCallV5Q1dd_dLo_no_wrap (uHi uLo vTop : Word) :
+ (div... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_6b94d154dc20_1 | c84abe51afd1b45c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV5/Un21Bound.lean | Un21Bound | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 2 | [
{
"theorem_name": "divKTrialCallV5Un21_lt_vTop",
"depth": 1,
"n_commands": 0,
"n_lines": 84,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [divKTrialCallV5Un21_unfold]\n dsimp only []\n -- Name the irreducible pieces.\n set Q := divKTrialCallV... | [
{
"name": "divKTrialCallV5Q1dd_dLo_no_wrap",
"text": "/-- `Q1dd * dLo` no-wrap at the irreducible level. Lifts V5.4.0.13's\n algorithm-level bound (Q1d * dLo ≤ Q1d * dLo < 2^32 * 2^32) through\n `div128Quot_phase2b_q0'`'s monotonicity (Q1dd ≤ Q1d). -/\ntheorem divKTrialCallV5Q1dd_dLo_no_wrap (uHi uLo ... | [
{
"name": "divKTrialCallV5Un21_eq_r1",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 81,
"n_chars": 4364,
"n_subproofs": 32,
"n_tactics": 82,
"cyclomatic": 2,
"n_automation": 21,
"n_rewrites": 13,
"n_structural": 4,
"automation_only": false,
... | 2 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.Un21Bound
V5.4.3 prereq: `Q1dd * dLo` no-wrap helper at the irreducible level
(lifts V5.4.0.13's algorithm-level no-wrap through the
`div128Quot_phase2b_q0'` step).
V5.4.3 (`divKTrialCallV5Un21 < vTop`) itself has a non-trivial proof
via the algebraic iden... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.Un21Bound
V5.4.3 prereq: `Q1dd * dLo` no-wrap helper at the irreducible level
(lifts V5.4.0.13's algorithm-level no-wrap through the
`div128Quot_phase2b_q0'` step).
V5.4.3 (`divKTrialCallV5Un21 < vTop`) itself has a non-trivial proof
via the algebraic iden... | @@ -22,6 +22,72 @@
open EvmAsm.Rv64
+/-- `Q1dd * dLo` no-wrap at the irreducible level. Lifts V5.4.0.13's
+ algorithm-level bound (Q1d * dLo ≤ Q1d * dLo < 2^32 * 2^32) through
+ `div128Quot_phase2b_q0'`'s monotonicity (Q1dd ≤ Q1d). -/
+theorem divKTrialCallV5Q1dd_dLo_no_wrap (uHi uLo vTop : Word) :
+ (div... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ba4a95ba4c0_0 | c01b62eb49b1c2a2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Sgt/Spec.lean | Spec | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "evm_sgt_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 23,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro borrow0 borrow1a temp1 borrow1b borrow1 borrow2a temp2 borrow2b borrow2 sgtMsb result\n have h_main := ev... | [
{
"name": "evm_sgt_spec_within",
"text": "/-- Full 256-bit EVM SGT: SGT(a, b) = 1 iff a >s b (signed).\n Computed as SLT(b, a): signed compare MSB limbs (b3 vs a3),\n if equal, unsigned borrow chain on lower 3 limbs (b - a).\n Pops 2 stack words (A at sp, B at sp+32),\n writes result to sp+32..s... | [
{
"name": "evm_sgt_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 53,
"n_chars": 2822,
"n_subproofs": 1,
"n_tactics": 23,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
... | 1 | /-
EvmAsm.Evm64.Sgt.Spec
Full 256-bit EVM SGT (Signed Greater Than) spec composed from per-limb specs.
SGT(a, b) = SLT(b, a): load b-limbs into x7, a-limbs into x6 (swapped).
25 instructions total (3 MSB check + 2 signed path OR 15 borrow chain + 5 store).
Algorithm: Compare MSB limbs (limb 3) with signed R... | /-
EvmAsm.Evm64.Sgt.Spec
Full 256-bit EVM SGT (Signed Greater Than) spec composed from per-limb specs.
SGT(a, b) = SLT(b, a): load b-limbs into x7, a-limbs into x6 (swapped).
25 instructions total (3 MSB check + 2 signed path OR 15 borrow chain + 5 store).
Algorithm: Compare MSB limbs (limb 3) with signed R... | @@ -30,6 +30,86 @@
abbrev evm_sgt_code (base : Word) : CodeReq :=
CodeReq.ofProg base evm_sgt
+/-- Full 256-bit EVM SGT: SGT(a, b) = 1 iff a >s b (signed).
+ Computed as SLT(b, a): signed compare MSB limbs (b3 vs a3),
+ if equal, unsigned borrow chain on lower 3 limbs (b - a).
+ Pops 2 stack words (A at ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_891180fc930f_0 | df3bbe245078f7dc | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/BitAux.lean | BitAux | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "word_add_even_and_one",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hsum0 : (base + K).getLsbD 0 = false := by\n rw [BitVec.getLsbD_add (by omega), getLsbD_zero_of_and_one hbas... | [
{
"name": "getLsbD_zero_of_and_one",
"text": "/-- `x &&& 1 = 0` is exactly \"bit 0 of `x` is clear\". -/\ntheorem getLsbD_zero_of_and_one {x : Word} (h : x &&& 1 = 0) :\n x.getLsbD 0 = false := by\n have h0 : (x &&& 1).getLsbD 0 = (0 : Word).getLsbD 0 := by rw [h]\n rw [BitVec.getLsbD_and] at h0\n rw ... | [
{
"name": "word_add_even_and_one",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 16,
"n_chars": 634,
"n_subproofs": 1,
"n_tactics": 14,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 6,
"n_structural": 2,
"automation_only": false,
"max... | 1 | /-
EvmAsm.Rv64.BitAux
Shared `Word` (= `BitVec 64`) bit-level helper lemmas distilled from the
`bv_decide` elimination. Before this file, the small lemmas below were copied
verbatim as `private` declarations into `Evm64/SDiv/Compose/Words.lean` and
`Evm64/SMod/Compose/Words.lean`; they now live here once.
... | /-
EvmAsm.Rv64.BitAux
Shared `Word` (= `BitVec 64`) bit-level helper lemmas distilled from the
`bv_decide` elimination. Before this file, the small lemmas below were copied
verbatim as `private` declarations into `Evm64/SDiv/Compose/Words.lean` and
`Evm64/SMod/Compose/Words.lean`; they now live here once.
... | @@ -22,12 +22,23 @@
/-! ## Small `Word` simp helpers (shared; previously duplicated) -/
+/-- `x &&& 1 = 0` is exactly "bit 0 of `x` is clear". -/
+theorem getLsbD_zero_of_and_one {x : Word} (h : x &&& 1 = 0) :
+ x.getLsbD 0 = false := by
+ have h0 : (x &&& 1).getLsbD 0 = (0 : Word).getLsbD 0 := by rw [h]
+ 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_5a8e02416105_0 | 30a4b22979b3f99d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bn254PrecompileResultBridge.lean | Bn254PrecompileResultBridge | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "pairingOutputBytes_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [pairingOutputBytes, zeroPad31_length]",
"n_chars": 49,
"n_subproofs": 0,
"n_tactics": 2,
"c... | [
{
"name": "zeroPad31_length",
"text": "theorem zeroPad31_length : zeroPad31.length = 31 := by\n simp [zeroPad31]\n\n",
"fan_in": 1,
"n_lines": 4,
"n_chars": 75,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
... | [
{
"name": "pairingOutputBytes_length",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 5,
"n_chars": 153,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"ma... | 1 | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | @@ -62,8 +62,12 @@
def gasRemainingAfterCost (input : EvmAsm.Evm64.PrecompileInput) (cost : Nat) : Nat :=
input.gas - cost
+theorem zeroPad31_length : zeroPad31.length = 31 := by
+ simp [zeroPad31]
+
theorem pairingOutputBytes_length (verified : Bool) :
- (pairingOutputBytes verified).length = 32 := sorry
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_5a8e02416105_1 | d8b76315e0bd9284 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bn254PrecompileResultBridge.lean | Bn254PrecompileResultBridge | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "pairingOutputBytesFromResult_length",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [pairingOutputBytesFromResult, pairingOutputBytes_length]",
"n_chars": 68,
"n_subproofs": ... | [
{
"name": "pairingOutputBytes_length",
"text": "theorem pairingOutputBytes_length (verified : Bool) :\n (pairingOutputBytes verified).length = 32 := by\n simp [pairingOutputBytes, zeroPad31_length]\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 153,
"n_subproofs": 0,
"n_tactics": 2,
... | [
{
"name": "pairingOutputBytesFromResult_length",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 6,
"n_chars": 230,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": tru... | 2 | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | @@ -65,9 +65,14 @@
theorem zeroPad31_length : zeroPad31.length = 31 := by
simp [zeroPad31]
+theorem pairingOutputBytes_length (verified : Bool) :
+ (pairingOutputBytes verified).length = 32 := by
+ simp [pairingOutputBytes, zeroPad31_length]
+
theorem pairingOutputBytesFromResult_length
(result : Bn254P... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_5a8e02416105_2 | ced98082397426bd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bn254PrecompileResultBridge.lean | Bn254PrecompileResultBridge | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "fromAddResult_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fromAddResult_eok h_status]\n simp [addOutputBytes_length]",
"n_chars": 68,
"n_subproofs": 0,
... | [
{
"name": "fromAddResult_eok",
"text": "theorem fromAddResult_eok\n {gasRemaining : Nat} {result : Bn254G1AddEcallBridge.Bn254G1AddResult}\n (h_status : result.status = .eok) :\n fromAddResult gasRemaining result =\n EvmAsm.Evm64.PrecompileResult.ok (addOutputBytes result) gasRemaining := by\n... | [
{
"name": "fromAddResult_output_length",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 282,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
... | 2 | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | @@ -67,6 +67,13 @@
simp [addOutputBytes, Bn254G1AddEcallBridge.outputBytesList,
Bn254G1AddResultBridge.outputBytesList_length]
+theorem fromAddResult_eok
+ {gasRemaining : Nat} {result : Bn254G1AddEcallBridge.Bn254G1AddResult}
+ (h_status : result.status = .eok) :
+ fromAddResult gasRemaining result ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_5a8e02416105_3 | 383fbc3e3ce6c9f8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bn254PrecompileResultBridge.lean | Bn254PrecompileResultBridge | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "fromMulResult_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fromMulResult_eok h_status]\n simp [mulOutputBytes_length]",
"n_chars": 68,
"n_subproofs": 0,
... | [
{
"name": "fromMulResult_eok",
"text": "theorem fromMulResult_eok\n {gasRemaining : Nat} {result : Bn254G1MulEcallBridge.Bn254G1MulResult}\n (h_status : result.status = .eok) :\n fromMulResult gasRemaining result =\n EvmAsm.Evm64.PrecompileResult.ok (mulOutputBytes result) gasRemaining := by\n... | [
{
"name": "fromMulResult_output_length",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 282,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
... | 2 | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | @@ -72,6 +72,13 @@
fromAddResult gasRemaining result = EvmAsm.Evm64.PrecompileResult.fail gasRemaining := by
simp [fromAddResult, h_status]
+theorem fromMulResult_eok
+ {gasRemaining : Nat} {result : Bn254G1MulEcallBridge.Bn254G1MulResult}
+ (h_status : result.status = .eok) :
+ fromMulResult gasRema... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_5a8e02416105_4 | d3759b296b8a5eba | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bn254PrecompileResultBridge.lean | Bn254PrecompileResultBridge | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "fromPairingResult_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fromPairingResult_eok h_status]\n simp [pairingOutputBytesFromResult_length]",
"n_chars": 86,
... | [
{
"name": "pairingOutputBytesFromResult_length",
"text": "theorem pairingOutputBytesFromResult_length\n (result : Bn254PairingEcallBridge.Bn254PairingResult) :\n (pairingOutputBytesFromResult result).length = 32 := by\n simp [pairingOutputBytesFromResult, pairingOutputBytes_length]\n\n",
"fan_in"... | [
{
"name": "fromPairingResult_output_length",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 8,
"n_chars": 312,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": false,
... | 4 | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | @@ -69,6 +69,11 @@
(pairingOutputBytes verified).length = 32 := by
simp [pairingOutputBytes, zeroPad31_length]
+theorem pairingOutputBytesFromResult_length
+ (result : Bn254PairingEcallBridge.Bn254PairingResult) :
+ (pairingOutputBytesFromResult result).length = 32 := by
+ simp [pairingOutputBytesFromR... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_5a8e02416105_5 | 66a006e797048b16 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bn254PrecompileResultBridge.lean | Bn254PrecompileResultBridge | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "fromAddResult_failure_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fromAddResult_efail h_status]\n rfl",
"n_chars": 45,
"n_subproofs": 0,
"n_tactics": 3,... | [
{
"name": "fromAddResult_efail",
"text": "theorem fromAddResult_efail\n {gasRemaining : Nat} {result : Bn254G1AddEcallBridge.Bn254G1AddResult}\n (h_status : result.status = .efail) :\n fromAddResult gasRemaining result = EvmAsm.Evm64.PrecompileResult.fail gasRemaining := by\n simp [fromAddResult, ... | [
{
"name": "fromAddResult_failure_output_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 276,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fal... | 1 | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | @@ -62,6 +62,12 @@
def gasRemainingAfterCost (input : EvmAsm.Evm64.PrecompileInput) (cost : Nat) : Nat :=
input.gas - cost
+theorem fromAddResult_efail
+ {gasRemaining : Nat} {result : Bn254G1AddEcallBridge.Bn254G1AddResult}
+ (h_status : result.status = .efail) :
+ fromAddResult gasRemaining result = Ev... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_5a8e02416105_6 | 21af2a6ba19fe119 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bn254PrecompileResultBridge.lean | Bn254PrecompileResultBridge | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "fromMulResult_failure_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fromMulResult_efail h_status]\n rfl",
"n_chars": 45,
"n_subproofs": 0,
"n_tactics": 3,... | [
{
"name": "fromMulResult_efail",
"text": "theorem fromMulResult_efail\n {gasRemaining : Nat} {result : Bn254G1MulEcallBridge.Bn254G1MulResult}\n (h_status : result.status = .efail) :\n fromMulResult gasRemaining result = EvmAsm.Evm64.PrecompileResult.fail gasRemaining := by\n simp [fromMulResult, ... | [
{
"name": "fromMulResult_failure_output_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 276,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only": fal... | 1 | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | @@ -68,6 +68,12 @@
fromAddResult gasRemaining result = EvmAsm.Evm64.PrecompileResult.fail gasRemaining := by
simp [fromAddResult, h_status]
+theorem fromMulResult_efail
+ {gasRemaining : Nat} {result : Bn254G1MulEcallBridge.Bn254G1MulResult}
+ (h_status : result.status = .efail) :
+ fromMulResult gas... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_5a8e02416105_7 | d838a1d6bbc85f97 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/EL/Bn254PrecompileResultBridge.lean | Bn254PrecompileResultBridge | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "fromPairingResult_failure_output_length",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [fromPairingResult_efail h_status]\n rfl",
"n_chars": 49,
"n_subproofs": 0,
"n_tact... | [
{
"name": "fromPairingResult_efail",
"text": "theorem fromPairingResult_efail\n {gasRemaining : Nat} {result : Bn254PairingEcallBridge.Bn254PairingResult}\n (h_status : result.status = .efail) :\n fromPairingResult gasRemaining result =\n EvmAsm.Evm64.PrecompileResult.fail gasRemaining := by\n... | [
{
"name": "fromPairingResult_failure_output_length",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 292,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 0,
"automation_only":... | 1 | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | /-
EvmAsm.EL.Bn254PrecompileResultBridge
Bridge from BN254 accelerator ECALL results to EVM precompile results.
Authored by @pirapira; implemented by Codex.
-/
import EvmAsm.EL.Bn254G1AddEcallBridge
import EvmAsm.EL.Bn254G1MulEcallBridge
import EvmAsm.EL.Bn254PairingEcallBridge
import EvmAsm.Evm64.PrecompileRe... | @@ -74,6 +74,13 @@
fromMulResult gasRemaining result = EvmAsm.Evm64.PrecompileResult.fail gasRemaining := by
simp [fromMulResult, h_status]
+theorem fromPairingResult_efail
+ {gasRemaining : Nat} {result : Bn254PairingEcallBridge.Bn254PairingResult}
+ (h_status : result.status = .efail) :
+ fromPairi... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_0 | 68d88ac3b94380fb | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 1 | [
{
"theorem_name": "orElse_empty_right",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n funext opcode\n exact orElse_empty_right_apply left opcode",
"n_chars": 64,
"n_subproofs": 0,
"n_tactics": ... | [
{
"name": "orElse_empty_right_apply",
"text": "theorem orElse_empty_right_apply (left : HandlerTable) (opcode : EvmOpcode) :\n orElse left empty opcode = left opcode := by\n cases h_left : left opcode with\n | none => simp [orElse, h_left]\n | some handler => simp [orElse, h_left]\n\n",
"fan_in": ... | [
{
"name": "orElse_empty_right",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 6,
"n_chars": 156,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 2,
"automation_only": false,
"max_nest... | 1 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -38,8 +38,16 @@
funext opcode
simp [orElse]
+theorem orElse_empty_right_apply (left : HandlerTable) (opcode : EvmOpcode) :
+ orElse left empty opcode = left opcode := by
+ cases h_left : left opcode with
+ | none => simp [orElse, h_left]
+ | some handler => simp [orElse, h_left]
+
@[simp] theorem orEl... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_1 | ad89c28102dcb0e5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 1 | [
{
"theorem_name": "dispatchOpcode_orElse_left",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [dispatchOpcode, dispatchOpcode?_orElse_left h_left state]",
"n_chars": 69,
"n_subproofs": 0,
"... | [
{
"name": "dispatchOpcode?_orElse_left",
"text": "theorem dispatchOpcode?_orElse_left\n {left right : HandlerTable} {opcode : EvmOpcode} {handler : OpcodeHandler}\n (h_left : left opcode = some handler) (state : EvmState) :\n dispatchOpcode? (orElse left right) opcode state = some (handler state) :... | [
{
"name": "dispatchOpcode_orElse_left",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 318,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"m... | 1 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -49,10 +49,17 @@
funext opcode
exact orElse_empty_right_apply left opcode
+theorem dispatchOpcode?_orElse_left
+ {left right : HandlerTable} {opcode : EvmOpcode} {handler : OpcodeHandler}
+ (h_left : left opcode = some handler) (state : EvmState) :
+ dispatchOpcode? (orElse left right) opcode state ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_2 | 9b3b3b09919530b2 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 2 | [
{
"theorem_name": "dispatchOpcode_orElse_left_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatchOpcode_orElse_left h_left state]",
"n_chars": 50,
"n_subproofs": 0,
"n_tactics": ... | [
{
"name": "dispatchOpcode_orElse_left",
"text": "theorem dispatchOpcode_orElse_left\n {left right : HandlerTable} {opcode : EvmOpcode} {handler : OpcodeHandler}\n (h_left : left opcode = some handler) (state : EvmState) :\n dispatchOpcode (orElse left right) opcode state = handler state := by\n si... | [
{
"name": "dispatchOpcode_orElse_left_status",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"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": false... | 2 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -55,11 +55,18 @@
dispatchOpcode? (orElse left right) opcode state = some (handler state) := by
simp [dispatchOpcode?, h_left]
+theorem dispatchOpcode_orElse_left
+ {left right : HandlerTable} {opcode : EvmOpcode} {handler : OpcodeHandler}
+ (h_left : left opcode = some handler) (state : EvmState) :
+... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_3 | 8e0f6a70fbfeb7d8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 2 | [
{
"theorem_name": "dispatchOpcode_orElse_left_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatchOpcode_orElse_left h_left state]",
"n_chars": 50,
"n_subproofs": 0,
"n_tactics": ... | [
{
"name": "dispatchOpcode_orElse_left",
"text": "theorem dispatchOpcode_orElse_left\n {left right : HandlerTable} {opcode : EvmOpcode} {handler : OpcodeHandler}\n (h_left : left opcode = some handler) (state : EvmState) :\n dispatchOpcode (orElse left right) opcode state = handler state := by\n si... | [
{
"name": "dispatchOpcode_orElse_left_preserves_status",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 11,
"n_chars": 441,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_o... | 3 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -55,11 +55,18 @@
dispatchOpcode? (orElse left right) opcode state = some (handler state) := by
simp [dispatchOpcode?, h_left]
+theorem dispatchOpcode_orElse_left
+ {left right : HandlerTable} {opcode : EvmOpcode} {handler : OpcodeHandler}
+ (h_left : left opcode = some handler) (state : EvmState) :
+... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_4 | cf35c86f72fb7a4f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 2 | [
{
"theorem_name": "dispatchOpcode_orElse_left_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatchOpcode_orElse_left h_left state]",
"n_chars": 50,
"n_subproofs": 0,
"n_tactics": ... | [
{
"name": "dispatchOpcode_orElse_left",
"text": "theorem dispatchOpcode_orElse_left\n {left right : HandlerTable} {opcode : EvmOpcode} {handler : OpcodeHandler}\n (h_left : left opcode = some handler) (state : EvmState) :\n dispatchOpcode (orElse left right) opcode state = handler state := by\n si... | [
{
"name": "dispatchOpcode_orElse_left_preserves_codeLenMatches",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 11,
"n_chars": 496,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"auto... | 2 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -55,13 +55,21 @@
dispatchOpcode? (orElse left right) opcode state = some (handler state) := by
simp [dispatchOpcode?, h_left]
+theorem dispatchOpcode_orElse_left
+ {left right : HandlerTable} {opcode : EvmOpcode} {handler : OpcodeHandler}
+ (h_left : left opcode = some handler) (state : EvmState) :
+... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_5 | 7d2265fafeac63ce | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 1 | [
{
"theorem_name": "dispatchOpcode_orElse_right",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [dispatchOpcode, dispatchOpcode?_orElse_right h_left state]",
"n_chars": 70,
"n_subproofs": 0,
... | [
{
"name": "dispatchOpcode?_orElse_right",
"text": "theorem dispatchOpcode?_orElse_right\n {left right : HandlerTable} {opcode : EvmOpcode}\n (h_left : left opcode = none) (state : EvmState) :\n dispatchOpcode? (orElse left right) opcode state =\n dispatchOpcode? right opcode state := by\n sim... | [
{
"name": "dispatchOpcode_orElse_right",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 312,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"... | 1 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -49,11 +49,19 @@
funext opcode
exact orElse_empty_right_apply left opcode
+theorem dispatchOpcode?_orElse_right
+ {left right : HandlerTable} {opcode : EvmOpcode}
+ (h_left : left opcode = none) (state : EvmState) :
+ dispatchOpcode? (orElse left right) opcode state =
+ dispatchOpcode? right op... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_6 | 03f61aa275edf2a3 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 3 | [
{
"theorem_name": "dispatchOpcode_orElse_right_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatchOpcode_orElse_right h_left state]",
"n_chars": 51,
"n_subproofs": 0,
"n_tactics"... | [
{
"name": "dispatchOpcode_orElse_right",
"text": "theorem dispatchOpcode_orElse_right\n {left right : HandlerTable} {opcode : EvmOpcode}\n (h_left : left opcode = none) (state : EvmState) :\n dispatchOpcode (orElse left right) opcode state =\n dispatchOpcode right opcode state := by\n simp [d... | [
{
"name": "dispatchOpcode_orElse_right_status",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"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": fals... | 2 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -56,11 +56,19 @@
dispatchOpcode? right opcode state := by
simp [dispatchOpcode?, h_left]
+theorem dispatchOpcode_orElse_right
+ {left right : HandlerTable} {opcode : EvmOpcode}
+ (h_left : left opcode = none) (state : EvmState) :
+ dispatchOpcode (orElse left right) opcode state =
+ dispatc... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_7 | bf196664cf6d5908 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 3 | [
{
"theorem_name": "dispatchOpcode_orElse_right_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatchOpcode_orElse_right h_left state]",
"n_chars": 51,
"n_subproofs": 0,
"n_tactics"... | [
{
"name": "dispatchOpcode_orElse_right",
"text": "theorem dispatchOpcode_orElse_right\n {left right : HandlerTable} {opcode : EvmOpcode}\n (h_left : left opcode = none) (state : EvmState) :\n dispatchOpcode (orElse left right) opcode state =\n dispatchOpcode right opcode state := by\n simp [d... | [
{
"name": "dispatchOpcode_orElse_right_preserves_status",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 13,
"n_chars": 443,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_... | 3 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -56,11 +56,19 @@
dispatchOpcode? right opcode state := by
simp [dispatchOpcode?, h_left]
+theorem dispatchOpcode_orElse_right
+ {left right : HandlerTable} {opcode : EvmOpcode}
+ (h_left : left opcode = none) (state : EvmState) :
+ dispatchOpcode (orElse left right) opcode state =
+ dispatc... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_8 | 927d4168bddbc578 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 3 | [
{
"theorem_name": "dispatchOpcode_orElse_right_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatchOpcode_orElse_right h_left state]",
"n_chars": 51,
"n_subproofs": 0,
"n_tactics"... | [
{
"name": "dispatchOpcode_orElse_right",
"text": "theorem dispatchOpcode_orElse_right\n {left right : HandlerTable} {opcode : EvmOpcode}\n (h_left : left opcode = none) (state : EvmState) :\n dispatchOpcode (orElse left right) opcode state =\n dispatchOpcode right opcode state := by\n simp [d... | [
{
"name": "dispatchOpcode_orElse_right_preserves_codeLenMatches",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 13,
"n_chars": 502,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"aut... | 2 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -56,6 +56,13 @@
dispatchOpcode? right opcode state := by
simp [dispatchOpcode?, h_left]
+theorem dispatchOpcode_orElse_right
+ {left right : HandlerTable} {opcode : EvmOpcode}
+ (h_left : left opcode = none) (state : EvmState) :
+ dispatchOpcode (orElse left right) opcode state =
+ dispatch... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_9 | c5f827f6548aba57 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 3 | [
{
"theorem_name": "dispatchOpcode_orElse_right_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatchOpcode_orElse_right h_left state]",
"n_chars": 51,
"n_subproofs": 0,
"n_tactics"... | [
{
"name": "dispatchOpcode_orElse_right",
"text": "theorem dispatchOpcode_orElse_right\n {left right : HandlerTable} {opcode : EvmOpcode}\n (h_left : left opcode = none) (state : EvmState) :\n dispatchOpcode (orElse left right) opcode state =\n dispatchOpcode right opcode state := by\n simp [d... | [
{
"name": "dispatchOpcode_orElse_none",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 344,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"... | 2 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -56,11 +56,20 @@
dispatchOpcode? right opcode state := by
simp [dispatchOpcode?, h_left]
+theorem dispatchOpcode_orElse_right
+ {left right : HandlerTable} {opcode : EvmOpcode}
+ (h_left : left opcode = none) (state : EvmState) :
+ dispatchOpcode (orElse left right) opcode state =
+ dispatc... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8ca4cd786ba4_10 | be2dc659235fcd43 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/HandlerTableCompose.lean | HandlerTableCompose | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 8 | 3 | [
{
"theorem_name": "dispatchOpcode_orElse_right_status",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [dispatchOpcode_orElse_right h_left state]",
"n_chars": 51,
"n_subproofs": 0,
"n_tactics"... | [
{
"name": "dispatchOpcode_orElse_right",
"text": "theorem dispatchOpcode_orElse_right\n {left right : HandlerTable} {opcode : EvmOpcode}\n (h_left : left opcode = none) (state : EvmState) :\n dispatchOpcode (orElse left right) opcode state =\n dispatchOpcode right opcode state := by\n simp [d... | [
{
"name": "dispatchOpcode_orElse_none_status",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 9,
"n_chars": 356,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false... | 3 | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | /-
EvmAsm.Evm64.HandlerTableCompose
Composition helpers for pure opcode handler tables (GH #107).
-/
import EvmAsm.Evm64.HandlerTable
namespace EvmAsm.Evm64
namespace HandlerTable
/--
Left-biased composition of independently verified handler tables.
Distinctive token: HandlerTableCompose.orElse #107.
-/
def o... | @@ -56,11 +56,20 @@
dispatchOpcode? right opcode state := by
simp [dispatchOpcode?, h_left]
+theorem dispatchOpcode_orElse_right
+ {left right : HandlerTable} {opcode : EvmOpcode}
+ (h_left : left opcode = none) (state : EvmState) :
+ dispatchOpcode (orElse left right) opcode state =
+ dispatc... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8954755e068d_0 | 854eb3bfd49ef9e6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SAsm/AbiFrameCall.lean | AbiFrameCall | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "stackFree_split",
"depth": 1,
"n_commands": 0,
"n_lines": 15,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n induction K with\n | zero =>\n have hm : m = 0 := Nat.le_zero.mp h\n subst hm\n exact ⟨empAssertion, pcFree_emp,... | [
{
"name": "stackFree_succ",
"text": "theorem stackFree_succ (sp : Word) (k : Nat) :\n stackFree sp (k + 1)\n = (memOwn (sp - BitVec.ofNat 64 (8 * (k + 1))) ** stackFree sp k) := rfl\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 152,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic... | [
{
"name": "stackFree_split",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 24,
"n_chars": 1044,
"n_subproofs": 3,
"n_tactics": 15,
"cyclomatic": 3,
"n_automation": 0,
"n_rewrites": 3,
"n_structural": 6,
"automation_only": false,
"max_nest... | 3 | /-
EvmAsm.Rv64.SAsm.AbiFrameCall
Frame + cross-call composition at the `cpsTripleWithin` level (bead
evm-asm-4ch8f.76 follow-up): the missing piece for the ~218 sp-frame guest
routines that CALL OUT (block-verdict / MPT / tx / crypto).
`abiFrame_spec` (AbiFrame.lean) lifts an arbitrary single-exit body into... | /-
EvmAsm.Rv64.SAsm.AbiFrameCall
Frame + cross-call composition at the `cpsTripleWithin` level (bead
evm-asm-4ch8f.76 follow-up): the missing piece for the ~218 sp-frame guest
routines that CALL OUT (block-verdict / MPT / tx / crypto).
`abiFrame_spec` (AbiFrame.lean) lifts an arbitrary single-exit body into... | @@ -62,6 +62,10 @@
@[simp] theorem stackFree_zero (sp : Word) : stackFree sp 0 = empAssertion := rfl
+theorem stackFree_succ (sp : Word) (k : Nat) :
+ stackFree sp (k + 1)
+ = (memOwn (sp - BitVec.ofNat 64 (8 * (k + 1))) ** stackFree sp k) := rfl
+
/-- Assertion-level (`=`) associativity, from the pointwi... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8954755e068d_1 | 047f2e8abb8a2e07 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SAsm/AbiFrameCall.lean | AbiFrameCall | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "callWithin_spec",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hjal := jal_link_spec_within offset A vOld\n rw [htarget] at hjal\n have hjalF := cpsTripleWithin_frameR P hP hjal\n... | [
{
"name": "jal_link_spec_within",
"text": "/-- One-step spec of the direct call jump `jal x1, offset`: the return\n address `addr + 4` lands in the separately owned `ra` (clobbering the\n incumbent `vOld`), and control transfers to `addr + offset`. The direct\n (`JAL`) analogue of `jalr_call_spec_... | [
{
"name": "callWithin_spec",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 26,
"n_chars": 1408,
"n_subproofs": 3,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_nesti... | 1 | /-
EvmAsm.Rv64.SAsm.AbiFrameCall
Frame + cross-call composition at the `cpsTripleWithin` level (bead
evm-asm-4ch8f.76 follow-up): the missing piece for the ~218 sp-frame guest
routines that CALL OUT (block-verdict / MPT / tx / crypto).
`abiFrame_spec` (AbiFrame.lean) lifts an arbitrary single-exit body into... | /-
EvmAsm.Rv64.SAsm.AbiFrameCall
Frame + cross-call composition at the `cpsTripleWithin` level (bead
evm-asm-4ch8f.76 follow-up): the missing piece for the ~218 sp-frame guest
routines that CALL OUT (block-verdict / MPT / tx / crypto).
`abiFrame_spec` (AbiFrame.lean) lifts an arbitrary single-exit body into... | @@ -62,6 +62,34 @@
@[simp] theorem stackFree_zero (sp : Word) : stackFree sp 0 = empAssertion := rfl
+/-- One-step spec of the direct call jump `jal x1, offset`: the return
+ address `addr + 4` lands in the separately owned `ra` (clobbering the
+ incumbent `vOld`), and control transfers to `addr + offset`. ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8954755e068d_2 | 775ca2299390dcb4 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Rv64/SAsm/AbiFrameCall.lean | AbiFrameCall | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 6 | 1 | [
{
"theorem_name": "abiFrameCall_spec",
"depth": 1,
"n_commands": 0,
"n_lines": 15,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hcalleeF := cpsTripleWithin_frameR F hF hcallee\n have hc : cpsTripleWithin n calleeEntry (A + 4) cr\n (((.x1... | [
{
"name": "pcFree_stackFree",
"text": "theorem pcFree_stackFree (sp : Word) (k : Nat) : (stackFree sp k).pcFree := by\n induction k with\n | zero => exact pcFree_emp\n | succ n ih => exact pcFree_sepConj pcFree_memOwn ih\n\n",
"fan_in": 1,
"n_lines": 6,
"n_chars": 183,
"n_subproofs": 0,
... | [
{
"name": "abiFrameCall_spec",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 50,
"n_chars": 2616,
"n_subproofs": 3,
"n_tactics": 15,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_ne... | 3 | /-
EvmAsm.Rv64.SAsm.AbiFrameCall
Frame + cross-call composition at the `cpsTripleWithin` level (bead
evm-asm-4ch8f.76 follow-up): the missing piece for the ~218 sp-frame guest
routines that CALL OUT (block-verdict / MPT / tx / crypto).
`abiFrame_spec` (AbiFrame.lean) lifts an arbitrary single-exit body into... | /-
EvmAsm.Rv64.SAsm.AbiFrameCall
Frame + cross-call composition at the `cpsTripleWithin` level (bead
evm-asm-4ch8f.76 follow-up): the missing piece for the ~218 sp-frame guest
routines that CALL OUT (block-verdict / MPT / tx / crypto).
`abiFrame_spec` (AbiFrame.lean) lifts an arbitrary single-exit body into... | @@ -62,6 +62,11 @@
@[simp] theorem stackFree_zero (sp : Word) : stackFree sp 0 = empAssertion := rfl
+theorem pcFree_stackFree (sp : Word) (k : Nat) : (stackFree sp k).pcFree := by
+ induction k with
+ | zero => exact pcFree_emp
+ | succ n ih => exact pcFree_sepConj pcFree_memOwn ih
+
/-- One-step spec of the ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_79d6acfba7ea_0 | 486cbcd10416b703 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/Common.lean | Common | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "borrow_or_val_01",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [borrow_or_iff]\n exact borrow_val_01",
"n_chars": 46,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic":... | [
{
"name": "borrow_or_iff",
"text": "theorem borrow_or_iff {c1 c2 : Prop} [Decidable c1] [Decidable c2] :\n ((if c1 then (1 : Word) else 0) ||| (if c2 then (1 : Word) else 0)) =\n (if (c1 ∨ c2) then (1 : Word) else 0) := by\n by_cases h1 : c1 <;> by_cases h2 : c2 <;> simp_all\n\n-- The toNat decomposi... | [
{
"name": "borrow_or_val_01",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 8,
"n_chars": 339,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_nestin... | 2 | /-
EvmAsm.Evm64.EvmWordArith.Common
Shared helpers for limb-level EvmWord correctness proofs.
-/
import EvmAsm.Evm64.Basic
import Mathlib.Tactic.Linarith
namespace EvmAsm.Evm64
open EvmAsm.Rv64
namespace EvmWord
-- ============================================================================
-- Shared helpers
... | /-
EvmAsm.Evm64.EvmWordArith.Common
Shared helpers for limb-level EvmWord correctness proofs.
-/
import EvmAsm.Evm64.Basic
import Mathlib.Tactic.Linarith
namespace EvmAsm.Evm64
open EvmAsm.Rv64
namespace EvmWord
-- ============================================================================
-- Shared helpers
... | @@ -17,6 +17,12 @@
-- Shared helpers
-- ============================================================================
+theorem borrow_or_iff {c1 c2 : Prop} [Decidable c1] [Decidable c2] :
+ ((if c1 then (1 : Word) else 0) ||| (if c2 then (1 : Word) else 0)) =
+ (if (c1 ∨ c2) then (1 : Word) else 0) := by
+ by... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8280ce81c68a_0 | c724d942e721007c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/DivCallableV5Assembly.lean | DivCallableV5Assembly | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 3 | [
{
"theorem_name": "divStackDispatchPostCallableX9Owned_pcFree",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [divStackDispatchPostCallableX9Owned_unfold,\n divStackDispatchPostCallable_unfold, divScr... | [
{
"name": "divStackDispatchPostCallableX9Owned_unfold",
"text": "theorem divStackDispatchPostCallableX9Owned_unfold\n {sp : Word} {a b : EvmWord} {raVal : Word} :\n divStackDispatchPostCallableX9Owned sp a b raVal =\n ((divStackDispatchPostCallable sp a b ** (.x1 ↦ᵣ raVal)) ** regOwn .x9) := by\n... | [
{
"name": "divStackDispatchPostCallableX9Owned_pcFree",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 8,
"n_chars": 299,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 0,
"automation_onl... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | @@ -35,9 +35,19 @@
(sp : Word) (a b : EvmWord) (raVal : Word) : Assertion :=
(divStackDispatchPostCallable sp a b ** (.x1 ↦ᵣ raVal)) ** regOwn .x9
+theorem divStackDispatchPostCallableX9Owned_unfold
+ {sp : Word} {a b : EvmWord} {raVal : Word} :
+ divStackDispatchPostCallableX9Owned sp a b raVal =
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8280ce81c68a_1 | eb2ec295b791d3a5 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/DivCallableV5Assembly.lean | DivCallableV5Assembly | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 3 | [
{
"theorem_name": "divStackDispatchPostCallableX9Owned_pcFree",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [divStackDispatchPostCallableX9Owned_unfold,\n divStackDispatchPostCallable_unfold, divScr... | [
{
"name": "divStackDispatchPostCallableX9Owned_unfold",
"text": "theorem divStackDispatchPostCallableX9Owned_unfold\n {sp : Word} {a b : EvmWord} {raVal : Word} :\n divStackDispatchPostCallableX9Owned sp a b raVal =\n ((divStackDispatchPostCallable sp a b ** (.x1 ↦ᵣ raVal)) ** regOwn .x9) := by\n... | [
{
"name": "divStackDispatchPostCallableExactFrame_scratch_to_X9Owned",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 18,
"n_chars": 800,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 2,
... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | @@ -35,6 +35,13 @@
(sp : Word) (a b : EvmWord) (raVal : Word) : Assertion :=
(divStackDispatchPostCallable sp a b ** (.x1 ↦ᵣ raVal)) ** regOwn .x9
+theorem divStackDispatchPostCallableX9Owned_unfold
+ {sp : Word} {a b : EvmWord} {raVal : Word} :
+ divStackDispatchPostCallableX9Owned sp a b raVal =
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8280ce81c68a_2 | ffde1c3fc5f25f6d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/DivCallableV5Assembly.lean | DivCallableV5Assembly | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 3 | [
{
"theorem_name": "divStackDispatchPostCallableX9Owned_pcFree",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [divStackDispatchPostCallableX9Owned_unfold,\n divStackDispatchPostCallable_unfold, divScr... | [
{
"name": "divStackDispatchPostCallableX9Owned_unfold",
"text": "theorem divStackDispatchPostCallableX9Owned_unfold\n {sp : Word} {a b : EvmWord} {raVal : Word} :\n divStackDispatchPostCallableX9Owned sp a b raVal =\n ((divStackDispatchPostCallable sp a b ** (.x1 ↦ᵣ raVal)) ** regOwn .x9) := by\n... | [
{
"name": "evm_div_callable_v5_spec_from_noNop_X9Owned_scratch",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 56,
"n_chars": 2731,
"n_subproofs": 4,
"n_tactics": 29,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"au... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | @@ -35,6 +35,13 @@
(sp : Word) (a b : EvmWord) (raVal : Word) : Assertion :=
(divStackDispatchPostCallable sp a b ** (.x1 ↦ᵣ raVal)) ** regOwn .x9
+theorem divStackDispatchPostCallableX9Owned_unfold
+ {sp : Word} {a b : EvmWord} {raVal : Word} :
+ divStackDispatchPostCallableX9Owned sp a b raVal =
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8280ce81c68a_3 | 1996b1526c842b70 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/DivCallableV5Assembly.lean | DivCallableV5Assembly | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 2 | [
{
"theorem_name": "evm_div_callable_v5_stack_spec_within_x9owned",
"depth": 1,
"n_commands": 0,
"n_lines": 59,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hStack :=\n evm_div_stack_spec_unconditional_of_lanes_v5_div_callableX9Owned sp base... | [
{
"name": "evm_div_stack_spec_unconditional_of_lanes_v5_div_callableX9Owned",
"text": "/-- x9-owned twin of `evm_div_stack_spec_unconditional_of_lanes_v5_div_callableExact`:\n same `DivisorLimbCase.elim_named` dispatch, but every lane (and the result)\n lands the x9-owned callable post. Combinator to... | [
{
"name": "evm_div_callable_v5_stack_spec_within_x9owned",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 4,
"n_lines": 82,
"n_chars": 4393,
"n_subproofs": 1,
"n_tactics": 55,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 5,
"automati... | 4 | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | @@ -59,6 +59,76 @@
(sepConj_mono (fun _ hc => hc) (regIs_implies_regOwn .x9))
(fun _ hc => hc) h hp
+/-- x9-owned twin of `evm_div_stack_spec_unconditional_of_lanes_v5_div_callableExact`:
+ same `DivisorLimbCase.elim_named` dispatch, but every lane (and the result)
+ lands the x9-owned callable post. ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8280ce81c68a_4 | 41e77618edebd46a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/DivCallableV5Assembly.lean | DivCallableV5Assembly | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 2 | [
{
"theorem_name": "evm_div_callable_v5_stack_spec_within_x9owned",
"depth": 1,
"n_commands": 0,
"n_lines": 59,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hStack :=\n evm_div_stack_spec_unconditional_of_lanes_v5_div_callableX9Owned sp base... | [
{
"name": "evm_div_stack_spec_unconditional_of_lanes_v5_div_callableX9Owned",
"text": "/-- x9-owned twin of `evm_div_stack_spec_unconditional_of_lanes_v5_div_callableExact`:\n same `DivisorLimbCase.elim_named` dispatch, but every lane (and the result)\n lands the x9-owned callable post. Combinator to... | [
{
"name": "evm_div_body_v5_div_callableX9Owned_of_shape",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 3,
"n_lines": 72,
"n_chars": 3990,
"n_subproofs": 0,
"n_tactics": 50,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 5,
"automatio... | 3 | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | /-
EvmAsm.Evm64.DivMod.Compose.DivCallableV5Assembly
M2 infrastructure for `evm_div_callable_v5` full correctness: the x9-OWNED
callable post (sheds the concrete `x9Out` to `regOwn .x9`, so the divisor-shape
lanes — bzero leaves `x9 = x9In`, nonzero lanes leave `signExtend12 4095` — can be
combined under a s... | @@ -59,6 +59,76 @@
(sepConj_mono (fun _ hc => hc) (regIs_implies_regOwn .x9))
(fun _ hc => hc) h hp
+/-- x9-owned twin of `evm_div_stack_spec_unconditional_of_lanes_v5_div_callableExact`:
+ same `DivisorLimbCase.elim_named` dispatch, but every lane (and the result)
+ lands the x9-owned callable post. ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_0 | 6938c80a2b8a712c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 6 | [
{
"theorem_name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_calldataload_window_code_eq_mloadStackCode]\n exact h",
"n_chars": 67,
... | [
{
"name": "evm_calldataload_window_code_eq_mloadStackCode",
"text": "/--\nThe in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as\nthe reusable MLOAD stack-code bundle.\n\nDistinctive token:\nCalldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.\n-/\ntheorem evm_c... | [
{
"name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 16,
"n_chars": 580,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"au... | 1 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -15,6 +15,28 @@
open EvmAsm.Rv64
/--
+The in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as
+the reusable MLOAD stack-code bundle.
+
+Distinctive token:
+Calldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.
+-/
+theorem evm_calldataload_window_code_eq_mloadStackCode... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_1 | df21352bfa9b0d2b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 6 | [
{
"theorem_name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_calldataload_window_code_eq_mloadStackCode]\n exact h",
"n_chars": 67,
... | [
{
"name": "evm_calldataload_window_code_eq_mloadStackCode",
"text": "/--\nThe in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as\nthe reusable MLOAD stack-code bundle.\n\nDistinctive token:\nCalldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.\n-/\ntheorem evm_c... | [
{
"name": "calldataload_window_prologue_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 33,
"n_chars": 1584,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automati... | 2 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -15,6 +15,28 @@
open EvmAsm.Rv64
/--
+The in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as
+the reusable MLOAD stack-code bundle.
+
+Distinctive token:
+Calldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.
+-/
+theorem evm_calldataload_window_code_eq_mloadStackCode... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_2 | 0042e36e56de7c31 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 6 | [
{
"theorem_name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_calldataload_window_code_eq_mloadStackCode]\n exact h",
"n_chars": 67,
... | [
{
"name": "evm_calldataload_window_code_eq_mloadStackCode",
"text": "/--\nThe in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as\nthe reusable MLOAD stack-code bundle.\n\nDistinctive token:\nCalldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.\n-/\ntheorem evm_c... | [
{
"name": "calldataload_window_four_limbs_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 24,
"n_chars": 999,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automat... | 1 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -15,6 +15,28 @@
open EvmAsm.Rv64
/--
+The in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as
+the reusable MLOAD stack-code bundle.
+
+Distinctive token:
+Calldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.
+-/
+theorem evm_calldataload_window_code_eq_mloadStackCode... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_3 | 55078b59d3398264 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 6 | [
{
"theorem_name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_calldataload_window_code_eq_mloadStackCode]\n exact h",
"n_chars": 67,
... | [
{
"name": "evm_calldataload_window_code_eq_mloadStackCode",
"text": "/--\nThe in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as\nthe reusable MLOAD stack-code bundle.\n\nDistinctive token:\nCalldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.\n-/\ntheorem evm_c... | [
{
"name": "calldataload_window_four_limb_sequence_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 39,
"n_chars": 1734,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
... | 2 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -15,6 +15,28 @@
open EvmAsm.Rv64
/--
+The in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as
+the reusable MLOAD stack-code bundle.
+
+Distinctive token:
+Calldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.
+-/
+theorem evm_calldataload_window_code_eq_mloadStackCode... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_4 | c672d0c7b1071dbf | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "calldataload_window_prologue_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 5,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n evm_calldataload_window_of_mloadStackCode_spec_within\n offReg byteReg accReg addrReg envPtr... | [
{
"name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"text": "/--\nTransport an MLOAD stack-code triple to the program-identical in-bounds\nCALLDATALOAD window core.\n-/\ntheorem evm_calldataload_window_of_mloadStackCode_spec_within\n {n : Nat} {P Q : Assertion}\n (offReg byteReg accReg ... | [
{
"name": "calldataload_window_combined_stack_spec_within",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 42,
"n_chars": 1907,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automati... | 3 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -37,6 +37,21 @@
rfl
/--
+Transport an MLOAD stack-code triple to the program-identical in-bounds
+CALLDATALOAD window core.
+-/
+theorem evm_calldataload_window_of_mloadStackCode_spec_within
+ {n : Nat} {P Q : Assertion}
+ (offReg byteReg accReg addrReg envPtrReg : Reg) (base endPc : Word)
+ (h : cpsT... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_5 | 086161eacda8f2fd | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "calldataload_window_combined_four_limb_sequence_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 6,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n calldataload_window_combined_stack_spec_within\n offReg byteReg accReg ad... | [
{
"name": "calldataload_window_four_limb_sequence_stack_spec_within",
"text": "/--\nCALLDATALOAD window four-limb sequence stack spec: compose four\nprogram-identical `mloadFourLimbsCode` triples (one per byte-window quarter\nspanning `base + 8 .. base + 100 .. 192 .. 284 .. 376`) into a single triple\non t... | [
{
"name": "calldataload_window_combined_four_limb_sequence_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 6,
"n_lines": 54,
"n_chars": 2573,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural... | 6 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -107,6 +107,44 @@
offReg byteReg accReg addrReg envPtrReg base h
/--
+CALLDATALOAD window four-limb sequence stack spec: compose four
+program-identical `mloadFourLimbsCode` triples (one per byte-window quarter
+spanning `base + 8 .. base + 100 .. 192 .. 284 .. 376`) into a single triple
+on the in-bounds `e... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_6 | 5b7aba2d6cd2cc20 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 6 | [
{
"theorem_name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_calldataload_window_code_eq_mloadStackCode]\n exact h",
"n_chars": 67,
... | [
{
"name": "evm_calldataload_window_code_eq_mloadStackCode",
"text": "/--\nThe in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as\nthe reusable MLOAD stack-code bundle.\n\nDistinctive token:\nCalldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.\n-/\ntheorem evm_c... | [
{
"name": "calldataload_window_one_limb_q0_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 33,
"n_chars": 1409,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 3,
"autom... | 1 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -15,6 +15,28 @@
open EvmAsm.Rv64
/--
+The in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as
+the reusable MLOAD stack-code bundle.
+
+Distinctive token:
+Calldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.
+-/
+theorem evm_calldataload_window_code_eq_mloadStackCode... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_7 | 82c42baf08a9537c | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 6 | [
{
"theorem_name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_calldataload_window_code_eq_mloadStackCode]\n exact h",
"n_chars": 67,
... | [
{
"name": "evm_calldataload_window_code_eq_mloadStackCode",
"text": "/--\nThe in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as\nthe reusable MLOAD stack-code bundle.\n\nDistinctive token:\nCalldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.\n-/\ntheorem evm_c... | [
{
"name": "calldataload_window_one_limb_q1_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 33,
"n_chars": 1377,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 3,
"autom... | 1 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -15,6 +15,28 @@
open EvmAsm.Rv64
/--
+The in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as
+the reusable MLOAD stack-code bundle.
+
+Distinctive token:
+Calldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.
+-/
+theorem evm_calldataload_window_code_eq_mloadStackCode... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_8 | 515a810a039e8a15 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 6 | [
{
"theorem_name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_calldataload_window_code_eq_mloadStackCode]\n exact h",
"n_chars": 67,
... | [
{
"name": "evm_calldataload_window_code_eq_mloadStackCode",
"text": "/--\nThe in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as\nthe reusable MLOAD stack-code bundle.\n\nDistinctive token:\nCalldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.\n-/\ntheorem evm_c... | [
{
"name": "calldataload_window_one_limb_q2_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 34,
"n_chars": 1429,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 3,
"autom... | 1 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -15,6 +15,28 @@
open EvmAsm.Rv64
/--
+The in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as
+the reusable MLOAD stack-code bundle.
+
+Distinctive token:
+Calldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.
+-/
+theorem evm_calldataload_window_code_eq_mloadStackCode... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_9 | 2b217b171ba75a1f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 6 | [
{
"theorem_name": "evm_calldataload_window_of_mloadStackCode_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [evm_calldataload_window_code_eq_mloadStackCode]\n exact h",
"n_chars": 67,
... | [
{
"name": "evm_calldataload_window_code_eq_mloadStackCode",
"text": "/--\nThe in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as\nthe reusable MLOAD stack-code bundle.\n\nDistinctive token:\nCalldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.\n-/\ntheorem evm_c... | [
{
"name": "calldataload_window_one_limb_q3_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 35,
"n_chars": 1507,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 3,
"autom... | 1 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -15,6 +15,28 @@
open EvmAsm.Rv64
/--
+The in-bounds CALLDATALOAD byte-window core has the same CodeReq shape as
+the reusable MLOAD stack-code bundle.
+
+Distinctive token:
+Calldata.LoadStackCode.evm_calldataload_window_code_eq_mloadStackCode #104 #99.
+-/
+theorem evm_calldataload_window_code_eq_mloadStackCode... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_10 | 4407a25b9d863bc6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "calldataload_window_one_limb_sequence_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsTripleWithin_seq_same_cr\n (cpsTripleWithin_seq_same_cr\n (cpsTripleWithin... | [
{
"name": "calldataload_window_one_limb_q2_stack_spec_within",
"text": "/--\nCALLDATALOAD window q2 one-limb stack spec: transport a concrete\n`mloadOneLimbCode` byte-load triple at `base + 192 .. base + 284` (the\nthird one-limb byte-pack block within `mloadFourLimbsCode`) to the\nprogram-identical `evm_ca... | [
{
"name": "calldataload_window_one_limb_sequence_stack_spec_within",
"fan_in": 1,
"n_deps_direct": 4,
"n_deps_transitive": 5,
"n_lines": 52,
"n_chars": 2403,
"n_subproofs": 0,
"n_tactics": 11,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
... | 5 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -144,6 +144,39 @@
(mloadFourLimbsCode_one_limb_q1_sub addrReg byteReg accReg base a i hq)
/--
+CALLDATALOAD window q2 one-limb stack spec: transport a concrete
+`mloadOneLimbCode` byte-load triple at `base + 192 .. base + 284` (the
+third one-limb byte-pack block within `mloadFourLimbsCode`) to the
+program-... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_960ab3818991_11 | 105f541e71ca18fc | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Calldata/LoadStackCode.lean | LoadStackCode | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 11 | 1 | [
{
"theorem_name": "calldataload_window_one_limb_sequence_stack_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 12,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": "\n cpsTripleWithin_seq_same_cr\n (cpsTripleWithin_seq_same_cr\n (cpsTripleWithin... | [
{
"name": "calldataload_window_one_limb_q2_stack_spec_within",
"text": "/--\nCALLDATALOAD window q2 one-limb stack spec: transport a concrete\n`mloadOneLimbCode` byte-load triple at `base + 192 .. base + 284` (the\nthird one-limb byte-pack block within `mloadFourLimbsCode`) to the\nprogram-identical `evm_ca... | [
{
"name": "calldataload_window_combined_one_limb_sequence_stack_spec_within",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 9,
"n_lines": 61,
"n_chars": 2896,
"n_subproofs": 0,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural"... | 9 | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | /-
EvmAsm.Evm64.Calldata.LoadStackCode
CodeReq bridge from the CALLDATALOAD in-bounds byte-window core to the
reusable MLOAD stack-code surface.
-/
import EvmAsm.Evm64.Calldata.LoadProgram
import EvmAsm.Evm64.Calldata.LoadArgs
import EvmAsm.Evm64.MLoad.StackSpec
namespace EvmAsm.Evm64
namespace Calldata
open ... | @@ -232,6 +232,39 @@
(mloadFourLimbsCode_one_limb_q1_sub addrReg byteReg accReg base a i hq)
/--
+CALLDATALOAD window q2 one-limb stack spec: transport a concrete
+`mloadOneLimbCode` byte-load triple at `base + 192 .. base + 284` (the
+third one-limb byte-pack block within `mloadFourLimbsCode`) to the
+program-... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_b0e777ac7101_0 | 6fe39988d4c94f94 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivConcrete.lean | CallableV4DivConcrete | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_limbNz",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_... | [
{
"name": "evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_word",
"text": "/-- Path-bundled N2 DIV v4 callable wrapper preserving the concrete v4\n trial-call scratch value. -/\ntheorem evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_word\n (bltu_2 bltu_1 bltu_0 : Bool) (... | [
{
"name": "evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_limbNz",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 41,
"n_chars": 2068,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_struct... | 1 | import EvmAsm.Evm64.DivMod.CallableV4Div
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Path-bundled N2 DIV v4 callable wrapper preserving the concrete v4
trial-call scratch value, with dispatcher-style limb-or nonzero input. -/
theorem evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_limbNz
(bltu... | import EvmAsm.Evm64.DivMod.CallableV4Div
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Path-bundled N2 DIV v4 callable wrapper preserving the concrete v4
trial-call scratch value. -/
theorem evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_word
(bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word) (a b ... | @@ -5,6 +5,100 @@
open EvmAsm.Rv64
/-- Path-bundled N2 DIV v4 callable wrapper preserving the concrete v4
+ trial-call scratch value. -/
+theorem evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_word
+ (bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word) (a b : EvmWord)
+ (v5 v6 v7 v10 v11Old : 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_b0e777ac7101_1 | 29598b6cab00f7f6 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/CallableV4DivConcrete.lean | CallableV4DivConcrete | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_shape",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_l... | [
{
"name": "evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_limbNz",
"text": "/-- Path-bundled N2 DIV v4 callable wrapper preserving the concrete v4\n trial-call scratch value, with dispatcher-style limb-or nonzero input. -/\ntheorem evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch... | [
{
"name": "evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_shape",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 39,
"n_chars": 1979,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structu... | 2 | import EvmAsm.Evm64.DivMod.CallableV4Div
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Path-bundled N2 DIV v4 callable wrapper preserving the concrete v4
trial-call scratch value. -/
theorem evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_word
(bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word) (a b ... | import EvmAsm.Evm64.DivMod.CallableV4Div
namespace EvmAsm.Evm64
open EvmAsm.Rv64
/-- Path-bundled N2 DIV v4 callable wrapper preserving the concrete v4
trial-call scratch value. -/
theorem evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_word
(bltu_2 bltu_1 bltu_0 : Bool) (sp base : Word) (a b ... | @@ -99,6 +99,46 @@
nMem shiftMem jMem retMem dMem dloMem scratchUn0 hBodyUnified
/-- Path-bundled N2 DIV v4 callable wrapper preserving the concrete v4
+ trial-call scratch value, with dispatcher-style limb-or nonzero input. -/
+theorem evm_div_callable_v4_n2_stack_pre_to_callable_post_scratch_path_limbNz
... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8b507aaf8213_0 | f64380b73adf90dc | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV5/CapBounds.lean | CapBounds | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "algorithmQ1cV5_lt_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [algorithmQ1cV5_unfold]\n by_cases h : (rv64_divu uHi (divKTrialCallV5DHi vTop)) >>> (32 : BitVec 6).toNat = (0... | [
{
"name": "v5_capCap_toNat",
"text": "/-- Helper: `0xFFFFFFFF.toNat = 2^32 - 1`. Used by both Q1c and Q0c\n bound proofs. -/\nprivate theorem v5_capCap_toNat :\n ((BitVec.allOnes 64) >>> (32 : BitVec 6).toNat : Word).toNat = 2^32 - 1 := by\n decide\n\n",
"fan_in": 2,
"n_lines": 7,
"n_char... | [
{
"name": "algorithmQ1cV5_lt_pow32",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 12,
"n_chars": 438,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": false,
"ma... | 2 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.CapBounds
V5-specific upper bounds derived directly from the Phase-1a / Phase-2a
cap structure. These are the foundational sub-2^32 bounds that v4's
proofs had to derive carefully (giving ≤ 2^32, not <); V5 has them
for free because the cap branch writes exac... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.CapBounds
V5-specific upper bounds derived directly from the Phase-1a / Phase-2a
cap structure. These are the foundational sub-2^32 bounds that v4's
proofs had to derive carefully (giving ≤ 2^32, not <); V5 has them
for free because the cap branch writes exac... | @@ -16,6 +16,12 @@
open EvmAsm.Rv64
+/-- Helper: `0xFFFFFFFF.toNat = 2^32 - 1`. Used by both Q1c and Q0c
+ bound proofs. -/
+private theorem v5_capCap_toNat :
+ ((BitVec.allOnes 64) >>> (32 : BitVec 6).toNat : Word).toNat = 2^32 - 1 := by
+ decide
+
/-- The DIVU result `q1 := rv64_divu uHi dHi` is bounded ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8b507aaf8213_1 | c435356fe5f3e2be | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV5/CapBounds.lean | CapBounds | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "algorithmQ1cV5_lt_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [algorithmQ1cV5_unfold]\n by_cases h : (rv64_divu uHi (divKTrialCallV5DHi vTop)) >>> (32 : BitVec 6).toNat = (0... | [
{
"name": "v5_capCap_toNat",
"text": "/-- Helper: `0xFFFFFFFF.toNat = 2^32 - 1`. Used by both Q1c and Q0c\n bound proofs. -/\nprivate theorem v5_capCap_toNat :\n ((BitVec.allOnes 64) >>> (32 : BitVec 6).toNat : Word).toNat = 2^32 - 1 := by\n decide\n\n",
"fan_in": 2,
"n_lines": 7,
"n_char... | [
{
"name": "algorithmQ0cV5_lt_pow32",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 13,
"n_chars": 444,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": false,
"ma... | 2 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.CapBounds
V5-specific upper bounds derived directly from the Phase-1a / Phase-2a
cap structure. These are the foundational sub-2^32 bounds that v4's
proofs had to derive carefully (giving ≤ 2^32, not <); V5 has them
for free because the cap branch writes exac... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.CapBounds
V5-specific upper bounds derived directly from the Phase-1a / Phase-2a
cap structure. These are the foundational sub-2^32 bounds that v4's
proofs had to derive carefully (giving ≤ 2^32, not <); V5 has them
for free because the cap branch writes exac... | @@ -16,6 +16,12 @@
open EvmAsm.Rv64
+/-- Helper: `0xFFFFFFFF.toNat = 2^32 - 1`. Used by both Q1c and Q0c
+ bound proofs. -/
+private theorem v5_capCap_toNat :
+ ((BitVec.allOnes 64) >>> (32 : BitVec 6).toNat : Word).toNat = 2^32 - 1 := by
+ decide
+
/-- The DIVU result `q1 := rv64_divu uHi dHi` is bounded ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_8b507aaf8213_2 | a346528f689f6682 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/EvmWordArith/CallSkipLowerBoundV5/CapBounds.lean | CapBounds | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 2 | [
{
"theorem_name": "algorithmQ1cV5_lt_pow32",
"depth": 1,
"n_commands": 0,
"n_lines": 8,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n rw [algorithmQ1cV5_unfold]\n by_cases h : (rv64_divu uHi (divKTrialCallV5DHi vTop)) >>> (32 : BitVec 6).toNat = (0... | [
{
"name": "v5_capCap_toNat",
"text": "/-- Helper: `0xFFFFFFFF.toNat = 2^32 - 1`. Used by both Q1c and Q0c\n bound proofs. -/\nprivate theorem v5_capCap_toNat :\n ((BitVec.allOnes 64) >>> (32 : BitVec 6).toNat : Word).toNat = 2^32 - 1 := by\n decide\n\n",
"fan_in": 2,
"n_lines": 7,
"n_char... | [
{
"name": "divKTrialCallV5Q0c_lt_pow32",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 8,
"n_chars": 319,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
... | 3 | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.CapBounds
V5-specific upper bounds derived directly from the Phase-1a / Phase-2a
cap structure. These are the foundational sub-2^32 bounds that v4's
proofs had to derive carefully (giving ≤ 2^32, not <); V5 has them
for free because the cap branch writes exac... | /-
EvmAsm.Evm64.EvmWordArith.CallSkipLowerBoundV5.CapBounds
V5-specific upper bounds derived directly from the Phase-1a / Phase-2a
cap structure. These are the foundational sub-2^32 bounds that v4's
proofs had to derive carefully (giving ≤ 2^32, not <); V5 has them
for free because the cap branch writes exac... | @@ -16,6 +16,12 @@
open EvmAsm.Rv64
+/-- Helper: `0xFFFFFFFF.toNat = 2^32 - 1`. Used by both Q1c and Q0c
+ bound proofs. -/
+private theorem v5_capCap_toNat :
+ ((BitVec.allOnes 64) >>> (32 : BitVec 6).toNat : Word).toNat = 2^32 - 1 := by
+ decide
+
/-- The DIVU result `q1 := rv64_divu uHi dHi` is bounded ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_60371c887d40_0 | 471e82b89986af5e | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN3.lean | FullPathN3 | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "evm_div_n3_to_normB_spec_within_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let shift := (clzResult b2).1\n let antiShift := signExtend12 (0 : BitVec 12) - shift\n have hABCL... | [
{
"name": "evm_div_phaseAB_n3_clz_spec_within_noNop",
"text": "/-- No-NOP variant of `evm_div_phaseAB_n3_clz_spec_within`. -/\ntheorem evm_div_phaseAB_n3_clz_spec_within_noNop (sp base : Word)\n (b0 b1 b2 b3 v5 v6 v7 v10 : Word)\n (q0 q1 q2 q3 u5 u6 u7 nMem : Word)\n (hbnz : b0 ||| b1 ||| b2 ||| b3... | [
{
"name": "evm_div_n3_to_normB_spec_within_noNop",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 61,
"n_chars": 3559,
"n_subproofs": 8,
"n_tactics": 42,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 1,
"automation_only"... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN3
Full path compositions for b[3]=0, b[2]≠0 (n=3) case.
Mirrors FullPath.lean but with Phase B n=3 and CLZ on b2.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseAB
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.CLZ
import EvmAsm.Evm64.DivMo... | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN3
Full path compositions for b[3]=0, b[2]≠0 (n=3) case.
Mirrors FullPath.lean but with Phase B n=3 and CLZ on b2.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseAB
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.CLZ
import EvmAsm.Evm64.DivMo... | @@ -21,6 +21,62 @@
-- Phase A(ntaken) + Phase B(n=3) + CLZ: base → base+212
-- ============================================================================
+/-- No-NOP variant of `evm_div_phaseAB_n3_clz_spec_within`. -/
+theorem evm_div_phaseAB_n3_clz_spec_within_noNop (sp base : Word)
+ (b0 b1 b2 b3 v5 v6 v7 v1... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_60371c887d40_1 | 01c632e08d0d3e23 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN3.lean | FullPathN3 | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "evm_div_n3_to_normB_spec_within_noNop",
"depth": 1,
"n_commands": 0,
"n_lines": 41,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let shift := (clzResult b2).1\n let antiShift := signExtend12 (0 : BitVec 12) - shift\n have hABCL... | [
{
"name": "evm_div_phaseAB_n3_clz_spec_within_noNop",
"text": "/-- No-NOP variant of `evm_div_phaseAB_n3_clz_spec_within`. -/\ntheorem evm_div_phaseAB_n3_clz_spec_within_noNop (sp base : Word)\n (b0 b1 b2 b3 v5 v6 v7 v10 : Word)\n (q0 q1 q2 q3 u5 u6 u7 nMem : Word)\n (hbnz : b0 ||| b1 ||| b2 ||| b3... | [
{
"name": "evm_div_n3_to_loopSetup_spec_within_noNop",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 91,
"n_chars": 5513,
"n_subproofs": 8,
"n_tactics": 69,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 3,
"n_structural": 1,
"automation_o... | 2 | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN3
Full path compositions for b[3]=0, b[2]≠0 (n=3) case.
Mirrors FullPath.lean but with Phase B n=3 and CLZ on b2.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseAB
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.CLZ
import EvmAsm.Evm64.DivMo... | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN3
Full path compositions for b[3]=0, b[2]≠0 (n=3) case.
Mirrors FullPath.lean but with Phase B n=3 and CLZ on b2.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseAB
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.CLZ
import EvmAsm.Evm64.DivMo... | @@ -21,6 +21,62 @@
-- Phase A(ntaken) + Phase B(n=3) + CLZ: base → base+212
-- ============================================================================
+/-- No-NOP variant of `evm_div_phaseAB_n3_clz_spec_within`. -/
+theorem evm_div_phaseAB_n3_clz_spec_within_noNop (sp base : Word)
+ (b0 b1 b2 b3 v5 v6 v7 v1... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_60371c887d40_2 | 6a0bfb8a7e6b6a8f | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Compose/FullPathN3.lean | FullPathN3 | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "evm_div_n3_to_loopSetup_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 112,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n let shift := (clzResult b2).1\n let antiShift := signExtend12 (0 : BitVec 12) - shift\n let b3' := ... | [
{
"name": "evm_div_phaseAB_n3_clz_spec_within",
"text": "/-- DIV PhaseAB(n=3) + CLZ: b≠0, b[3]=0, b[2]≠0.\n base → base+212. CLZ on b2, x6 = shift = clzResult(b2).1. -/\ntheorem evm_div_phaseAB_n3_clz_spec_within (sp base : Word)\n (b0 b1 b2 b3 v5 v6 v7 v10 : Word)\n (q0 q1 q2 q3 u5 u6 u7 nMem : Wo... | [
{
"name": "evm_div_n3_to_loopSetup_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 135,
"n_chars": 8200,
"n_subproofs": 14,
"n_tactics": 107,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 1,
"n_structural": 1,
"automation_only... | 1 | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN3
Full path compositions for b[3]=0, b[2]≠0 (n=3) case.
Mirrors FullPath.lean but with Phase B n=3 and CLZ on b2.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseAB
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.CLZ
import EvmAsm.Evm64.DivMo... | /-
EvmAsm.Evm64.DivMod.Compose.FullPathN3
Full path compositions for b[3]=0, b[2]≠0 (n=3) case.
Mirrors FullPath.lean but with Phase B n=3 and CLZ on b2.
-/
import EvmAsm.Evm64.DivMod.Compose.PhaseAB
import EvmAsm.Evm64.DivMod.Compose.PhaseABNoNop
import EvmAsm.Evm64.DivMod.Compose.CLZ
import EvmAsm.Evm64.DivMo... | @@ -21,6 +21,66 @@
-- Phase A(ntaken) + Phase B(n=3) + CLZ: base → base+212
-- ============================================================================
+/-- DIV PhaseAB(n=3) + CLZ: b≠0, b[3]=0, b[2]≠0.
+ base → base+212. CLZ on b2, x6 = shift = clzResult(b2).1. -/
+theorem evm_div_phaseAB_n3_clz_spec_within ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_834d43dcbd66_0 | 7bacee9f5b8bb07a | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/Secp256k1FieldGetBitLsbSAsm.lean | Secp256k1FieldGetBitLsbSAsm | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 3 | 1 | [
{
"theorem_name": "secfGetBitLsbFn_spec",
"depth": 1,
"n_commands": 0,
"n_lines": 27,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n vcgen\n case region => exact ⟨h_ro_wf, RwRegion.empty_wf⟩\n case secfGetBitLsb.body.mem =>\n rintro rf ws A h_ws... | [
{
"name": "se12_1",
"text": "private theorem se12_1 : signExtend12 (1 : BitVec 12) = (1 : Word) := by decide\n",
"fan_in": 1,
"n_lines": 2,
"n_chars": 80,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automa... | [
{
"name": "secfGetBitLsbFn_spec",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 31,
"n_chars": 1517,
"n_subproofs": 3,
"n_tactics": 27,
"cyclomatic": 3,
"n_automation": 17,
"n_rewrites": 2,
"n_structural": 7,
"automation_only": false,
"ma... | 3 | import EvmAsm.Rv64.SAsm.Tactic
import EvmAsm.Codegen.Programs.Secp256k1Field
namespace EvmAsm.Codegen
open EvmAsm.Rv64
open EvmAsm.Rv64.SAsm
open EvmAsm.Rv64.SAsm.Stmt
namespace Secp256k1FieldGetBitLsbSAsm
def secfGetBitLsbOffset (bitIdx : Word) : Word :=
(31 : Word) - (bitIdx >>> 3)
def secfGetBitLsbResult (src... | import EvmAsm.Rv64.SAsm.Tactic
import EvmAsm.Codegen.Programs.Secp256k1Field
namespace EvmAsm.Codegen
open EvmAsm.Rv64
open EvmAsm.Rv64.SAsm
open EvmAsm.Rv64.SAsm.Stmt
namespace Secp256k1FieldGetBitLsbSAsm
def secfGetBitLsbOffset (bitIdx : Word) : Word :=
(31 : Word) - (bitIdx >>> 3)
def secfGetBitLsbResult (src... | @@ -36,11 +36,38 @@
.ANDI .x10 .x6 (1 : BitVec 12) ]
private theorem se12_0 : signExtend12 (0 : BitVec 12) = (0 : Word) := by decide
+private theorem se12_1 : signExtend12 (1 : BitVec 12) = (1 : Word) := by decide
private theorem se12_7 : signExtend12 (7 : BitVec 12) = (7 : Word) := by decide
theorem secf... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_aa4b4dc9a418_0 | 82d99e850a0fd0cc | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1V5Shift0QuotientCorrect.lean | N1V5Shift0QuotientCorrect | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "fullDivN1QuotientWordShift0V5_eq_div_of_shape",
"depth": 1,
"n_commands": 0,
"n_lines": 44,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hb0nz : b0 ≠ 0 := by\n rw [hb1z, hb2z, hb3z] at hbnz; simpa using hbnz\n have rem_e... | [
{
"name": "val256_lo2",
"text": "private theorem val256_lo2 (x y : Word) :\n val256 x y 0 0 = x.toNat + 2 ^ 64 * y.toNat := by\n unfold val256\n simp only [show (0 : Word).toNat = 0 from by decide]\n ring\n\n",
"fan_in": 1,
"n_lines": 7,
"n_chars": 175,
"n_subproofs": 0,
"n_tactics... | [
{
"name": "fullDivN1QuotientWordShift0V5_eq_div_of_shape",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 55,
"n_chars": 2991,
"n_subproofs": 18,
"n_tactics": 60,
"cyclomatic": 1,
"n_automation": 11,
"n_rewrites": 10,
"n_structural": 7,
"autom... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0QuotientCorrect
v5 n=1 **shift=0** quotient correctness: the shift=0 schoolbook computes the
exact quotient `EvmWord.div a b`, from the divisor shape `(clzResult b0).1 = 0`
(single-limb divisor, already top-bit aligned).
Shift=0 counterpart of `fullDivN1QuotientWordV5_e... | /-
EvmAsm.Evm64.DivMod.Spec.N1V5Shift0QuotientCorrect
v5 n=1 **shift=0** quotient correctness: the shift=0 schoolbook computes the
exact quotient `EvmWord.div a b`, from the divisor shape `(clzResult b0).1 = 0`
(single-limb divisor, already top-bit aligned).
Shift=0 counterpart of `fullDivN1QuotientWordV5_e... | @@ -21,6 +21,12 @@
open EvmAsm.Rv64
open EvmWord
+private theorem val256_lo2 (x y : Word) :
+ val256 x y 0 0 = x.toNat + 2 ^ 64 * y.toNat := by
+ unfold val256
+ simp only [show (0 : Word).toNat = 0 from by decide]
+ ring
+
/-- The v5 n=1 shift=0 quotient word equals `EvmWord.div a b`, from shape. -/
theore... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_75b6bc8a60bb_0 | 554f884f09f5ffc8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitBoundaryEpilogueBase.lean | SavedBitBoundaryEpilogueBase | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "exp_pointer_restore_then_epilogue_exit_control_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro exitControl\n have hBase :=\n ... | [
{
"name": "exp_pointer_restore_then_epilogue_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within",
"text": "theorem exp_pointer_restore_then_epilogue_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within\n (sp evmSp tOld r0 r1 r2 r3 d0 d1 d2 d3 : Word)\n (squaringMulOff condMulOff : BitVec 21) (skipOff ba... | [
{
"name": "exp_pointer_restore_then_epilogue_exit_control_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 52,
"n_chars": 2418,
"n_subproofs": 2,
"n_tactics": 17,
"cyclomatic": 1,
"n_automation": 0,
"... | 1 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryEpilogueBase
Base pointer-restore and epilogue adapters for the corrected two-MUL
saved-bit EXP code bundle.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologue
import EvmAsm.Evm64.Exp.AddrNorm
import EvmAsm.Rv64.Tactics.XCancelStruct
namespace EvmAsm.Evm64.E... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryEpilogueBase
Base pointer-restore and epilogue adapters for the corrected two-MUL
saved-bit EXP code bundle.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologue
import EvmAsm.Evm64.Exp.AddrNorm
import EvmAsm.Rv64.Tactics.XCancelStruct
namespace EvmAsm.Evm64.E... | @@ -14,6 +14,77 @@
open EvmAsm.Rv64.Tactics
open EvmAsm.Rv64
+theorem exp_pointer_restore_then_epilogue_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within
+ (sp evmSp tOld r0 r1 r2 r3 d0 d1 d2 d3 : Word)
+ (squaringMulOff condMulOff : BitVec 21) (skipOff backOff : BitVec 13)
+ (base mulTarget : Word) :
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_75b6bc8a60bb_1 | 08c04a0be245a99d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/Exp/Compose/SavedBitBoundaryEpilogueBase.lean | SavedBitBoundaryEpilogueBase | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 2 | 1 | [
{
"theorem_name": "exp_pointer_restore_then_epilogue_exit_control_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro exitControl\n have hBase :=\n ... | [
{
"name": "exp_pointer_restore_then_epilogue_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within",
"text": "theorem exp_pointer_restore_then_epilogue_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within\n (sp evmSp tOld r0 r1 r2 r3 d0 d1 d2 d3 : Word)\n (squaringMulOff condMulOff : BitVec 21) (skipOff ba... | [
{
"name": "exp_pointer_restore_then_epilogue_stack_tail_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 59,
"n_chars": 2899,
"n_subproofs": 2,
"n_tactics": 19,
"cyclomatic": 1,
"n_automation": 0,
"n_... | 2 | /-
EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryEpilogueBase
Base pointer-restore and epilogue adapters for the corrected two-MUL
saved-bit EXP code bundle.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologue
import EvmAsm.Evm64.Exp.AddrNorm
import EvmAsm.Rv64.Tactics.XCancelStruct
namespace EvmAsm.Evm64.E... | /-
EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryEpilogueBase
Base pointer-restore and epilogue adapters for the corrected two-MUL
saved-bit EXP code bundle.
-/
import EvmAsm.Evm64.Exp.Compose.SavedBitBoundaryPrologue
import EvmAsm.Evm64.Exp.AddrNorm
import EvmAsm.Rv64.Tactics.XCancelStruct
namespace EvmAsm.Evm64.E... | @@ -14,6 +14,77 @@
open EvmAsm.Rv64.Tactics
open EvmAsm.Rv64
+theorem exp_pointer_restore_then_epilogue_evm_exp_msb_saved_bit_two_mul_with_mul_spec_within
+ (sp evmSp tOld r0 r1 r2 r3 d0 d1 d2 d3 : Word)
+ (squaringMulOff condMulOff : BitVec 21) (skipOff backOff : BitVec 13)
+ (base mulTarget : Word) :
+ ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_df43bf45e359_0 | 54c8ea34cdfcf5b8 | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/SwrRevLeBeSAsm.lean | SwrRevLeBeSAsm | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "swr_step_engine",
"depth": 1,
"n_commands": 0,
"n_lines": 69,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hse_m1 : signExtend12 (-1 : BitVec 12) = (-1 : Word) := by decide\n have hse_0 : signExtend12 (0 : BitVec 12) = (0 :... | [
{
"name": "execInstrRF_lbu_ro",
"text": "/-- An `LBU` that misses the writable window reads the read-only region. -/\ntheorem execInstrRF_lbu_ro (ro : Region) (rwBase : Word) (rf : RegFile)\n (ws : List (BitVec 8)) (rd rs1 : Reg) (ofs : BitVec 12)\n (h : ¬ inRw rwBase ws (rf.get rs1 + signExtend12 ofs... | [
{
"name": "swr_step_engine",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 82,
"n_chars": 3932,
"n_subproofs": 13,
"n_tactics": 73,
"cyclomatic": 3,
"n_automation": 22,
"n_rewrites": 29,
"n_structural": 2,
"automation_only": false,
"max_n... | 1 | /-
EvmAsm.Codegen.Programs.SwrRevLeBeSAsm
Verified SAsm port of `swr_rev_le_be` (bead evm-asm-4ch8f.12.4): reverse the
first `len` bytes of the source buffer `a0` into the destination `a2`.
Source (`swrRevLeBe_prog` in SszWithdrawal.lean): a0=src, a1=len, a2=dst.
`x5 := src+len; x6 := dst; x7 := len; while ... | /-
EvmAsm.Codegen.Programs.SwrRevLeBeSAsm
Verified SAsm port of `swr_rev_le_be` (bead evm-asm-4ch8f.12.4): reverse the
first `len` bytes of the source buffer `a0` into the destination `a2`.
Source (`swrRevLeBe_prog` in SszWithdrawal.lean): a0=src, a1=len, a2=dst.
`x5 := src+len; x6 := dst; x7 := len; while ... | @@ -95,6 +95,16 @@
#guard (swrRevLeBeBody 0 0 0 [] []).flatten 0 = (swrRevLeBeBody 0 0 0 [] []).flatten 0x80000000
#guard (swrRevLeBeBody 0 0 0 [] []).flatten 0 ++ [Instr.JALR .x0 .x1 0] = swrRevLeBe_prog
+/-- An `LBU` that misses the writable window reads the read-only region. -/
+theorem execInstrRF_lbu_ro (ro : ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_df43bf45e359_1 | e9dd09c9d34171ae | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Codegen/Programs/SwrRevLeBeSAsm.lean | SwrRevLeBeSAsm | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 9 | 2 | [
{
"theorem_name": "swr_step_engine",
"depth": 1,
"n_commands": 0,
"n_lines": 69,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have hse_m1 : signExtend12 (-1 : BitVec 12) = (-1 : Word) := by decide\n have hse_0 : signExtend12 (0 : BitVec 12) = (0 :... | [
{
"name": "execInstrRF_lbu_ro",
"text": "/-- An `LBU` that misses the writable window reads the read-only region. -/\ntheorem execInstrRF_lbu_ro (ro : Region) (rwBase : Word) (rf : RegFile)\n (ws : List (BitVec 8)) (rd rs1 : Reg) (ofs : BitVec 12)\n (h : ¬ inRw rwBase ws (rf.get rs1 + signExtend12 ofs... | [
{
"name": "swrRevLeBeFn_spec",
"fan_in": 0,
"n_deps_direct": 9,
"n_deps_transitive": 9,
"n_lines": 126,
"n_chars": 6627,
"n_subproofs": 24,
"n_tactics": 134,
"cyclomatic": 8,
"n_automation": 63,
"n_rewrites": 55,
"n_structural": 16,
"automation_only": false,
"... | 9 | /-
EvmAsm.Codegen.Programs.SwrRevLeBeSAsm
Verified SAsm port of `swr_rev_le_be` (bead evm-asm-4ch8f.12.4): reverse the
first `len` bytes of the source buffer `a0` into the destination `a2`.
Source (`swrRevLeBe_prog` in SszWithdrawal.lean): a0=src, a1=len, a2=dst.
`x5 := src+len; x6 := dst; x7 := len; while ... | /-
EvmAsm.Codegen.Programs.SwrRevLeBeSAsm
Verified SAsm port of `swr_rev_le_be` (bead evm-asm-4ch8f.12.4): reverse the
first `len` bytes of the source buffer `a0` into the destination `a2`.
Source (`swrRevLeBe_prog` in SszWithdrawal.lean): a0=src, a1=len, a2=dst.
`x5 := src+len; x6 := dst; x7 := len; while ... | @@ -135,6 +135,16 @@
#guard (swrRevLeBeBody 0 0 0 [] []).flatten 0 = (swrRevLeBeBody 0 0 0 [] []).flatten 0x80000000
#guard (swrRevLeBeBody 0 0 0 [] []).flatten 0 ++ [Instr.JALR .x0 .x1 0] = swrRevLeBe_prog
+/-- An `LBU` that misses the writable window reads the read-only region. -/
+theorem execInstrRF_lbu_ro (ro ... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_a933c5f6597f_0 | 9e7ed9ef536bec7b | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1ExactV4IfBorrowPathWord.lean | N1ExactV4IfBorrowPathWord | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExactFrame_unified_of_selected_if_borrow_path_word_getLimbN",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n exact\n ... | [
{
"name": "evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExtra_x9In_exactFrame_unified_of_selected_if_borrow_path_word_getLimbN",
"text": "/-- Full-v4 N1 stack wrapper consuming all-true N1 path evidence plus the\n selected quotient-word equality, avoiding the heavier semantic-facts... | [
{
"name": "evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExactFrame_unified_of_selected_if_borrow_path_word_getLimbN",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 118,
"n_chars": 6008,
"n_subproofs": 0,
"n_tactics": 10,
"cyclomatic": ... | 1 | /-
EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
Small path-evidence wrappers over the selected-if-borrow N1 exact v4 stack
surface.
-/
import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrow
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopSelectedIfBorrow
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAs... | /-
EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
Small path-evidence wrappers over the selected-if-borrow N1 exact v4 stack
surface.
-/
import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrow
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopSelectedIfBorrow
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAs... | @@ -13,6 +13,124 @@
open EvmAsm.Rv64
open EvmAsm.Rv64.AddrNorm (word_add_zero)
+/-- Full-v4 N1 stack wrapper consuming all-true N1 path evidence plus the
+ selected quotient-word equality, avoiding the heavier semantic-facts
+ package at this layer. -/
+theorem evm_div_n1_call_maxmaxmax_stack_spec_within_word... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "7d5875858bc3727250adb6880c8339048365b1b6",
"lean_toolchain": "leanprover/lean4:v4.30.0-rc1",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_a933c5f6597f_1 | 05c5dcc4c773d00d | lean | lean | github.com/Verified-zkEVM/evm-asm | 7d5875858bc3727250adb6880c8339048365b1b6 | EvmAsm/Evm64/DivMod/Spec/N1ExactV4IfBorrowPathWord.lean | N1ExactV4IfBorrowPathWord | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExactFrame_unified_of_selected_if_borrow_path_word_ne_zero_getLimbN",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n ex... | [
{
"name": "evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExactFrame_unified_of_selected_if_borrow_path_word_getLimbN",
"text": "/-- Standard `preNoX1` form of\n `evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExtra_x9In_exactFrame_unified_of_selected_if_borrow_p... | [
{
"name": "evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExactFrame_unified_of_selected_if_borrow_path_word_ne_zero_getLimbN",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 114,
"n_chars": 5703,
"n_subproofs": 0,
"n_tactics": 11,
"cyclo... | 2 | /-
EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
Small path-evidence wrappers over the selected-if-borrow N1 exact v4 stack
surface.
-/
import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrow
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopSelectedIfBorrow
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAs... | /-
EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrowPathWord
Small path-evidence wrappers over the selected-if-borrow N1 exact v4 stack
surface.
-/
import EvmAsm.Evm64.DivMod.Spec.N1ExactV4IfBorrow
import EvmAsm.Evm64.DivMod.Compose.FullPathN1V4NoNopSelectedIfBorrow
namespace EvmAsm.Evm64
open EvmAsm.Rv64
open EvmAs... | @@ -131,6 +131,123 @@
(N1AllTruePathEvidence.selectedCarryIfBorrowFacts hpath)
hdivWord
+/-- Standard `preNoX1` form of
+ `evm_div_n1_call_maxmaxmax_stack_spec_within_word_v4_preNoX1_callableExtra_x9In_exactFrame_unified_of_selected_if_borrow_path_word_getLimbN`.
+
+ This keeps the selected-if-bor... | {
"repo": "evm-asm",
"git_repo": "github.com/Verified-zkEVM/evm-asm",
"revision": "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.