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_e6bb41d22743_112
219fc81ab26ff90c
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/FunctionBody/Stmt.lean
Stmt
112
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
135
2
[ { "theorem_name": "bindingsExactlyMatchIRVarsOnScope_setFreshTemp_irrelevant", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n apply bindingsExactlyMatchIRVarsOnScope_setVar_irrelevant hexact\n exact pickFre...
[ { "name": "pickFreshName_not_mem_scope_of_subset", "text": "theorem pickFreshName_not_mem_scope_of_subset\n {base : String}\n {scope usedNames : List String}\n (hsubset : ∀ name, name ∈ scope → name ∈ usedNames) :\n CompilationModel.pickFreshName base usedNames ∉ scope := by\n intro hmem\n exa...
[ { "name": "compiled_terminal_ite_temp_not_mem_scope", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 13, "n_chars": 581, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 2, "automation_only...
2
import Compiler.Proofs.IRGeneration.FunctionBody.Base set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul namespace FunctionBody def stmtResultMatchesIRExecExact : SourceSemantics.S...
import Compiler.Proofs.IRGeneration.FunctionBody.Base set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul namespace FunctionBody def stmtResultMatchesIRExecExact : SourceSemantics.S...
@@ -120,6 +120,14 @@ intro name hname simp [hincluded name hname] +theorem pickFreshName_not_mem_scope_of_subset + {base : String} + {scope usedNames : List String} + (hsubset : ∀ name, name ∈ scope → name ∈ usedNames) : + CompilationModel.pickFreshName base usedNames ∉ scope := by + intro hmem + ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_e6bb41d22743_113
9ffdc0f4f80740dc
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/FunctionBody/Stmt.lean
Stmt
113
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
135
1
[ { "theorem_name": "compiled_terminal_ite_temp_not_mem_scope", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n apply pickFreshName_not_mem_scope_of_subset\n exact scopeNamesIncluded_compiled_terminal_ite_used...
[ { "name": "scopeNamesIncluded_compiled_terminal_ite_usedNames", "text": "theorem scopeNamesIncluded_compiled_terminal_ite_usedNames\n {scope inScopeNames : List String}\n {cond : Expr}\n {thenBranch elseBranch : List Stmt}\n (hincluded : scopeNamesIncluded scope inScopeNames) :\n scopeNamesIn...
[ { "name": "bindingsExactlyMatchIRVarsOnScope_setCompiledTerminalIteTemp_irrelevant", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 20, "n_chars": 863, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_struc...
4
import Compiler.Proofs.IRGeneration.FunctionBody.Base set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul namespace FunctionBody def stmtResultMatchesIRExecExact : SourceSemantics.S...
import Compiler.Proofs.IRGeneration.FunctionBody.Base set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul namespace FunctionBody def stmtResultMatchesIRExecExact : SourceSemantics.S...
@@ -125,6 +125,17 @@ | mstore_hex {offset value : Nat} : RevertPrefixStmt (YulStmt.exprStmt (YulExpr.call "mstore" [YulExpr.lit offset, YulExpr.hex value])) +theorem scopeNamesIncluded_compiled_terminal_ite_usedNames + {scope inScopeNames : List String} + {cond : Expr} + {thenBranch elseBranch : Li...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_e6bb41d22743_114
0baf2f62a9911784
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/FunctionBody/Stmt.lean
Stmt
114
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
135
9
[ { "theorem_name": "compiled_terminal_ite_body_thenBranch_extraFuel_eq", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hbranch :=\n (compiled_terminal_ite_body_size_ge_branchExecFuel tempName condIR ...
[ { "name": "compiled_terminal_ite_body_size_ge_branchExecFuel", "text": "theorem compiled_terminal_ite_body_size_ge_branchExecFuel\n (tempName : String)\n (condIR : YulExpr)\n (thenIR elseIR tailIR : List YulStmt) :\n sizeOf thenIR + 5 ≤\n sizeOf\n ([YulStmt.block\n [ YulSt...
[ { "name": "exec_compileStmtList_terminal_core_sizeOf_extraFuel", "fan_in": 0, "n_deps_direct": 32, "n_deps_transitive": 94, "n_lines": 613, "n_chars": 35731, "n_subproofs": 89, "n_tactics": 605, "cyclomatic": 36, "n_automation": 80, "n_rewrites": 51, "n_structural": 6...
94
import Compiler.Proofs.IRGeneration.FunctionBody.Base set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul namespace FunctionBody theorem runtimeStateMatchesIR_setVar_bindValue {fiel...
import Compiler.Proofs.IRGeneration.FunctionBody.Base set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul namespace FunctionBody theorem runtimeStateMatchesIR_setVar_bindValue {fiel...
@@ -681,6 +681,52 @@ simp omega +theorem compiled_terminal_ite_body_size_ge_branchExecFuel + (tempName : String) + (condIR : YulExpr) + (thenIR elseIR tailIR : List YulStmt) : + sizeOf thenIR + 5 ≤ + sizeOf + ([YulStmt.block + [ YulStmt.let_ tempName condIR + , YulS...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_0
e4dda9d91f887536
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "erase_all_cut_ne", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold erase\n exact All.setBlack' (del_all_cut_ne (cmp := cmp) (cut := cut) ht)", "n_chars": 86, "n_subproofs": ...
[ { "name": "All.setBlack'", "text": "theorem All.setBlack' {p : α → Prop} {t : RBNode α}\n (h : t.All p) : t.setBlack.All p := by\n cases t <;> simp [setBlack]\n exact h\n\n", "fan_in": 1, "n_lines": 6, "n_chars": 140, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 3, "n_aut...
[ { "name": "erase_all_cut_ne", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 8, "n_chars": 313, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 1, "n_structural": 1, "automation_only": false, "max_nestin...
1
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -40,6 +40,11 @@ open RBColor +theorem All.setBlack' {p : α → Prop} {t : RBNode α} + (h : t.All p) : t.setBlack.All p := by + cases t <;> simp [setBlack] + exact h + theorem del_all_cut_ne {cmp : α → α → Ordering} {cut : α → Ordering} [Std.TransCmp cmp] [IsStrictCut cmp cut] : ∀ {t : RBNode α}, t...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_1
e804ab7b7c1ad0b0
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "findP?_erase_none", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold RBSet.erase RBSet.findP?\n rw [find?_eq_none_of_all_ne]\n exact erase_all_cut_ne (cmp := cmp) (cut := cut) s.2.o...
[ { "name": "erase_all_cut_ne", "text": "theorem erase_all_cut_ne {cmp : α → α → Ordering} {cut : α → Ordering}\n [Std.TransCmp cmp] [IsStrictCut cmp cut] {t : RBNode α}\n (ht : t.Ordered cmp) :\n (t.erase cut).All (fun x => cut x ≠ Ordering.eq) := by\n unfold erase\n exact All.setBlack' (del_all_c...
[ { "name": "findP?_erase_none", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 3, "n_lines": 8, "n_chars": 316, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 1, "automation_only": false, "max_nesti...
3
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -112,9 +112,19 @@ cases hxygt.symm.trans hx exact All.append haAll hbAll +theorem erase_all_cut_ne {cmp : α → α → Ordering} {cut : α → Ordering} + [Std.TransCmp cmp] [IsStrictCut cmp cut] {t : RBNode α} + (ht : t.Ordered cmp) : + (t.erase cut).All (fun x => cut x ≠ Ordering.eq) := by +...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_2
09f769dcf3e55a0d
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
2
[ { "theorem_name": "mem_del_of_mem_ne", "depth": 1, "n_commands": 0, "n_lines": 41, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction t with\n | nil => cases hx\n | node c a y b iha ihb =>\n simp only [RBNode.del]\n split\n · r...
[ { "name": "append_toList", "text": "theorem append_toList (l r : RBNode α) :\n (l.append r).toList = l.toList ++ r.toList := by\n induction l, r using RBNode.append.induct <;>\n simp [RBNode.append, *]\n · rename_i la lx lb rc ry rd ra rx rb h ih\n have ih' := ih\n rw [h] at ih'\n simp at i...
[ { "name": "mem_del_of_mem_ne", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 45, "n_chars": 1354, "n_subproofs": 0, "n_tactics": 53, "cyclomatic": 25, "n_automation": 12, "n_rewrites": 8, "n_structural": 18, "automation_only": false, "max...
1
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -95,6 +95,35 @@ cases hxygt.symm.trans hx exact All.append haAll hbAll +theorem append_toList (l r : RBNode α) : + (l.append r).toList = l.toList ++ r.toList := by + induction l, r using RBNode.append.induct <;> + simp [RBNode.append, *] + · rename_i la lx lb rc ry rd ra rx rb h ih + ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_3
21f03fcd11fe7164
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
2
[ { "theorem_name": "mem_del_of_mem_ne", "depth": 1, "n_commands": 0, "n_lines": 41, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction t with\n | nil => cases hx\n | node c a y b iha ihb =>\n simp only [RBNode.del]\n split\n · r...
[ { "name": "append_toList", "text": "theorem append_toList (l r : RBNode α) :\n (l.append r).toList = l.toList ++ r.toList := by\n induction l, r using RBNode.append.induct <;>\n simp [RBNode.append, *]\n · rename_i la lx lb rc ry rd ra rx rb h ih\n have ih' := ih\n rw [h] at ih'\n simp at i...
[ { "name": "mem_of_mem_del", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 47, "n_chars": 1501, "n_subproofs": 0, "n_tactics": 43, "cyclomatic": 11, "n_automation": 18, "n_rewrites": 5, "n_structural": 23, "automation_only": false, "max_ne...
1
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -95,6 +95,35 @@ cases hxygt.symm.trans hx exact All.append haAll hbAll +theorem append_toList (l r : RBNode α) : + (l.append r).toList = l.toList ++ r.toList := by + induction l, r using RBNode.append.induct <;> + simp [RBNode.append, *] + · rename_i la lx lb rc ry rd ra rx rb h ih + ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_4
2405557108f1c77d
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "mem_erase_of_mem_ne", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold erase\n rw [← mem_toList]\n simpa using mem_del_of_mem_ne (cut := cut) hx hcut", "n_chars": 93, "n_sub...
[ { "name": "mem_del_of_mem_ne", "text": "theorem mem_del_of_mem_ne {cut : α → Ordering}\n {t : RBNode α} {x : α} (hx : x ∈ t) (hcut : cut x ≠ Ordering.eq) :\n x ∈ t.del cut := by\n induction t with\n | nil => cases hx\n | node c a y b iha ihb =>\n simp only [RBNode.del]\n split\n · re...
[ { "name": "mem_erase_of_mem_ne", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 8, "n_chars": 248, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": false, "max_nes...
2
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -124,9 +124,56 @@ _ = lb.toList ++ (rc.toList ++ ry :: rd.toList) := by simp [List.append_assoc] +theorem mem_del_of_mem_ne {cut : α → Ordering} + {t : RBNode α} {x : α} (hx : x ∈ t) (hcut : cut x ≠ Ordering.eq) : + x ∈ t.del cut := by + induction t with + | nil => cases hx + | node ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_5
12f0d093dba413e6
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
5
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "mem_of_mem_erase", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold erase at hx\n rw [← mem_toList] at hx\n exact mem_of_mem_del (cut := cut) (by simpa using hx)", "n_chars": 10...
[ { "name": "mem_of_mem_del", "text": "theorem mem_of_mem_del {cut : α → Ordering}\n {t : RBNode α} {x : α} (hx : x ∈ t.del cut) :\n x ∈ t := by\n induction t with\n | nil => cases hx\n | node c a y b iha ihb =>\n simp only [RBNode.del] at hx\n split at hx\n · rename_i hy\n case...
[ { "name": "mem_of_mem_erase", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 8, "n_chars": 229, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 1, "automation_only": false, "max_nestin...
2
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -124,9 +124,58 @@ _ = lb.toList ++ (rc.toList ++ ry :: rd.toList) := by simp [List.append_assoc] +theorem mem_of_mem_del {cut : α → Ordering} + {t : RBNode α} {x : α} (hx : x ∈ t.del cut) : + x ∈ t := by + induction t with + | nil => cases hx + | node c a y b iha ihb => + simp o...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_6
2ffd06ca95cffa17
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
6
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "find?_erase_of_ne", "depth": 1, "n_commands": 0, "n_lines": 27, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have htErase : (t.erase eraseCut).Ordered cmp :=\n Ordered.erase (cut := eraseCut) ht\n cases hFind : t.find? cut wi...
[ { "name": "mem_of_mem_erase", "text": "theorem mem_of_mem_erase {cut : α → Ordering}\n {t : RBNode α} {x : α} (hx : x ∈ t.erase cut) :\n x ∈ t := by\n unfold erase at hx\n rw [← mem_toList] at hx\n exact mem_of_mem_del (cut := cut) (by simpa using hx)\n\n", "fan_in": 1, "n_lines": 8, "n...
[ { "name": "find?_erase_of_ne", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 5, "n_lines": 33, "n_chars": 1280, "n_subproofs": 7, "n_tactics": 27, "cyclomatic": 5, "n_automation": 1, "n_rewrites": 1, "n_structural": 7, "automation_only": false, "max_ne...
5
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -221,6 +221,13 @@ rw [← mem_toList] simpa using mem_del_of_mem_ne (cut := cut) hx hcut +theorem mem_of_mem_erase {cut : α → Ordering} + {t : RBNode α} {x : α} (hx : x ∈ t.erase cut) : + x ∈ t := by + unfold erase at hx + rw [← mem_toList] at hx + exact mem_of_mem_del (cut := cut) (by simpa using hx)...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_7
e9513d5a17eaa365
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
7
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "find?_erase_self", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold RBMap.find? RBMap.findEntry? RBMap.erase\n rw [RBNode.findP?_erase_none]\n rfl", "n_chars": 91, "n_subpro...
[ { "name": "findP?_erase_none", "text": "theorem findP?_erase_none {cmp : α → α → Ordering} {cut : α → Ordering}\n [Std.TransCmp cmp] [IsStrictCut cmp cut] (s : RBSet α cmp) :\n (s.erase cut).findP? cut = none := by\n unfold RBSet.erase RBSet.findP?\n rw [find?_eq_none_of_all_ne]\n exact erase_all_c...
[ { "name": "find?_erase_self", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 8, "n_chars": 238, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "automation_only": false, "max_nestin...
4
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -119,13 +119,23 @@ unfold erase exact All.setBlack' (del_all_cut_ne (cmp := cmp) (cut := cut) ht) +theorem findP?_erase_none {cmp : α → α → Ordering} {cut : α → Ordering} + [Std.TransCmp cmp] [IsStrictCut cmp cut] (s : RBSet α cmp) : + (s.erase cut).findP? cut = none := by + unfold RBSet.erase RBSet.f...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_8
76dde6dcfcbe3b7f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
8
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "calldataToByteArray_fold_get?_left", "depth": 1, "n_commands": 0, "n_lines": 16, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro acc calldata\n induction calldata generalizing acc with\n | nil =>\n intro i h\n rfl\...
[ { "name": "byteArray_get?_append_left", "text": "private theorem byteArray_get?_append_left\n {a b : ByteArray} {i : Nat} (h : i < a.size) :\n (a ++ b).get? i = a.get? i := by\n unfold ByteArray.get?\n split\n · apply congrArg some\n have hEq : (a ++ b)[i] = a[i] := ByteArray.get_append_left h\n...
[ { "name": "calldataToByteArray_fold_get?_left", "fan_in": 5, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 23, "n_chars": 783, "n_subproofs": 0, "n_tactics": 16, "cyclomatic": 2, "n_automation": 3, "n_rewrites": 1, "n_structural": 6, "automation_only": fa...
1
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -234,6 +234,20 @@ UInt8.ofNat (w / 2^((31 - i.1) * 8) % 256) calldata.foldl (init := selectorBytes) fun acc w => acc ++ wordBytes w +private theorem byteArray_get?_append_left + {a b : ByteArray} {i : Nat} (h : i < a.size) : + (a ++ b).get? i = a.get? i := by + unfold ByteArray.get? + split + · ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_9
e7a8e7a8261e6090
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
9
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
5
[ { "theorem_name": "calldataToByteArray_fold_get?_word", "depth": 1, "n_commands": 0, "n_lines": 27, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro acc calldata idx\n induction idx generalizing acc calldata with\n | zero =>\n intro arg re...
[ { "name": "calldataToByteArray_fold_get?_left", "text": "private theorem calldataToByteArray_fold_get?_left\n (wordBytes : Nat → ByteArray)\n (hWord : ∀ w, (wordBytes w).size = 32) :\n ∀ (acc : ByteArray) (calldata : List Nat) (i : Nat), i < acc.size →\n (calldata.foldl (init := acc) fun acc w...
[ { "name": "calldataToByteArray_fold_get?_word", "fan_in": 2, "n_deps_direct": 2, "n_deps_transitive": 3, "n_lines": 42, "n_chars": 1519, "n_subproofs": 1, "n_tactics": 27, "cyclomatic": 3, "n_automation": 10, "n_rewrites": 5, "n_structural": 5, "automation_only": ...
3
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -266,6 +266,28 @@ · rename_i hnot exact False.elim (hnot h) +private theorem calldataToByteArray_fold_get?_left + (wordBytes : Nat → ByteArray) + (hWord : ∀ w, (wordBytes w).size = 32) : + ∀ (acc : ByteArray) (calldata : List Nat) (i : Nat), i < acc.size → + (calldata.foldl (init := acc) fun ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_10
e9ac19e2364f5d2e
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
10
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "calldataToByteArray_size", "depth": 1, "n_commands": 0, "n_lines": 19, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold calldataToByteArray\n let selectorBytes : ByteArray :=\n ByteArray.ofFn fun i : Fin 4 =>\n match ...
[ { "name": "calldataToByteArray_fold_size", "text": "private theorem calldataToByteArray_fold_size\n (wordBytes : Nat → ByteArray)\n (hWord : ∀ w, (wordBytes w).size = 32) :\n ∀ (acc : ByteArray) (calldata : List Nat),\n (calldata.foldl (init := acc) fun acc w => acc ++ wordBytes w).size =\n ...
[ { "name": "calldataToByteArray_size", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 24, "n_chars": 1043, "n_subproofs": 3, "n_tactics": 19, "cyclomatic": 2, "n_automation": 3, "n_rewrites": 1, "n_structural": 1, "automation_only": false, ...
1
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -234,6 +234,20 @@ UInt8.ofNat (w / 2^((31 - i.1) * 8) % 256) calldata.foldl (init := selectorBytes) fun acc w => acc ++ wordBytes w +private theorem calldataToByteArray_fold_size + (wordBytes : Nat → ByteArray) + (hWord : ∀ w, (wordBytes w).size = 32) : + ∀ (acc : ByteArray) (calldata : List Nat...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_11
e80fbac655057570
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
11
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
5
[ { "theorem_name": "calldataToByteArray_fold_get?_word", "depth": 1, "n_commands": 0, "n_lines": 27, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro acc calldata idx\n induction idx generalizing acc calldata with\n | zero =>\n intro arg re...
[ { "name": "calldataToByteArray_fold_get?_left", "text": "private theorem calldataToByteArray_fold_get?_left\n (wordBytes : Nat → ByteArray)\n (hWord : ∀ w, (wordBytes w).size = 32) :\n ∀ (acc : ByteArray) (calldata : List Nat) (i : Nat), i < acc.size →\n (calldata.foldl (init := acc) fun acc w...
[ { "name": "calldataToByteArray_selectorByte0", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 24, "n_chars": 897, "n_subproofs": 1, "n_tactics": 21, "cyclomatic": 3, "n_automation": 4, "n_rewrites": 3, "n_structural": 2, "automation_only": fal...
2
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -248,21 +248,119 @@ rw [ByteArray.size_append] exact Nat.lt_of_lt_of_le h (Nat.le_add_right a.size b.size))) +private theorem calldataToByteArray_fold_get?_left + (wordBytes : Nat → ByteArray) + (hWord : ∀ w, (wordBytes w).size = 32) : + ∀ (acc : ByteArray) (calldata : List Nat) (i : Nat...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_12
01a5cc7bbf96efb8
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
12
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
2
[ { "theorem_name": "calldataToByteArray_arg0Byte", "depth": 1, "n_commands": 0, "n_lines": 30, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold calldataToByteArray\n let selectorBytes : ByteArray :=\n ByteArray.ofFn fun i : Fin 4 =>\n ma...
[ { "name": "calldataToByteArray_fold_get?_word", "text": "private theorem calldataToByteArray_fold_get?_word\n (wordBytes : Nat → ByteArray)\n (hWord : ∀ w, (wordBytes w).size = 32)\n (hByte :\n ∀ w i, i < 32 →\n (wordBytes w).get? i =\n some (UInt8.ofNat (w / 2^((31 - i) * 8) %...
[ { "name": "calldataToByteArray_arg0Byte", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 38, "n_chars": 1490, "n_subproofs": 3, "n_tactics": 30, "cyclomatic": 3, "n_automation": 5, "n_rewrites": 2, "n_structural": 4, "automation_only": false, ...
4
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -288,6 +288,47 @@ omega _ = acc.get? i := byteArray_get?_append_left h +private theorem calldataToByteArray_fold_get?_word + (wordBytes : Nat → ByteArray) + (hWord : ∀ w, (wordBytes w).size = 32) + (hByte : + ∀ w i, i < 32 → + (wordBytes w).get? i = + some (U...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_13
471e84600e1258c6
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
13
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
2
[ { "theorem_name": "calldataToByteArray_arg0Byte", "depth": 1, "n_commands": 0, "n_lines": 30, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold calldataToByteArray\n let selectorBytes : ByteArray :=\n ByteArray.ofFn fun i : Fin 4 =>\n ma...
[ { "name": "calldataToByteArray_fold_get?_word", "text": "private theorem calldataToByteArray_fold_get?_word\n (wordBytes : Nat → ByteArray)\n (hWord : ∀ w, (wordBytes w).size = 32)\n (hByte :\n ∀ w i, i < 32 →\n (wordBytes w).get? i =\n some (UInt8.ofNat (w / 2^((31 - i) * 8) %...
[ { "name": "calldataToByteArray_argByte_of_drop_eq_cons", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 44, "n_chars": 1686, "n_subproofs": 3, "n_tactics": 30, "cyclomatic": 3, "n_automation": 4, "n_rewrites": 2, "n_structural": 4, "automation...
4
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -288,6 +288,47 @@ omega _ = acc.get? i := byteArray_get?_append_left h +private theorem calldataToByteArray_fold_get?_word + (wordBytes : Nat → ByteArray) + (hWord : ∀ w, (wordBytes w).size = 32) + (hByte : + ∀ w i, i < 32 → + (wordBytes w).get? i = + some (U...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_14
b633bf91cf0a0350
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
14
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "UInt256_compare_eq_fin", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n -- The derived Ord generates: Ordering.then (compare a b) .eq\n -- We reduce this to compare a b by simplifying the...
[ { "name": "ordering_then_eq", "text": "/-- The derived `Ord` for `UInt256` generates\n `compare (mk a) (mk b) = Ordering.then (compare a b) .eq`\n rather than `compare a b` directly. This helper reduces the\n `Ordering.then` wrapper so we can delegate to `Fin`'s instances. -/\nprivate theorem order...
[ { "name": "UInt256_compare_eq_fin", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 14, "n_chars": 729, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 1, "n_structural": 1, "automation_only": false, "max...
1
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -423,13 +423,25 @@ /-! ## Storage Bridge Proofs -/ +/-- The derived `Ord` for `UInt256` generates + `compare (mk a) (mk b) = Ordering.then (compare a b) .eq` + rather than `compare a b` directly. This helper reduces the + `Ordering.then` wrapper so we can delegate to `Fin`'s instances. -/ +private theo...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_15
b9eeaf1b8512bc1d
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
15
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "UInt256_compare_eq_fin", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n -- The derived Ord generates: Ordering.then (compare a b) .eq\n -- We reduce this to compare a b by simplifying the...
[ { "name": "ordering_then_eq", "text": "/-- The derived `Ord` for `UInt256` generates\n `compare (mk a) (mk b) = Ordering.then (compare a b) .eq`\n rather than `compare a b` directly. This helper reduces the\n `Ordering.then` wrapper so we can delegate to `Fin`'s instances. -/\nprivate theorem order...
[ { "name": "UInt256_eq_of_compare_eq", "fan_in": 2, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 12, "n_chars": 392, "n_subproofs": 1, "n_tactics": 7, "cyclomatic": 3, "n_automation": 1, "n_rewrites": 2, "n_structural": 2, "automation_only": false, "m...
1
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -423,13 +423,25 @@ /-! ## Storage Bridge Proofs -/ +/-- The derived `Ord` for `UInt256` generates + `compare (mk a) (mk b) = Ordering.then (compare a b) .eq` + rather than `compare a b` directly. This helper reduces the + `Ordering.then` wrapper so we can delegate to `Fin`'s instances. -/ +private theo...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_16
ec75b005a3e95ccd
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
16
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "compare_natToUInt256_ne", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro heq\n exact hab (natToUInt256_injective ha hb (UInt256_eq_of_compare_eq heq))", "n_chars": 89, "n_su...
[ { "name": "natToUInt256_injective", "text": "/-- `natToUInt256` is injective on values below `UInt256.size`.\n Since `UInt256.ofNat n = ⟨⟨n % size, _⟩⟩`, when `n < size` we have\n `n % size = n`, so the Fin value is exactly `n`. -/\ntheorem natToUInt256_injective {a b : Nat}\n (ha : a < UInt256.siz...
[ { "name": "compare_natToUInt256_ne", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 8, "n_chars": 339, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 2, "automation_only": false, "max...
3
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -470,10 +470,24 @@ subst heq rfl +/-- `natToUInt256` is injective on values below `UInt256.size`. + Since `UInt256.ofNat n = ⟨⟨n % size, _⟩⟩`, when `n < size` we have + `n % size = n`, so the Fin value is exactly `n`. -/ +theorem natToUInt256_injective {a b : Nat} + (ha : a < UInt256.size) (hb : b <...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_17
58ce347c5246c5c1
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
17
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "foldl_insert_find_not_mem", "depth": 1, "n_commands": 0, "n_lines": 11, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction slots generalizing acc with\n | nil => rfl\n | cons hd tl ih =>\n simp only [List.foldl_cons]\n ...
[ { "name": "compare_natToUInt256_ne", "text": "/-- Distinct in-range Nats map to UInt256s with `compare ≠ .eq`. -/\ntheorem compare_natToUInt256_ne {a b : Nat}\n (ha : a < UInt256.size) (hb : b < UInt256.size) (hab : a ≠ b) :\n compare (natToUInt256 a) (natToUInt256 b) ≠ Ordering.eq := by\n intro heq\...
[ { "name": "foldl_insert_find_not_mem", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 21, "n_chars": 1133, "n_subproofs": 3, "n_tactics": 11, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 1, "n_structural": 2, "automation_only": false, ...
4
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -482,6 +482,13 @@ simpa [natToUInt256, UInt256.ofNat, Id.run, Fin.ofNat] using this rwa [Nat.mod_eq_of_lt ha, Nat.mod_eq_of_lt hb] at hval +/-- Distinct in-range Nats map to UInt256s with `compare ≠ .eq`. -/ +theorem compare_natToUInt256_ne {a b : Nat} + (ha : a < UInt256.size) (hb : b < UInt256.size) (...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_18
2d02994e1d294130
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
18
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "foldl_insert_find", "depth": 1, "n_commands": 0, "n_lines": 18, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction slots generalizing acc with\n | nil => exact absurd hSlot List.not_mem_nil\n | cons hd tl ih =>\n simp on...
[ { "name": "foldl_insert_find_not_mem", "text": "/-- Helper: folding inserts over a list of slots that does NOT contain `slot`\n preserves whatever `find?` value the accumulator had for `natToUInt256 slot`. -/\ntheorem foldl_insert_find_not_mem (storage : IRStorageSlot → IRStorageWord)\n (slots : List ...
[ { "name": "foldl_insert_find", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 30, "n_chars": 1587, "n_subproofs": 1, "n_tactics": 18, "cyclomatic": 3, "n_automation": 1, "n_rewrites": 2, "n_structural": 6, "automation_only": false, "max_ne...
5
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -489,6 +489,26 @@ intro heq exact hab (natToUInt256_injective ha hb (UInt256_eq_of_compare_eq heq)) +/-- Helper: folding inserts over a list of slots that does NOT contain `slot` + preserves whatever `find?` value the accumulator had for `natToUInt256 slot`. -/ +theorem foldl_insert_find_not_mem (storage ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_19
7e382ff7fd8a4431
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
19
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "foldl_insert_preserves_find_projected_value", "depth": 1, "n_commands": 0, "n_lines": 16, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction slots generalizing acc with\n | nil => exact hAcc\n | cons hd tl ih =>\n simp...
[ { "name": "IRStorageSlot_ofNat_eq_of_natToUInt256_eq", "text": "/-- Equal projected EVM storage keys denote equal bounded IR storage slots. -/\ntheorem IRStorageSlot_ofNat_eq_of_natToUInt256_eq {a b : Nat}\n (h : natToUInt256 a = natToUInt256 b) :\n IRStorageSlot.ofNat a = IRStorageSlot.ofNat b := by\...
[ { "name": "foldl_insert_preserves_find_projected_value", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 31, "n_chars": 1405, "n_subproofs": 2, "n_tactics": 16, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 2, "n_structural": 5, "automation...
3
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -470,6 +470,12 @@ subst heq rfl +/-- Equal projected EVM storage keys denote equal bounded IR storage slots. -/ +theorem IRStorageSlot_ofNat_eq_of_natToUInt256_eq {a b : Nat} + (h : natToUInt256 a = natToUInt256 b) : + IRStorageSlot.ofNat a = IRStorageSlot.ofNat b := by + simpa [natToUInt256, IRStorag...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_20
70a83f6e5d0ec55f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
20
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
1
[ { "theorem_name": "foldl_insert_find_projected", "depth": 1, "n_commands": 0, "n_lines": 12, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction slots generalizing acc with\n | nil => exact absurd hSlot List.not_mem_nil\n | cons hd tl ih =>\n ...
[ { "name": "foldl_insert_preserves_find_projected_value", "text": "/-- Folding projected storage slots preserves an already-correct lookup for a\n bounded target key. Any later Nat alias for the same EVM key writes the same\n bounded IR slot value, so no Nat range/injectivity hypothesis is needed. -/\n...
[ { "name": "foldl_insert_find_projected", "fan_in": 2, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 28, "n_chars": 1237, "n_subproofs": 0, "n_tactics": 12, "cyclomatic": 3, "n_automation": 1, "n_rewrites": 2, "n_structural": 5, "automation_only": false, ...
4
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -476,6 +476,36 @@ IRStorageSlot.ofNat a = IRStorageSlot.ofNat b := by simpa [natToUInt256, IRStorageSlot.ofNat] using h +/-- Folding projected storage slots preserves an already-correct lookup for a + bounded target key. Any later Nat alias for the same EVM key writes the same + bounded IR slot value...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_21
786f28200cdd8a9c
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
21
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
2
[ { "theorem_name": "storageLookup_projectStorage", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simp only [storageLookup, projectStorage]\n rw [foldl_insert_find_projected storage slots slot hSlot]\n rfl"...
[ { "name": "foldl_insert_find_projected", "text": "/-- Helper: after folding a suffix of Nat slots into an accumulator, if `slot`\n appears in that suffix, then the accumulated projected map contains the\n bounded value for `slot`.\n\n Unlike `foldl_insert_find`, this form intentionally has no Nat r...
[ { "name": "storageLookup_projectStorage", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 17, "n_chars": 851, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 1, "n_structural": 0, "automation_only": false, ...
5
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -506,6 +506,33 @@ rw [Batteries.RBMap.find?_insert_of_ne _ hcmp] exact hAcc +/-- Helper: after folding a suffix of Nat slots into an accumulator, if `slot` + appears in that suffix, then the accumulated projected map contains the + bounded value for `slot`. + + Unlike `foldl_insert_find`...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_c7887fb75401_22
3d23a3a94a70d30f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanStateBridge.lean
EvmYulLeanStateBridge
22
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
22
2
[ { "theorem_name": "storageLookup_projectStorage", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simp only [storageLookup, projectStorage]\n rw [foldl_insert_find_projected storage slots slot hSlot]\n rfl"...
[ { "name": "foldl_insert_find_projected", "text": "/-- Helper: after folding a suffix of Nat slots into an accumulator, if `slot`\n appears in that suffix, then the accumulated projected map contains the\n bounded value for `slot`.\n\n Unlike `foldl_insert_find`, this form intentionally has no Nat r...
[ { "name": "storageLookup_projectStorage_projected", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 11, "n_chars": 454, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 1, "n_structural": 0, "automation_only":...
5
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
/- EvmYulLeanStateBridge: Type-level scaffolding for the Phase 2 state bridge between Verity's `YulState` and EVMYulLean's `SharedState .Yul`. This module defines the conversion functions needed to translate between Verity's flat execution state and EVMYulLean's account-map–based state. The conversion covers...
@@ -506,12 +506,42 @@ rw [Batteries.RBMap.find?_insert_of_ne _ hcmp] exact hAcc +/-- Helper: after folding a suffix of Nat slots into an accumulator, if `slot` + appears in that suffix, then the accumulated projected map contains the + bounded value for `slot`. + + Unlike `foldl_insert_find...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_5f5ea124c492_0
3671e81a888ce582
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Trace.lean
Trace
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
1
1
[ { "theorem_name": "count_le_one_under_pairwise_distinct", "depth": 1, "n_commands": 0, "n_lines": 30, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction xs with\n | nil => simp [emitLoop, countMatching]\n | cons hd rest ih =>\n have hRestD...
[ { "name": "emitLoop_event_origin", "text": "/-- Every event in `emitLoop emit xs` came from some `x ∈ xs`. -/\ntheorem emitLoop_event_origin {α Event : Type}\n (emit : α → Option Event) (xs : List α) (e : Event)\n (he : e ∈ emitLoop emit xs) :\n ∃ x ∈ xs, emit x = some e := by\n induction xs with\...
[ { "name": "count_le_one_under_pairwise_distinct", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 41, "n_chars": 1779, "n_subproofs": 5, "n_tactics": 31, "cyclomatic": 3, "n_automation": 7, "n_rewrites": 6, "n_structural": 7, "automation_only":...
1
namespace Verity.Trace /-! # Counting trace machinery A reusable type-class–based abstraction for "this event happens exactly N times" properties over contract execution traces. Promoted from `Benchmark.Cases.ERC4337.EntryPointInvariant.Trace`. ## Pattern A `Trace` is a `List Event` for some event type. A `MatchKey...
namespace Verity.Trace /-! # Counting trace machinery A reusable type-class–based abstraction for "this event happens exactly N times" properties over contract execution traces. Promoted from `Benchmark.Cases.ERC4337.EntryPointInvariant.Trace`. ## Pattern A `Trace` is a `List Event` for some event type. A `MatchKey...
@@ -47,6 +47,25 @@ | some e => e :: emitLoop emit rest | none => emitLoop emit rest +/-- Every event in `emitLoop emit xs` came from some `x ∈ xs`. -/ +theorem emitLoop_event_origin {α Event : Type} + (emit : α → Option Event) (xs : List α) (e : Event) + (he : e ∈ emitLoop emit xs) : + ∃ x ∈ xs, ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_0
84bbe2139e80d489
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_steps", "depth": 1, "n_commands": 0, "n_lines": 5, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact supported_function_body_correct_from_exact_state_generic_helper...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_raw", "text": "/-- Exact helper-aware body theorem for a helper-aware generic statement\ninduction witness. This is the induction-level target needed to replace the\ncurrent helper-free `SupportedStmtList` gate with composition...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 48, "n_chars": 2090, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_struct...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact helper-aware body t...
@@ -10,6 +10,111 @@ open Compiler.CompilationModel open Compiler.Yul +/-- Exact helper-aware body theorem for a helper-aware generic statement +induction witness. This is the induction-level target needed to replace the +current helper-free `SupportedStmtList` gate with compositional helper-step +proofs. -/ +privat...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_1
70f86de2f1d65d60
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact\n supported_function_body_correct_from_exact_s...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir_raw", "text": "/-- Exact helper-aware body theorem for an exact helper-aware generic\nstatement-induction witness. Unlike the transitional legacy-compiled-body\ntheorem, this already targets `execIRStmtsWithIntern...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "fan_in": 5, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 54, "n_chars": 2328, "n_subproofs": 0, "n_tactics": 7, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0,...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -40,6 +40,109 @@ stmtResultMatchesIRExecWithInternals (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Exact helper-aware body theorem for an exact helper-aware generic +statement-induction witness. Unlike the transitional legacy-compiled-body +theorem, this already targets `execIRStmts...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_2
aed8d68cf5d8cec6
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir_with_internals", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact\n supported_function_body_corre...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir_with_internals_raw", "text": "/-- Spec-functions-aware helper-aware body theorem for the mixed\n`WithInternals` generic list witness. This consumes the exact helper-world\nstatement-list witness directly instead o...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir_with_internals", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 55, "n_chars": 2377, "n_subproofs": 0, "n_tactics": 7, "cyclomatic": 1, "n_automation": 0, "...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -40,6 +40,107 @@ stmtResultMatchesIRExecWithInternals (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Spec-functions-aware helper-aware body theorem for the mixed +`WithInternals` generic list witness. This consumes the exact helper-world +statement-list witness directly instead of rou...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_3
6d85717fbee135f0
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir_with_internals", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact\n supported_function_body_corre...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir_with_internals_raw", "text": "/-- Spec-functions-aware helper-aware body theorem for the mixed\n`WithInternals` generic list witness. This consumes the exact helper-world\nstatement-list witness directly instead o...
[ { "name": "supported_function_body_correct_from_exact_state_generic_split_helper_steps_and_helper_ir_with_internals", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 107, "n_chars": 4351, "n_subproofs": 1, "n_tactics": 24, "cyclomatic": 1, "n_automation": ...
2
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -40,6 +40,107 @@ stmtResultMatchesIRExecWithInternals (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Spec-functions-aware helper-aware body theorem for the mixed +`WithInternals` generic list witness. This consumes the exact helper-world +statement-list witness directly instead of rou...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_4
366f97d2d77b1c17
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
5
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_surface_steps_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 23, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hgeneric :\n StmtListGenericWithHelp...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "text": "/-- Exact helper-aware body theorem for an exact helper-aware generic\nstatement-induction witness. This is the future-proof induction-level theorem\nsurface for helper-rich bodies because it already ta...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_surface_steps_and_helper_ir", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 77, "n_chars": 3001, "n_subproofs": 1, "n_tactics": 23, "cyclomatic": 1, "n_automation": 0, "n_rewr...
2
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -170,6 +170,59 @@ FunctionBody.stmtResultMatchesIRExec (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Exact helper-aware body theorem for an exact helper-aware generic +statement-induction witness. This is the future-proof induction-level theorem +surface for helper-rich bodies becaus...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_5
f39a55cd88470f38
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
5
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
5
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_surface_steps_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 23, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hgeneric :\n StmtListGenericWithHelp...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "text": "/-- Exact helper-aware body theorem for an exact helper-aware generic\nstatement-induction witness. This is the future-proof induction-level theorem\nsurface for helper-rich bodies because it already ta...
[ { "name": "supported_function_body_correct_from_exact_state_generic_internal_helper_surface_steps_and_helper_ir", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 89, "n_chars": 3637, "n_subproofs": 1, "n_tactics": 24, "cyclomatic": 1, "n_automation": 0, ...
2
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -170,6 +170,59 @@ FunctionBody.stmtResultMatchesIRExec (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Exact helper-aware body theorem for an exact helper-aware generic +statement-induction witness. This is the future-proof induction-level theorem +surface for helper-rich bodies becaus...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_6
c022d00c4dee5d20
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
6
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
5
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_surface_steps_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 23, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hgeneric :\n StmtListGenericWithHelp...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "text": "/-- Exact helper-aware body theorem for an exact helper-aware generic\nstatement-induction witness. This is the future-proof induction-level theorem\nsurface for helper-rich bodies because it already ta...
[ { "name": "supported_function_body_correct_from_exact_state_generic_finer_split_internal_helper_surface_steps_and_helper_ir", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 113, "n_chars": 4444, "n_subproofs": 1, "n_tactics": 27, "cyclomatic": 1, "n_autom...
2
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -170,6 +170,59 @@ FunctionBody.stmtResultMatchesIRExec (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Exact helper-aware body theorem for an exact helper-aware generic +statement-induction witness. This is the future-proof induction-level theorem +surface for helper-rich bodies becaus...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_7
f799666d9a2212b9
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
7
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
5
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_surface_steps_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 23, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hgeneric :\n StmtListGenericWithHelp...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "text": "/-- Exact helper-aware body theorem for an exact helper-aware generic\nstatement-induction witness. This is the future-proof induction-level theorem\nsurface for helper-rich bodies because it already ta...
[ { "name": "supported_function_body_correct_from_exact_state_generic_split_internal_helper_surface_steps_and_helper_ir", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 105, "n_chars": 4159, "n_subproofs": 1, "n_tactics": 26, "cyclomatic": 1, "n_automation"...
2
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -170,6 +170,59 @@ FunctionBody.stmtResultMatchesIRExec (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Exact helper-aware body theorem for an exact helper-aware generic +statement-induction witness. This is the future-proof induction-level theorem +surface for helper-rich bodies becaus...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_8
f9d28290746f3e9b
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
8
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
5
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_surface_steps_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 23, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hgeneric :\n StmtListGenericWithHelp...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "text": "/-- Exact helper-aware body theorem for an exact helper-aware generic\nstatement-induction witness. This is the future-proof induction-level theorem\nsurface for helper-rich bodies because it already ta...
[ { "name": "supported_function_body_correct_from_exact_state_generic_finer_split_internal_helper_surface_steps_and_helper_ir_callsDisjoint", "fan_in": 3, "n_deps_direct": 2, "n_deps_transitive": 3, "n_lines": 104, "n_chars": 4019, "n_subproofs": 1, "n_tactics": 17, "cyclomatic": 1...
3
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -170,6 +170,59 @@ FunctionBody.stmtResultMatchesIRExec (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Exact helper-aware body theorem for an exact helper-aware generic +statement-induction witness. This is the future-proof induction-level theorem +surface for helper-rich bodies becaus...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_9
73fa533d008d09eb
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
9
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
5
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_surface_steps_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 23, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hgeneric :\n StmtListGenericWithHelp...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "text": "/-- Exact helper-aware body theorem for an exact helper-aware generic\nstatement-induction witness. This is the future-proof induction-level theorem\nsurface for helper-rich bodies because it already ta...
[ { "name": "supported_function_body_correct_from_exact_state_generic_with_direct_internal_helper_assign_steps_and_helper_ir_callsDisjoint", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 106, "n_chars": 4390, "n_subproofs": 0, "n_tactics": 32, "cyclomatic": 1,...
4
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -170,6 +170,59 @@ FunctionBody.stmtResultMatchesIRExec (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Exact helper-aware body theorem for an exact helper-aware generic +statement-induction witness. This is the future-proof induction-level theorem +surface for helper-rich bodies becaus...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_10
e306b5c84ceaea87
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
10
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
5
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_surface_steps_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 23, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hgeneric :\n StmtListGenericWithHelp...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "text": "/-- Exact helper-aware body theorem for an exact helper-aware generic\nstatement-induction witness. This is the future-proof induction-level theorem\nsurface for helper-rich bodies because it already ta...
[ { "name": "supported_function_body_correct_from_exact_state_generic_with_helpers_and_helper_ir_callsDisjoint", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 100, "n_chars": 4365, "n_subproofs": 1, "n_tactics": 47, "cyclomatic": 1, "n_automation": 0, ...
4
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -170,6 +170,59 @@ FunctionBody.stmtResultMatchesIRExec (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Exact helper-aware body theorem for an exact helper-aware generic +statement-induction witness. This is the future-proof induction-level theorem +surface for helper-rich bodies becaus...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_11
f9d1ce47f099ac9b
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
11
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_with_helpers_and_helper_ir_callsDisjoint_with_scalar_events", "depth": 1, "n_commands": 0, "n_lines": 17, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let hcatalog := event...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir_raw_with_scalar_events", "text": "/-- Events-preserving variant of\n`supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir_raw`.\nThe generic list witness may contain scalar event hea...
[ { "name": "supported_function_body_correct_from_exact_state_generic_with_helpers_and_helper_ir_callsDisjoint_with_scalar_events", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 51, "n_chars": 3929, "n_subproofs": 2, "n_tactics": 17, "cyclomatic": 1, "n_au...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -40,6 +40,86 @@ stmtResultMatchesIRExecWithInternals (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Events-preserving variant of +`supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir_raw`. +The generic list witness may contain scalar event heads; the co...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_12
08fb033a953cf288
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
12
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
5
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_surface_steps_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 23, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hgeneric :\n StmtListGenericWithHelp...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_and_helper_ir", "text": "/-- Exact helper-aware body theorem for an exact helper-aware generic\nstatement-induction witness. This is the future-proof induction-level theorem\nsurface for helper-rich bodies because it already ta...
[ { "name": "supported_function_body_correct_from_exact_state_generic_with_helpers_and_helper_ir_except_mapping_writes_callsDisjoint", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 41, "n_chars": 3910, "n_subproofs": 0, "n_tactics": 10, "cyclomatic": 1, "n...
4
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
@@ -170,6 +170,59 @@ FunctionBody.stmtResultMatchesIRExec (SourceSemantics.effectiveFields model) sourceResult irExec +/-- Exact helper-aware body theorem for an exact helper-aware generic +statement-induction witness. This is the future-proof induction-level theorem +surface for helper-rich bodies becaus...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_13
4dcf4e9d602cbfa3
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
13
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_with_helpers_goal", "depth": 1, "n_commands": 0, "n_lines": 16, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases supported_function_body_correct_from_exact_state_generic...
[ { "name": "supported_function_body_correct_from_exact_state_generic", "text": "theorem supported_function_body_correct_from_exact_state_generic\n (model : CompilationModel)\n (fn : FunctionSpec)\n (bodyStmts : List YulStmt)\n (tx : IRTransaction)\n (initialWorld : Verity.ContractState)\n (...
[ { "name": "supported_function_body_correct_from_exact_state_generic_with_helpers_goal", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 66, "n_chars": 2984, "n_subproofs": 1, "n_tactics": 16, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul theorem supported_function_bo...
@@ -10,6 +10,98 @@ open Compiler.CompilationModel open Compiler.Yul +theorem supported_function_body_correct_from_exact_state_generic + (model : CompilationModel) + (fn : FunctionSpec) + (bodyStmts : List YulStmt) + (tx : IRTransaction) + (initialWorld : Verity.ContractState) + (state : IRState) +...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d3f1a6e9b50_14
7a24cf6c5b949baf
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Main.lean
Main
14
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
10
1
[ { "theorem_name": "supported_function_body_correct_from_exact_state_generic_helper_steps", "depth": 1, "n_commands": 0, "n_lines": 5, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact supported_function_body_correct_from_exact_state_generic_helper...
[ { "name": "supported_function_body_correct_from_exact_state_generic_helper_steps_raw", "text": "/-- Exact helper-aware body theorem for a helper-aware generic statement\ninduction witness. This is the induction-level target needed to replace the\ncurrent helper-free `SupportedStmtList` gate with composition...
[ { "name": "supported_function_body_correct_from_exact_state_generic_with_helpers", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 63, "n_chars": 2774, "n_subproofs": 1, "n_tactics": 17, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_struc...
2
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact future helper-aware...
import Compiler.Proofs.IRGeneration.GenericInduction.Helpers set_option linter.unnecessarySeqFocus false set_option linter.unnecessarySimpa false set_option linter.unusedSimpArgs false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel open Compiler.Yul /-- Exact helper-aware body t...
@@ -10,6 +10,111 @@ open Compiler.CompilationModel open Compiler.Yul +/-- Exact helper-aware body theorem for a helper-aware generic statement +induction witness. This is the induction-level target needed to replace the +current helper-free `SupportedStmtList` gate with compositional helper-step +proofs. -/ +privat...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d2c5fe06355_0
0bd2614ad02b5a50
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Proofs/Stdlib/ListSum.lean
ListSum
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
3
3
[ { "theorem_name": "map_sum_point_update", "depth": 1, "n_commands": 0, "n_lines": 17, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro addrs\n induction addrs with\n | nil => simp [countOcc, countOccU]\n | cons a rest ih =>\n simp only [Lis...
[ { "name": "mul_one_add", "text": "/-- `x * (1 + n) = x + x * n` — factored out of 4 identical calc blocks below. -/\nprivate theorem mul_one_add (x n : Uint256) : x * (1 + n) = x + x * n := by\n calc\n x * (1 + n)\n = (1 + n) * x := by simp [Verity.Core.Uint256.mul_comm]\n _ = x + n * x := by\...
[ { "name": "map_sum_point_update", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 28, "n_chars": 1232, "n_subproofs": 0, "n_tactics": 17, "cyclomatic": 2, "n_automation": 4, "n_rewrites": 14, "n_structural": 2, "automation_only": false, "ma...
3
/- Shared list-sum lemmas for balance conservation proofs. Provides countOcc/countOccU occurrence counting and generic theorems about how mapping sums change under point updates, point decreases, and two-point transfers. Used by Ledger/Conservation and SimpleToken/Supply proofs. -/ import Verity.Core names...
/- Shared list-sum lemmas for balance conservation proofs. Provides countOcc/countOccU occurrence counting and generic theorems about how mapping sums change under point updates, point decreases, and two-point transfers. Used by Ledger/Conservation and SimpleToken/Supply proofs. -/ import Verity.Core names...
@@ -32,6 +32,19 @@ countOccU target (a :: rest) = countOccU target rest := by simp [countOccU, countOcc, h] +/-- `x * (1 + n) = x + x * n` — factored out of 4 identical calc blocks below. -/ +private theorem mul_one_add (x n : Uint256) : x * (1 + n) = x + x * n := by + calc + x * (1 + n) + = (1 + n) ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d2c5fe06355_1
98bdd9a0b361828b
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Proofs/Stdlib/ListSum.lean
ListSum
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
3
3
[ { "theorem_name": "map_sum_point_update", "depth": 1, "n_commands": 0, "n_lines": 17, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro addrs\n induction addrs with\n | nil => simp [countOcc, countOccU]\n | cons a rest ih =>\n simp only [Lis...
[ { "name": "mul_one_add", "text": "/-- `x * (1 + n) = x + x * n` — factored out of 4 identical calc blocks below. -/\nprivate theorem mul_one_add (x n : Uint256) : x * (1 + n) = x + x * n := by\n calc\n x * (1 + n)\n = (1 + n) * x := by simp [Verity.Core.Uint256.mul_comm]\n _ = x + n * x := by\...
[ { "name": "map_sum_point_decrease", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 33, "n_chars": 1585, "n_subproofs": 1, "n_tactics": 22, "cyclomatic": 2, "n_automation": 6, "n_rewrites": 14, "n_structural": 2, "automation_only": false, "...
3
/- Shared list-sum lemmas for balance conservation proofs. Provides countOcc/countOccU occurrence counting and generic theorems about how mapping sums change under point updates, point decreases, and two-point transfers. Used by Ledger/Conservation and SimpleToken/Supply proofs. -/ import Verity.Core names...
/- Shared list-sum lemmas for balance conservation proofs. Provides countOcc/countOccU occurrence counting and generic theorems about how mapping sums change under point updates, point decreases, and two-point transfers. Used by Ledger/Conservation and SimpleToken/Supply proofs. -/ import Verity.Core names...
@@ -32,6 +32,19 @@ countOccU target (a :: rest) = countOccU target rest := by simp [countOccU, countOcc, h] +/-- `x * (1 + n) = x + x * n` — factored out of 4 identical calc blocks below. -/ +private theorem mul_one_add (x n : Uint256) : x * (1 + n) = x + x * n := by + calc + x * (1 + n) + = (1 + n) ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_8d2c5fe06355_2
60e82e78474c196b
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Proofs/Stdlib/ListSum.lean
ListSum
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
3
3
[ { "theorem_name": "map_sum_point_update", "depth": 1, "n_commands": 0, "n_lines": 17, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro addrs\n induction addrs with\n | nil => simp [countOcc, countOccU]\n | cons a rest ih =>\n simp only [Lis...
[ { "name": "mul_one_add", "text": "/-- `x * (1 + n) = x + x * n` — factored out of 4 identical calc blocks below. -/\nprivate theorem mul_one_add (x n : Uint256) : x * (1 + n) = x + x * n := by\n calc\n x * (1 + n)\n = (1 + n) * x := by simp [Verity.Core.Uint256.mul_comm]\n _ = x + n * x := by\...
[ { "name": "map_sum_transfer_eq", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 47, "n_chars": 2494, "n_subproofs": 2, "n_tactics": 35, "cyclomatic": 2, "n_automation": 9, "n_rewrites": 13, "n_structural": 3, "automation_only": false, "max...
3
/- Shared list-sum lemmas for balance conservation proofs. Provides countOcc/countOccU occurrence counting and generic theorems about how mapping sums change under point updates, point decreases, and two-point transfers. Used by Ledger/Conservation and SimpleToken/Supply proofs. -/ import Verity.Core names...
/- Shared list-sum lemmas for balance conservation proofs. Provides countOcc/countOccU occurrence counting and generic theorems about how mapping sums change under point updates, point decreases, and two-point transfers. Used by Ledger/Conservation and SimpleToken/Supply proofs. -/ import Verity.Core names...
@@ -32,6 +32,19 @@ countOccU target (a :: rest) = countOccU target rest := by simp [countOccU, countOcc, h] +/-- `x * (1 + n) = x + x * n` — factored out of 4 identical calc blocks below. -/ +private theorem mul_one_add (x n : Uint256) : x * (1 + n) = x + x * n := by + calc + x * (1 + n) + = (1 + n) ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_0
157d18948bcdc5ba
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "rawArgBindings_names_of_bindSupportedParams", "depth": 1, "n_commands": 0, "n_lines": 5, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [rawArgBindings_names_of_length_le params args\n (ParamLoading.bindSupportedParams_some_l...
[ { "name": "rawArgBindings_names_of_length_le", "text": "theorem rawArgBindings_names_of_length_le\n (params : List Param)\n (args : List Nat)\n (hlen : params.length ≤ args.length) :\n (rawArgBindings params args).map Prod.fst = params.map Param.name := by\n induction params generalizing args w...
[ { "name": "rawArgBindings_names_of_bindSupportedParams", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 12, "n_chars": 465, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 1, "n_structural": 1, "automation_o...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -79,12 +79,38 @@ | cons entry rest ih => simpa [List.foldl, IRState.setVar] using ih (state.setVar entry.1.name entry.2) +theorem rawArgBindings_names_of_length_le + (params : List Param) + (args : List Nat) + (hlen : params.length ≤ args.length) : + (rawArgBindings params args).map Prod.fst ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_1
11cf5c65a49f3809
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "exec_compiledFunctionIR_withInternals_of_body_extraFuel", "depth": 1, "n_commands": 0, "n_lines": 38, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let preboundState := prebindRawArgs state spec.params\n have hbind' :\n Sour...
[ { "name": "exec_genParamLoads_supported_then_extraFuel_withInternals", "text": "theorem exec_genParamLoads_supported_then_extraFuel_withInternals\n (runtimeContract : IRContract)\n (state : IRState) (params : List Param) (bindings : List (String × Nat))\n (rest : List YulStmt) (extraFuel : Nat)\n ...
[ { "name": "exec_compiledFunctionIR_withInternals_of_body_extraFuel", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 59, "n_chars": 2920, "n_subproofs": 3, "n_tactics": 38, "cyclomatic": 1, "n_automation": 4, "n_rewrites": 0, "n_structural": 1, ...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -140,6 +140,46 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +theorem exec_genParamLoads_supported_then_extraFuel_withInternals + (runtimeContract : IRContract) + (state : IRState) (params : List Param) (bindings : List (String × Nat)) + (rest : List YulStmt)...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_2
f15dc174d5dc04a8
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
5
[ { "theorem_name": "lookupBinding?_foldl_bindValue_mem", "depth": 1, "n_commands": 0, "n_lines": 30, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction bindings generalizing init with\n | nil =>\n cases hmem\n | cons entry rest ih =>\n ...
[ { "name": "lookupBinding?_foldl_bindValue_not_mem", "text": "/-- Folding `bindValue` over names that never mention `queryName` leaves its\nlookup unchanged. -/\nprivate theorem lookupBinding?_foldl_bindValue_not_mem\n (bindings : List (String × Nat))\n (init : List (String × Nat))\n (queryName : St...
[ { "name": "lookupBinding?_foldl_bindValue_mem", "fan_in": 3, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 44, "n_chars": 1793, "n_subproofs": 4, "n_tactics": 30, "cyclomatic": 5, "n_automation": 6, "n_rewrites": 8, "n_structural": 8, "automation_only": f...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -140,6 +140,32 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +/-- Folding `bindValue` over names that never mention `queryName` leaves its +lookup unchanged. -/ +private theorem lookupBinding?_foldl_bindValue_not_mem + (bindings : List (String × Nat)) + (init : ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_3
839f200f427a45b2
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
3
[ { "theorem_name": "supported_constructor_param_state_exact", "depth": 1, "n_commands": 0, "n_lines": 23, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfinal :\n FunctionBody.bindingsExactlyMatchIRVars\n (bindings.foldl (fun acc ent...
[ { "name": "lookupBinding?_foldl_bindValue_mem", "text": "/-- If a name occurs in the final binding list with unique parameter names,\nfolding `bindValue` over any initial environment reconstructs that lookup\nexactly. -/\nprivate theorem lookupBinding?_foldl_bindValue_mem\n (bindings : List (String × Nat...
[ { "name": "supported_constructor_param_state_exact", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 33, "n_chars": 1530, "n_subproofs": 4, "n_tactics": 23, "cyclomatic": 1, "n_automation": 4, "n_rewrites": 2, "n_structural": 7, "automation_onl...
2
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -166,6 +166,49 @@ rw [List.foldl, ih _ hrestNotMem, FunctionBody.lookupBinding?_bindValue_ne init entry.1 queryName entry.2 hqueryNe] +/-- If a name occurs in the final binding list with unique parameter names, +folding `bindValue` over any initial environment reconstructs that lookup +exactly. -/ ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_4
32f4ea4c119ffa66
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
5
[ { "theorem_name": "lookupBinding?_foldl_bindValue_mem", "depth": 1, "n_commands": 0, "n_lines": 30, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction bindings generalizing init with\n | nil =>\n cases hmem\n | cons entry rest ih =>\n ...
[ { "name": "lookupBinding?_foldl_bindValue_not_mem", "text": "/-- Folding `bindValue` over names that never mention `queryName` leaves its\nlookup unchanged. -/\nprivate theorem lookupBinding?_foldl_bindValue_not_mem\n (bindings : List (String × Nat))\n (init : List (String × Nat))\n (queryName : St...
[ { "name": "lookupBinding?_rawArgBindings_fold_not_mem", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 15, "n_chars": 649, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 1, "n_structural": 0, "automation_on...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -140,6 +140,32 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +/-- Folding `bindValue` over names that never mention `queryName` leaves its +lookup unchanged. -/ +private theorem lookupBinding?_foldl_bindValue_not_mem + (bindings : List (String × Nat)) + (init : ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_5
c62be93beb039598
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
5
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "initialIRStateForTx_matches_constructor_runtime", "depth": 1, "n_commands": 0, "n_lines": 32, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases htxNormalized with\n ⟨hsender, hthis, hmsgValue, htimestamp, hnumber, hchain, hb...
[ { "name": "addressWord_roundtrip_of_lt_addressModulus", "text": "/-- An address-ranged transaction-context word survives the word/address\nnormalization round trip. -/\nprivate theorem addressWord_roundtrip_of_lt_addressModulus\n {v : Nat} (h : v < Compiler.Constants.addressModulus) :\n v % Compiler.C...
[ { "name": "initialIRStateForTx_matches_constructor_runtime", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 48, "n_chars": 2747, "n_subproofs": 8, "n_tactics": 32, "cyclomatic": 2, "n_automation": 7, "n_rewrites": 2, "n_structural": 3, "automa...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -140,6 +140,18 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +/-- An address-ranged transaction-context word survives the word/address +normalization round trip. -/ +private theorem addressWord_roundtrip_of_lt_addressModulus + {v : Nat} (h : v < Compiler.Constants....
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_6
84eb0c09fbc2c4b9
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
6
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "initialIRStateForTx_matches_bound_constructor_runtime", "depth": 1, "n_commands": 0, "n_lines": 5, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact constructorRuntimeStateMatchesIR_applyBindingsToIRState\n (bindings := bindi...
[ { "name": "initialIRStateForTx_matches_constructor_runtime", "text": "/-- The same initial IR state matches constructor source execution when the\nsource runtime is initialized with constructor-shaped calldata size, i.e. no\nexternal-call selector prefix. -/\ntheorem initialIRStateForTx_matches_constructor_...
[ { "name": "initialIRStateForTx_matches_bound_constructor_runtime", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 3, "n_lines": 21, "n_chars": 889, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 1, "au...
3
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -167,6 +167,53 @@ simpa [Verity.Core.Address.modulus, Compiler.Constants.addressModulus] using h rw [Nat.mod_eq_of_lt hEvm, Nat.mod_eq_of_lt hAddr] +/-- The same initial IR state matches constructor source execution when the +source runtime is initialized with constructor-shaped calldata size, i.e. no +ext...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_7
0ef5e025eee21986
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
7
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
2
[ { "theorem_name": "supported_function_param_state_exact", "depth": 1, "n_commands": 0, "n_lines": 29, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let rawInitBindings :=\n (rawArgBindings params state.calldata).foldl\n (fun acc entry => Sou...
[ { "name": "lookupBinding?_eq_none_of_not_mem", "text": "private theorem lookupBinding?_eq_none_of_not_mem\n (bindings : List (String × Nat))\n (queryName : String)\n (hnotmem : queryName ∉ bindings.map Prod.fst) :\n FunctionBody.lookupBinding? bindings queryName = none := by\n unfold FunctionBo...
[ { "name": "supported_function_param_state_exact", "fan_in": 6, "n_deps_direct": 6, "n_deps_transitive": 7, "n_lines": 41, "n_chars": 2151, "n_subproofs": 4, "n_tactics": 29, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 4, "n_structural": 4, "automation_only":...
7
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -279,6 +279,31 @@ rw [lookupBinding?_foldl_bindValue_not_mem (rawArgBindings params args) [] queryName hnotmem] simp [FunctionBody.lookupBinding?] +private theorem lookupBinding?_eq_none_of_not_mem + (bindings : List (String × Nat)) + (queryName : String) + (hnotmem : queryName ∉ bindings.map Prod.f...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_8
f65fa8234142cf8f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
8
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
10
[ { "theorem_name": "supported_function_body_correct_from_exact_state_core", "depth": 1, "n_commands": 0, "n_lines": 39, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hscope :\n FunctionBody.scopeNamesPresent (fn.params.map (·.name)) binding...
[ { "name": "lookupBinding?_some_of_mem", "text": "private theorem lookupBinding?_some_of_mem\n (bindings : List (String × Nat))\n (queryName : String)\n (hmem : queryName ∈ bindings.map Prod.fst) :\n ∃ value, FunctionBody.lookupBinding? bindings queryName = some value := by\n induction bindings ...
[ { "name": "supported_function_body_correct_from_exact_state_core", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 74, "n_chars": 3350, "n_subproofs": 6, "n_tactics": 39, "cyclomatic": 2, "n_automation": 5, "n_rewrites": 3, "n_structural": 5, "...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -140,6 +140,38 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +private theorem lookupBinding?_some_of_mem + (bindings : List (String × Nat)) + (queryName : String) + (hmem : queryName ∈ bindings.map Prod.fst) : + ∃ value, FunctionBody.lookupBinding? binding...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_9
78c8b3641e721131
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
9
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
10
[ { "theorem_name": "supported_function_body_correct_from_exact_state_core", "depth": 1, "n_commands": 0, "n_lines": 39, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hscope :\n FunctionBody.scopeNamesPresent (fn.params.map (·.name)) binding...
[ { "name": "lookupBinding?_some_of_mem", "text": "private theorem lookupBinding?_some_of_mem\n (bindings : List (String × Nat))\n (queryName : String)\n (hmem : queryName ∈ bindings.map Prod.fst) :\n ∃ value, FunctionBody.lookupBinding? bindings queryName = some value := by\n induction bindings ...
[ { "name": "supported_function_body_correct_from_exact_state_core_extraFuel", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 75, "n_chars": 3414, "n_subproofs": 6, "n_tactics": 39, "cyclomatic": 2, "n_automation": 5, "n_rewrites": 3, "n_structural"...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -140,6 +140,38 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +private theorem lookupBinding?_some_of_mem + (bindings : List (String × Nat)) + (queryName : String) + (hmem : queryName ∈ bindings.map Prod.fst) : + ∃ value, FunctionBody.lookupBinding? binding...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_10
5346d6810f62ac41
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
10
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
10
[ { "theorem_name": "supported_function_body_correct_from_exact_state_core", "depth": 1, "n_commands": 0, "n_lines": 39, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hscope :\n FunctionBody.scopeNamesPresent (fn.params.map (·.name)) binding...
[ { "name": "lookupBinding?_some_of_mem", "text": "private theorem lookupBinding?_some_of_mem\n (bindings : List (String × Nat))\n (queryName : String)\n (hmem : queryName ∈ bindings.map Prod.fst) :\n ∃ value, FunctionBody.lookupBinding? bindings queryName = some value := by\n induction bindings ...
[ { "name": "supported_function_body_correct_from_exact_state_terminal_core_extraFuel", "fan_in": 4, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 95, "n_chars": 4164, "n_subproofs": 9, "n_tactics": 58, "cyclomatic": 2, "n_automation": 7, "n_rewrites": 3, "n_st...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -140,6 +140,38 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +private theorem lookupBinding?_some_of_mem + (bindings : List (String × Nat)) + (queryName : String) + (hmem : queryName ∈ bindings.map Prod.fst) : + ∃ value, FunctionBody.lookupBinding? binding...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_11
41229ebb175b7689
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
11
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
2
[ { "theorem_name": "compileFunctionSpec_correct_of_body", "depth": 1, "n_commands": 0, "n_lines": 38, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n have hcompiled :=\n c...
[ { "name": "interpretFunction_eq_execResultToIRResult_of_body", "text": "theorem interpretFunction_eq_execResultToIRResult_of_body\n (model : CompilationModel) (fn : FunctionSpec)\n (tx : IRTransaction) (initialWorld : Verity.ContractState)\n (sourceResult : SourceSemantics.StmtResult)\n (rollbac...
[ { "name": "compileFunctionSpec_correct_of_body", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 76, "n_chars": 3925, "n_subproofs": 6, "n_tactics": 38, "cyclomatic": 1, "n_automation": 3, "n_rewrites": 3, "n_structural": 2, "automation_only": ...
3
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -209,6 +209,56 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +theorem interpretFunction_eq_execResultToIRResult_of_body + (model : CompilationModel) (fn : FunctionSpec) + (tx : IRTransaction) (initialWorld : Verity.ContractState) + (sourceResult : SourceSeman...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_12
d477892e8394e1e9
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
12
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
2
[ { "theorem_name": "compileFunctionSpec_correct_of_body", "depth": 1, "n_commands": 0, "n_lines": 38, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n have hcompiled :=\n c...
[ { "name": "interpretFunction_eq_execResultToIRResult_of_body", "text": "theorem interpretFunction_eq_execResultToIRResult_of_body\n (model : CompilationModel) (fn : FunctionSpec)\n (tx : IRTransaction) (initialWorld : Verity.ContractState)\n (sourceResult : SourceSemantics.StmtResult)\n (rollbac...
[ { "name": "compileFunctionSpec_correct_of_body_normalized_extraFuel", "fan_in": 3, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 91, "n_chars": 4648, "n_subproofs": 8, "n_tactics": 46, "cyclomatic": 1, "n_automation": 5, "n_rewrites": 3, "n_structural": 2, ...
3
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -211,6 +211,56 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +theorem interpretFunction_eq_execResultToIRResult_of_body + (model : CompilationModel) (fn : FunctionSpec) + (tx : IRTransaction) (initialWorld : Verity.ContractState) + (sourceResult : SourceSeman...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_13
a5e84310dc4360f0
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
13
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
3
[ { "theorem_name": "compileFunctionSpec_correct_of_body_supported_extraFuel", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact compileFunctionSpec_correct_of_body_normalized_extraFuel\n model\n hSup...
[ { "name": "compileFunctionSpec_correct_of_body_normalized_extraFuel", "text": "theorem compileFunctionSpec_correct_of_body_normalized_extraFuel\n (model : CompilationModel)\n (hnormalized :\n applySlotAliasRanges model.fields model.slotAliasRanges = model.fields)\n (selector : Nat) (fn : Funct...
[ { "name": "compileFunctionSpec_correct_of_body_supported_extraFuel", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 51, "n_chars": 2537, "n_subproofs": 0, "n_tactics": 7, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 1, ...
4
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -261,6 +261,96 @@ FunctionBody.stmtResultToSourceResult, FunctionBody.sourceResultMatchesIRResult, FunctionBody.irResultOfExecResult, execResultToIRResult] using hpack +theorem compileFunctionSpec_correct_of_body_normalized_extraFuel + (model : CompilationModel) + (hnormalized : + applySlotAli...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_14
ec11260acf41b9a1
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
14
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
3
[ { "theorem_name": "compileFunctionSpec_correct_of_body_supported_extraFuel", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact compileFunctionSpec_correct_of_body_normalized_extraFuel\n model\n hSup...
[ { "name": "compileFunctionSpec_correct_of_body_normalized_extraFuel", "text": "theorem compileFunctionSpec_correct_of_body_normalized_extraFuel\n (model : CompilationModel)\n (hnormalized :\n applySlotAliasRanges model.fields model.slotAliasRanges = model.fields)\n (selector : Nat) (fn : Funct...
[ { "name": "supported_function_correct", "fan_in": 0, "n_deps_direct": 12, "n_deps_transitive": 22, "n_lines": 357, "n_chars": 17973, "n_subproofs": 39, "n_tactics": 331, "cyclomatic": 5, "n_automation": 28, "n_rewrites": 10, "n_structural": 14, "automation_only": ...
22
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -818,6 +818,96 @@ (applySlotAliasRanges spec.fields spec.slotAliasRanges) = none := by exact validateCompileInputs_firstFieldWriteSlotConflict_eq_none hvalidate +theorem compileFunctionSpec_correct_of_body_normalized_extraFuel + (model : CompilationModel) + (hnormalized : + applySlotAliasRan...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_15
41a98fc4272ce487
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
15
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
3
[ { "theorem_name": "compileFunctionSpec_correct_of_body_normalized_extraFuel", "depth": 1, "n_commands": 0, "n_lines": 46, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n hav...
[ { "name": "exec_compiledFunctionIR_of_body_extraFuel", "text": "theorem exec_compiledFunctionIR_of_body_extraFuel\n (state : IRState) (selector : Nat) (spec : FunctionSpec)\n (returns : List ParamType) (bodyStmts : List YulStmt)\n (bindings : List (String × Nat)) (tailResult : IRExecResult)\n (e...
[ { "name": "supported_function_correct_with_helper_proofs_body_goal", "fan_in": 2, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 121, "n_chars": 6363, "n_subproofs": 12, "n_tactics": 81, "cyclomatic": 2, "n_automation": 10, "n_rewrites": 3, "n_structural": 3, ...
2
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -120,6 +120,62 @@ rw [hvalidate, hreturns, FunctionBody.compileStmtListWithFork_cancun_eq_compileStmtList, hbody] rfl +theorem exec_compiledFunctionIR_of_body_extraFuel + (state : IRState) (selector : Nat) (spec : FunctionSpec) + (returns : List ParamType) (bodyStmts : List YulStmt) + (bindings : Li...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_16
50a1307311979638
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
16
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
3
[ { "theorem_name": "compileFunctionSpec_correct_of_body_normalized_extraFuel", "depth": 1, "n_commands": 0, "n_lines": 46, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n hav...
[ { "name": "exec_compiledFunctionIR_of_body_extraFuel", "text": "theorem exec_compiledFunctionIR_of_body_extraFuel\n (state : IRState) (selector : Nat) (spec : FunctionSpec)\n (returns : List ParamType) (bodyStmts : List YulStmt)\n (bindings : List (String × Nat)) (tailResult : IRExecResult)\n (e...
[ { "name": "supported_function_correct_with_scalar_events_body_goal_compiled_exec", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 23, "n_chars": 1577, "n_subproofs": 0, "n_tactics": 6, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_struct...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -105,6 +105,62 @@ finalMappings := Compiler.Proofs.storageAsMappings initialState.storage events := initialState.events } +theorem exec_compiledFunctionIR_of_body_extraFuel + (state : IRState) (selector : Nat) (spec : FunctionSpec) + (returns : List ParamType) (bodyStmts : List YulStmt) + ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_17
d8d65703c46f0b75
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
17
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
12
[ { "theorem_name": "compileFunctionSpec_correct_of_body", "depth": 1, "n_commands": 0, "n_lines": 38, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n have hcompiled :=\n c...
[ { "name": "compileFunctionSpec_ok_of_components", "text": "theorem compileFunctionSpec_ok_of_components\n (fields : List Field) (events : List EventDef) (errors : List ErrorDef)\n (selector : Nat) (spec : FunctionSpec)\n (returns : List ParamType) (bodyStmts : List YulStmt)\n (hvalidate : valida...
[ { "name": "supported_function_correct_with_scalar_events_body_goal_fuel", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 51, "n_chars": 3487, "n_subproofs": 6, "n_tactics": 30, "cyclomatic": 1, "n_automation": 4, "n_rewrites": 3, "n_structural": 0...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -105,6 +105,21 @@ finalMappings := Compiler.Proofs.storageAsMappings initialState.storage events := initialState.events } +theorem compileFunctionSpec_ok_of_components + (fields : List Field) (events : List EventDef) (errors : List ErrorDef) + (selector : Nat) (spec : FunctionSpec) + (re...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_18
c4b787017d5921a9
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
18
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "supported_function_correct_with_scalar_events_body_goal", "depth": 1, "n_commands": 0, "n_lines": 16, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n rcas...
[ { "name": "supported_function_correct_with_scalar_events_body_goal_fuel", "text": "private theorem supported_function_correct_with_scalar_events_body_goal_fuel\n (model : CompilationModel) (selectors : List Nat) (hSupported : SupportedSpecWithScalarEvents model selectors)\n (fn : FunctionSpec) (select...
[ { "name": "supported_function_correct_with_scalar_events_body_goal", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 5, "n_lines": 39, "n_chars": 2815, "n_subproofs": 2, "n_tactics": 16, "cyclomatic": 2, "n_automation": 1, "n_rewrites": 0, "n_structural": 2, ...
5
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -278,6 +278,56 @@ (bindings := bindings) (tailResult := irExec) (extraFuel := extraFuel) (hSupported.selectorFunctionParamsSupported hfn) hcalldataSizeFits hbind hbodyExec +private theorem supported_function_correct_with_scalar_events_body_goal_fuel + (model : CompilationModel) (selectors : List Nat) ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_19
6af4558cf52fd6d6
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
19
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
2
[ { "theorem_name": "supported_function_correct_with_helper_proofs_body_goal_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 25, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hlegacyBody :\n SupportedFunctionBodyWithHelpersIRPreserva...
[ { "name": "supported_function_correct_with_helper_proofs_body_goal", "text": "theorem supported_function_correct_with_helper_proofs_body_goal\n (model : CompilationModel)\n (selectors : List Nat)\n (hSupported : SupportedSpec model selectors)\n (_hHelperProofs : SourceSemantics.SupportedSpecHelp...
[ { "name": "supported_function_correct_with_helper_proofs_body_goal_and_helper_ir", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 3, "n_lines": 76, "n_chars": 3536, "n_subproofs": 2, "n_tactics": 25, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_struc...
3
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -211,6 +211,126 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +theorem supported_function_correct_with_helper_proofs_body_goal + (model : CompilationModel) + (selectors : List Nat) + (hSupported : SupportedSpec model selectors) + (_hHelperProofs : SourceSe...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_20
b980fb0589673f71
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
20
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "supported_function_correct_with_helper_proofs_body_goal_with_internals", "depth": 1, "n_commands": 0, "n_lines": 82, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initi...
[ { "name": "interpretFunctionWithHelpers_eq_execResultToIRResultWithInternals_of_body", "text": "theorem interpretFunctionWithHelpers_eq_execResultToIRResultWithInternals_of_body\n (model : CompilationModel) (fn : FunctionSpec)\n (helperFuel : Nat)\n (tx : IRTransaction) (initialWorld : Verity.Contr...
[ { "name": "supported_function_correct_with_helper_proofs_body_goal_with_internals", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 4, "n_lines": 133, "n_chars": 6260, "n_subproofs": 12, "n_tactics": 82, "cyclomatic": 2, "n_automation": 10, "n_rewrites": 5, "n_s...
4
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -253,6 +253,62 @@ Nat.add_left_comm, Nat.add_comm] using hprefix _ = tailResult := hbody +theorem interpretFunctionWithHelpers_eq_execResultToIRResultWithInternals_of_body + (model : CompilationModel) (fn : FunctionSpec) + (helperFuel : Nat) + (tx : IRTransaction) (initialWorld : Verity....
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_21
2ece23538391fe53
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
21
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "supported_function_correct_with_helper_proofs_body_goal_and_helper_ir_of_bodyCallsDisjoint", "depth": 1, "n_commands": 0, "n_lines": 28, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hcompiled := compileFunctionSpec_ok_of_com...
[ { "name": "supported_function_correct_with_helper_proofs_body_goal_and_helper_ir", "text": "theorem supported_function_correct_with_helper_proofs_body_goal_and_helper_ir\n (model : CompilationModel)\n (selectors : List Nat)\n (hSupported : SupportedSpec model selectors)\n (hHelperProofs : Source...
[ { "name": "supported_function_correct_with_helper_proofs_body_goal_and_helper_ir_of_bodyCallsDisjoint", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 78, "n_chars": 3719, "n_subproofs": 3, "n_tactics": 28, "cyclomatic": 1, "n_automation": 1, "n_rewri...
4
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -331,6 +331,81 @@ simpa [compiledFunctionIR, hfuelEq'', Nat.add_assoc, Nat.add_left_comm, Nat.add_comm] using hsourceMatch simpa [hadequacy] using hfuel' +theorem supported_function_correct_with_helper_proofs_body_goal_and_helper_ir + (model : CompilationModel) + (selectors : List Nat) + (hSu...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_22
234e081afdacb37f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
22
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
10
[ { "theorem_name": "supported_function_body_correct_from_exact_state_core", "depth": 1, "n_commands": 0, "n_lines": 39, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hscope :\n FunctionBody.scopeNamesPresent (fn.params.map (·.name)) binding...
[ { "name": "lookupBinding?_some_of_mem", "text": "private theorem lookupBinding?_some_of_mem\n (bindings : List (String × Nat))\n (queryName : String)\n (hmem : queryName ∈ bindings.map Prod.fst) :\n ∃ value, FunctionBody.lookupBinding? bindings queryName = some value := by\n induction bindings ...
[ { "name": "function_body_scopeNamesPresent_of_bindSupportedParams", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 13, "n_chars": 535, "n_subproofs": 1, "n_tactics": 6, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 1, "n_structural": 2, "a...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -140,12 +140,49 @@ | «leave» next => simp [execIRStmtsWithInternals, hstep] at hprefixNorm +private theorem lookupBinding?_some_of_mem + (bindings : List (String × Nat)) + (queryName : String) + (hmem : queryName ∈ bindings.map Prod.fst) : + ∃ value, FunctionBody.lookupBinding? bindin...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_23
85c2416d9aa3ddfc
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
23
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
7
[ { "theorem_name": "supported_function_correct", "depth": 1, "n_commands": 0, "n_lines": 330, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n classical\n let _ := hvalidateInputs\n let initialState := FunctionBody.initialIRStateForTx model tx initial...
[ { "name": "initialIRStateForTx_matches_runtime", "text": "/-- The initial IR state matches the source runtime once the transaction\ncontext already fits the bounded source-level numeric domains. -/\ntheorem initialIRStateForTx_matches_runtime\n (model : CompilationModel)\n (tx : IRTransaction)\n (i...
[ { "name": "function_body_state_runtime_of_bindSupportedParams", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 45, "n_chars": 1970, "n_subproofs": 1, "n_tactics": 27, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 1, "aut...
3
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -170,6 +170,104 @@ simpa [List.foldl, IRState.setVar] using ih (state := state.setVar entry.1.name entry.2) hmatch +/-- The initial IR state matches the source runtime once the transaction +context already fits the bounded source-level numeric domains. -/ +theorem initialIRStateForTx_matches_runtim...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_24
2b02e2cb455f48dd
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
24
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
6
[ { "theorem_name": "supported_function_correct", "depth": 1, "n_commands": 0, "n_lines": 330, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n classical\n let _ := hvalidateInputs\n let initialState := FunctionBody.initialIRStateForTx model tx initial...
[ { "name": "supported_function_param_state_exact", "text": "/-- The ABI parameter-loading prefix reconstructs exactly the decoded source\nbindings for any supported function with pairwise-distinct parameter names. -/\ntheorem supported_function_param_state_exact\n (state : IRState)\n (params : List Par...
[ { "name": "function_body_state_bindings_of_bindSupportedParams", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 8, "n_lines": 27, "n_chars": 1193, "n_subproofs": 2, "n_tactics": 11, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 1, "au...
8
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -304,6 +304,46 @@ simp [hqueryNe'] simp [List.find?, hbeq, ih hrestNotMem] +/-- The ABI parameter-loading prefix reconstructs exactly the decoded source +bindings for any supported function with pairwise-distinct parameter names. -/ +theorem supported_function_param_state_exact + (state : IRStat...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_25
4097fdee1ec49e92
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
25
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "supported_function_body_with_internals_goal_of_compileFunctionSpec_with_internals", "depth": 1, "n_commands": 0, "n_lines": 68, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n classical\n let initialState := FunctionBody.initialIRS...
[ { "name": "function_body_scopeNamesPresent_of_bindSupportedParams", "text": "private theorem function_body_scopeNamesPresent_of_bindSupportedParams\n (fn : FunctionSpec)\n (tx : IRTransaction)\n (bindings : List (String × Nat))\n (hbind : SourceSemantics.bindSupportedParams fn.params tx.args = s...
[ { "name": "supported_function_body_with_internals_goal_of_compileFunctionSpec_with_internals", "fan_in": 0, "n_deps_direct": 4, "n_deps_transitive": 16, "n_lines": 131, "n_chars": 6030, "n_subproofs": 7, "n_tactics": 68, "cyclomatic": 2, "n_automation": 5, "n_rewrites": 1...
16
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -514,6 +514,18 @@ symm exact lookupBinding?_eq_none_of_not_mem bindings queryName hmem +private theorem function_body_scopeNamesPresent_of_bindSupportedParams + (fn : FunctionSpec) + (tx : IRTransaction) + (bindings : List (String × Nat)) + (hbind : SourceSemantics.bindSupportedParams fn.para...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_26
8bf2998d59d2ae30
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
26
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "supported_function_correct_with_scalar_events_body_goal_and_helper_ir", "depth": 1, "n_commands": 0, "n_lines": 11, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hlegacyBody := supported_function_body_with_helpers_ir_goal_of_...
[ { "name": "supported_function_correct_with_scalar_events_body_goal", "text": "theorem supported_function_correct_with_scalar_events_body_goal\n (model : CompilationModel) (selectors : List Nat) (hSupported : SupportedSpecWithScalarEvents model selectors)\n (fn : FunctionSpec) (selector : Nat) (returns...
[ { "name": "supported_function_correct_with_scalar_events_body_goal_and_helper_ir", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 6, "n_lines": 44, "n_chars": 2947, "n_subproofs": 2, "n_tactics": 11, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_struc...
6
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -328,6 +328,44 @@ simpa [Compiler.Proofs.YulGeneration.execIRFunctionFuel_adequate_goal] using (hadequacy ▸ hfuel') +theorem supported_function_correct_with_scalar_events_body_goal + (model : CompilationModel) (selectors : List Nat) (hSupported : SupportedSpecWithScalarEvents model selectors) + (fn :...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_27
43a6b0c37f39f202
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
27
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "genParamLoads_callsDisjoint_of_reserved", "depth": 1, "n_commands": 0, "n_lines": 8, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n genParamLoads_callsDisjoint_of_builtins runtimeContract params hsupported\n (findInternalFunction?_...
[ { "name": "genParamLoads_callsDisjoint_of_builtins", "text": "/-- Disjointness of the full `genParamLoads` output (min-input-size guard plus\nthe param-load body) from a runtime contract's internal-function table, given\nthat none of the six EVM/Yul builtins it emits (`calldataload`, `calldatasize`,\n`lt`, ...
[ { "name": "genParamLoads_callsDisjoint_of_reserved", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 22, "n_chars": 1612, "n_subproofs": 0, "n_tactics": 7, "cyclomatic": 1, "n_automation": 6, "n_rewrites": 0, "n_structural": 0, "automation_only...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -309,6 +309,43 @@ simpa only [genParamLoadBodyFrom, genSingleParamLoad, hty] using yulStmtListCallsDisjoint_append hhead htail +/-- Disjointness of the full `genParamLoads` output (min-input-size guard plus +the param-load body) from a runtime contract's internal-function table, given +that non...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_28
708f58425f2b9e73
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
28
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "genParamLoads_callsDisjoint_of_internalNamesPrefixed", "depth": 1, "n_commands": 0, "n_lines": 3, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n genParamLoads_callsDisjoint_of_reserved runtimeContract params hsupported\n (InternalT...
[ { "name": "genParamLoads_callsDisjoint_of_reserved", "text": "/-- Package `genParamLoads` disjointness directly from the runtime contract's\nreserved-name invariant. Every helper name is reserved (`internal_`-, `__verity_`-,\n`checked_`-, or `panic_error_`-prefixed), while the six builtins emitted by the\np...
[ { "name": "genParamLoads_callsDisjoint_of_internalNamesPrefixed", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 14, "n_chars": 828, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "aut...
2
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -346,6 +346,27 @@ · subst h1; simp only [yulExprCallsDisjointFromInternalTable] · subst h2; simp only [yulExprCallsDisjointFromInternalTable] +/-- Package `genParamLoads` disjointness directly from the runtime contract's +reserved-name invariant. Every helper name is reserved (`internal_`-, `__verity_`-,...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_29
cd52534dd2e3d776
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
29
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "InternalTableNamesInternalPrefixed_of_all_compiledInternal", "depth": 1, "n_commands": 0, "n_lines": 11, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro d hd\n rw [List.mem_filterMap] at hd\n obtain ⟨stmt, hstmt, hdecode⟩ :=...
[ { "name": "compileInternalFunction_isFuncDef_internalNamed", "text": "/-- Every successful `compileInternalFunction` output is a `funcDef` whose Yul\nname is exactly `internalFunctionYulName spec.name`. Mirrors the case analysis of\n`compileInternalFunction_ok_components`, extracting only the emitted name. ...
[ { "name": "InternalTableNamesInternalPrefixed_of_all_compiledInternal", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 26, "n_chars": 1386, "n_subproofs": 3, "n_tactics": 11, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 3, "n_structural": 5, ...
2
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -324,6 +324,45 @@ rw [hdata] simp +/-- Every successful `compileInternalFunction` output is a `funcDef` whose Yul +name is exactly `internalFunctionYulName spec.name`. Mirrors the case analysis of +`compileInternalFunction_ok_components`, extracting only the emitted name. -/ +theorem compileInternalFunction_...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_30
abe9baf543278d10
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
30
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "compileStmtList_scalar_events_callsDisjoint", "depth": 1, "n_commands": 0, "n_lines": 14, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " Bool.or_eq_false_iff.mp <| by\n simpa [stmtListTouchesUnsupportedContractSurfaceWithEvents] u...
[ { "name": "compiledStmt_scalar_events_callsDisjoint", "text": "private theorem compiledStmt_scalar_events_callsDisjoint\n (runtimeContract : IRContract) (hinternal : runtimeContract.internalFunctions = [])\n {fields : List Field} {spec : CompilationModel} {scope : List String}\n {stmt : Stmt} {comp...
[ { "name": "compileStmtList_scalar_events_callsDisjoint", "fan_in": 2, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 34, "n_chars": 1912, "n_subproofs": 0, "n_tactics": 14, "cyclomatic": 3, "n_automation": 1, "n_rewrites": 1, "n_structural": 3, "automation...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -309,6 +309,48 @@ simpa only [genParamLoadBodyFrom, genSingleParamLoad, hty] using yulStmtListCallsDisjoint_append hhead htail +private theorem compiledStmt_scalar_events_callsDisjoint + (runtimeContract : IRContract) (hinternal : runtimeContract.internalFunctions = []) + {fields : List F...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_31
b3b3a3b0da37d519
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
31
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
7
[ { "theorem_name": "supported_function_correct", "depth": 1, "n_commands": 0, "n_lines": 330, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n classical\n let _ := hvalidateInputs\n let initialState := FunctionBody.initialIRStateForTx model tx initial...
[ { "name": "initialIRStateForTx_matches_runtime", "text": "/-- The initial IR state matches the source runtime once the transaction\ncontext already fits the bounded source-level numeric domains. -/\ntheorem initialIRStateForTx_matches_runtime\n (model : CompilationModel)\n (tx : IRTransaction)\n (i...
[ { "name": "supported_function_correct_with_scalar_events_state_runtime", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 27, "n_chars": 1950, "n_subproofs": 1, "n_tactics": 16, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 2,...
3
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -170,6 +170,104 @@ simpa [List.foldl, IRState.setVar] using ih (state := state.setVar entry.1.name entry.2) hmatch +/-- The initial IR state matches the source runtime once the transaction +context already fits the bounded source-level numeric domains. -/ +theorem initialIRStateForTx_matches_runtim...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_32
7ef6fb967a5e47ab
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
32
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
12
[ { "theorem_name": "compileFunctionSpec_correct_of_body", "depth": 1, "n_commands": 0, "n_lines": 38, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n have hcompiled :=\n c...
[ { "name": "compileFunctionSpec_ok_of_components", "text": "theorem compileFunctionSpec_ok_of_components\n (fields : List Field) (events : List EventDef) (errors : List ErrorDef)\n (selector : Nat) (spec : FunctionSpec)\n (returns : List ParamType) (bodyStmts : List YulStmt)\n (hvalidate : valida...
[ { "name": "supported_function_correct_with_scalar_events_body_extraFuelLower", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 17, "n_chars": 1173, "n_subproofs": 2, "n_tactics": 8, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 3, "n_structural...
2
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -115,6 +115,21 @@ finalMappings := Compiler.Proofs.storageAsMappings initialState.storage events := initialState.events } +theorem compileFunctionSpec_ok_of_components + (fields : List Field) (events : List EventDef) (errors : List ErrorDef) + (selector : Nat) (spec : FunctionSpec) + (re...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_33
818aba8e684b9868
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
33
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
5
[ { "theorem_name": "supported_function_correct", "depth": 1, "n_commands": 0, "n_lines": 330, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n classical\n let _ := hvalidateInputs\n let initialState := FunctionBody.initialIRStateForTx model tx initial...
[ { "name": "compiledFunctionIR_body_length_le_sizeOf", "text": "private theorem compiledFunctionIR_body_length_le_sizeOf\n (selector : Nat) (spec : FunctionSpec) (returns : List ParamType) (bodyStmts : List YulStmt) :\n (compiledFunctionIR selector spec returns bodyStmts).body.length + 1 ≤\n sizeO...
[ { "name": "supported_function_correct_with_scalar_events_body_fuel", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 14, "n_chars": 712, "n_subproofs": 1, "n_tactics": 6, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 2, "n_structural": 0, "...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -70,6 +70,13 @@ simp omega +private theorem compiledFunctionIR_body_length_le_sizeOf + (selector : Nat) (spec : FunctionSpec) (returns : List ParamType) (bodyStmts : List YulStmt) : + (compiledFunctionIR selector spec returns bodyStmts).body.length + 1 ≤ + sizeOf (compiledFunctionIR select...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_34
1378a2198ba397c1
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
34
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "supported_function_correct_with_scalar_events", "depth": 1, "n_commands": 0, "n_lines": 31, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n let state := P...
[ { "name": "supported_function_correct_with_scalar_events_state_runtime", "text": "private theorem supported_function_correct_with_scalar_events_state_runtime\n (model : CompilationModel) (fn : FunctionSpec) (tx : IRTransaction)\n (initialWorld : Verity.ContractState) (bindings : List (String × Nat))\n...
[ { "name": "supported_function_correct_with_scalar_events", "fan_in": 1, "n_deps_direct": 8, "n_deps_transitive": 25, "n_lines": 47, "n_chars": 4803, "n_subproofs": 10, "n_tactics": 34, "cyclomatic": 1, "n_automation": 6, "n_rewrites": 2, "n_structural": 3, "automa...
25
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -959,6 +959,32 @@ simpa only [genParamLoadBodyFrom, genSingleParamLoad, hty] using yulStmtListCallsDisjoint_append hhead htail +private theorem supported_function_correct_with_scalar_events_state_runtime + (model : CompilationModel) (fn : FunctionSpec) (tx : IRTransaction) + (initialWorld...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_35
6230fa58656d2cae
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
35
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "supported_function_correct_with_scalar_events", "depth": 1, "n_commands": 0, "n_lines": 31, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n let state := P...
[ { "name": "supported_function_correct_with_scalar_events_body_extraFuelLower", "text": "private theorem supported_function_correct_with_scalar_events_body_extraFuelLower\n (model : CompilationModel) (fn : FunctionSpec) (selector : Nat) (returns : List ParamType)\n (bodyStmts : List YulStmt) (irFn : IR...
[ { "name": "supported_function_correct_with_scalar_events_of_bodyCallsDisjoint", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 26, "n_lines": 35, "n_chars": 2418, "n_subproofs": 0, "n_tactics": 8, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structur...
26
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -985,6 +985,22 @@ (runtime := { world := SourceSemantics.withTransactionContext initialWorld tx, bindings := [], selector := tx.functionSelector }) (fields := SourceSemantics.effectiveFields model) (bindings := bindings) hpreboundRuntime +private theorem supported_function_correct_with_scalar_events_body...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_36
c861b096cebe1544
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
36
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
2
[ { "theorem_name": "compiledFunctionIR_scalar_events_callsDisjoint", "depth": 1, "n_commands": 0, "n_lines": 13, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hsupportedFn := hSupported.supportedFunctionOfSelectorDispatched hfn\n have hbodyDisj...
[ { "name": "compileStmtList_scalar_events_callsDisjoint", "text": "private theorem compileStmtList_scalar_events_callsDisjoint\n (runtimeContract : IRContract) (hinternal : runtimeContract.internalFunctions = [])\n {fields : List Field} {spec : CompilationModel} :\n ∀ {scope : List String} {stmts : ...
[ { "name": "compiledFunctionIR_scalar_events_callsDisjoint", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 4, "n_lines": 27, "n_chars": 1624, "n_subproofs": 4, "n_tactics": 13, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 0, "automat...
3
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -361,6 +361,39 @@ exact hcompile exact hplainDisjoint hhelper compiledIR hcompilePlain +private theorem compileStmtList_scalar_events_callsDisjoint + (runtimeContract : IRContract) (hinternal : runtimeContract.internalFunctions = []) + {fields : List Field} {spec : CompilationModel} : + ∀ {sco...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_37
ce97d5b0a247351c
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
37
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "supported_function_correct_with_scalar_events", "depth": 1, "n_commands": 0, "n_lines": 31, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let initialState := FunctionBody.initialIRStateForTx model tx initialWorld\n let state := P...
[ { "name": "supported_function_correct_with_scalar_events_body_correct", "text": "private theorem supported_function_correct_with_scalar_events_body_correct\n (runtimeContract : IRContract) (model : CompilationModel) (selectors : List Nat)\n (hSupported : SupportedSpecWithScalarEvents model selectors)\...
[ { "name": "compileFunctionSpec_correct_with_scalar_events", "fan_in": 0, "n_deps_direct": 4, "n_deps_transitive": 33, "n_lines": 40, "n_chars": 2762, "n_subproofs": 3, "n_tactics": 21, "cyclomatic": 2, "n_automation": 3, "n_rewrites": 1, "n_structural": 1, "automa...
32
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -1130,6 +1130,32 @@ (compiledFunctionIR_body_length_le_sizeOf selector fn returns bodyStmts) simpa [compiledFunctionIR] using Nat.add_sub_of_le hlenle +private theorem supported_function_correct_with_scalar_events_body_correct + (runtimeContract : IRContract) (model : CompilationModel) (selectors : List...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_38
779fdf6b9cc82386
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
38
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "compileStmt_constructor_mode_eq", "depth": 1, "n_commands": 0, "n_lines": 18, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [← FunctionBody.compileStmtWithFork_cancun_eq_compileStmt\n fields events errors .memory [] fals...
[ { "name": "compileRequireFailCond_constructor_mode_eq", "text": "private theorem compileRequireFailCond_constructor_mode_eq\n {fields : List Field}\n {cond : Expr}\n (hcoreClosed : exprTouchesUnsupportedCoreSurface cond = false)\n (hrawClosed : exprTouchesUnsupportedConstructorRawCalldataSurface...
[ { "name": "compileStmt_constructor_mode_eq", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 32, "n_chars": 1738, "n_subproofs": 0, "n_tactics": 23, "cyclomatic": 11, "n_automation": 5, "n_rewrites": 2, "n_structural": 1, "automation_only": fal...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -440,6 +440,31 @@ compileExprList_constructor_mode_eq hcoreTail hrawTail, Bind.bind, Except.bind, Functor.map, Except.map] +private theorem compileRequireFailCond_constructor_mode_eq + {fields : List Field} + {cond : Expr} + (hcoreClosed : exprTouchesUnsupportedCoreSurface cond = false) ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_39
828a0443afd42f66
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
39
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "execStmtListWithHelpers_constructor_calldataSize_eq", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n constructor_function_contexts_erase_calldataSize_eq", "n_chars": 54, "n_subproofs"...
[ { "name": "constructor_function_contexts_erase_calldataSize_eq", "text": "/-- The constructor/function transaction contexts differ only in calldata size.\nThis is the base fact for the calldata-size bridge; a full execution bridge must\nshow raw-calldata-surface-closed bodies preserve this erased-state rela...
[ { "name": "execStmtListWithHelpers_constructor_calldataSize_eq", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 16, "n_chars": 603, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "auto...
1
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -544,6 +544,25 @@ (state : SourceSemantics.RuntimeState) : SourceSemantics.RuntimeState := { state with world := { state.world with calldataSize := 0 } } +/-- The constructor/function transaction contexts differ only in calldata size. +This is the base fact for the calldata-size bridge; a full execution br...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_40
e03b9cc54e46d7ec
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
40
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
2
[ { "theorem_name": "supported_function_param_state_exact", "depth": 1, "n_commands": 0, "n_lines": 29, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let rawInitBindings :=\n (rawArgBindings params state.calldata).foldl\n (fun acc entry => Sou...
[ { "name": "lookupBinding?_eq_none_of_not_mem", "text": "private theorem lookupBinding?_eq_none_of_not_mem\n (bindings : List (String × Nat))\n (queryName : String)\n (hnotmem : queryName ∉ bindings.map Prod.fst) :\n FunctionBody.lookupBinding? bindings queryName = none := by\n unfold FunctionBo...
[ { "name": "bindingsExactlyMatchIRVars_applyBindingsToIRState_self", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 21, "n_chars": 979, "n_subproofs": 1, "n_tactics": 13, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 2, "n_structural": 3, "...
3
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -209,6 +209,31 @@ unfold FunctionBody.lookupBinding? simp [List.find?, hbeq] +private theorem lookupBinding?_eq_none_of_not_mem + (bindings : List (String × Nat)) + (queryName : String) + (hnotmem : queryName ∉ bindings.map Prod.fst) : + FunctionBody.lookupBinding? bindings queryName ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_41
abdd07f645579778
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
41
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
1
[ { "theorem_name": "supported_constructor_body_correct_with_body_interface", "depth": 1, "n_commands": 0, "n_lines": 150, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n let _ := hfunctionNamesNodup\n let initialState := FunctionBody.initialIRStat...
[ { "name": "bindingsExactlyMatchIRVars_applyBindingsToIRState_self", "text": "private theorem bindingsExactlyMatchIRVars_applyBindingsToIRState_self\n {state : IRState}\n {bindings : List (String × Nat)}\n (hinit : FunctionBody.bindingsExactlyMatchIRVars [] state)\n (hnodup : (bindings.map Prod.f...
[ { "name": "supported_constructor_body_correct_with_body_interface", "fan_in": 0, "n_deps_direct": 6, "n_deps_transitive": 9, "n_lines": 217, "n_chars": 10830, "n_subproofs": 18, "n_tactics": 150, "cyclomatic": 2, "n_automation": 12, "n_rewrites": 4, "n_structural": 8,...
9
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -805,6 +805,26 @@ omega exact lt_of_lt_of_le hstep this +private theorem bindingsExactlyMatchIRVars_applyBindingsToIRState_self + {state : IRState} + {bindings : List (String × Nat)} + (hinit : FunctionBody.bindingsExactlyMatchIRVars [] state) + (hnodup : (bindings.map Prod.fst).Nodup) : + F...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_42
bda3c6c04190dabc
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
42
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
4
[ { "theorem_name": "supported_function_correct", "depth": 1, "n_commands": 0, "n_lines": 330, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n classical\n let _ := hvalidateInputs\n let initialState := FunctionBody.initialIRStateForTx model tx initial...
[ { "name": "supported_function_body_correct_from_exact_state_terminal_core_extraFuel", "text": "theorem supported_function_body_correct_from_exact_state_terminal_core_extraFuel\n (model : CompilationModel)\n (fn : FunctionSpec)\n (bodyStmts : List YulStmt)\n (tx : IRTransaction)\n (initialWorl...
[ { "name": "supported_function_correct_with_body_interface_except_mapping_writes", "fan_in": 1, "n_deps_direct": 10, "n_deps_transitive": 19, "n_lines": 282, "n_chars": 13941, "n_subproofs": 28, "n_tactics": 244, "cyclomatic": 3, "n_automation": 21, "n_rewrites": 7, "n...
19
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -642,6 +642,100 @@ symm exact lookupBinding?_eq_none_of_not_mem bindings queryName hmem +theorem supported_function_body_correct_from_exact_state_terminal_core_extraFuel + (model : CompilationModel) + (fn : FunctionSpec) + (bodyStmts : List YulStmt) + (tx : IRTransaction) + (initialWorld :...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_43
c4002203be862d75
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
43
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
4
[ { "theorem_name": "supported_function_correct", "depth": 1, "n_commands": 0, "n_lines": 330, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n classical\n let _ := hvalidateInputs\n let initialState := FunctionBody.initialIRStateForTx model tx initial...
[ { "name": "supported_function_body_correct_from_exact_state_terminal_core_extraFuel", "text": "theorem supported_function_body_correct_from_exact_state_terminal_core_extraFuel\n (model : CompilationModel)\n (fn : FunctionSpec)\n (bodyStmts : List YulStmt)\n (tx : IRTransaction)\n (initialWorl...
[ { "name": "supported_function_correct_with_body_interface_except_mapping_writes_stmtSafety", "fan_in": 1, "n_deps_direct": 10, "n_deps_transitive": 19, "n_lines": 271, "n_chars": 13351, "n_subproofs": 26, "n_tactics": 233, "cyclomatic": 3, "n_automation": 20, "n_rewrites"...
19
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -642,6 +642,100 @@ symm exact lookupBinding?_eq_none_of_not_mem bindings queryName hmem +theorem supported_function_body_correct_from_exact_state_terminal_core_extraFuel + (model : CompilationModel) + (fn : FunctionSpec) + (bodyStmts : List YulStmt) + (tx : IRTransaction) + (initialWorld :...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_44
7ed56042db30d60f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
44
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
3
[ { "theorem_name": "compileFunctionSpec_correct_of_body_supported_extraFuel", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact compileFunctionSpec_correct_of_body_normalized_extraFuel\n model\n hSup...
[ { "name": "compileFunctionSpec_correct_of_body_normalized_extraFuel", "text": "theorem compileFunctionSpec_correct_of_body_normalized_extraFuel\n (model : CompilationModel)\n (hnormalized :\n applySlotAliasRanges model.fields model.slotAliasRanges = model.fields)\n (selector : Nat) (fn : Funct...
[ { "name": "supported_function_correct_except_mapping_writes", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 21, "n_lines": 61, "n_chars": 2814, "n_subproofs": 1, "n_tactics": 35, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 1, "n_structural": 1, "auto...
21
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -767,6 +767,96 @@ refine ⟨_, _, rfl, rfl, ?_⟩ simpa [hfuel, sizeSlack] using hterminalSem +theorem compileFunctionSpec_correct_of_body_normalized_extraFuel + (model : CompilationModel) + (hnormalized : + applySlotAliasRanges model.fields model.slotAliasRanges = model.fields) + (selector : Nat) ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_45
5ff51d476f4d3368
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
45
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
3
[ { "theorem_name": "compileFunctionSpec_correct_of_body_supported_extraFuel", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact compileFunctionSpec_correct_of_body_normalized_extraFuel\n model\n hSup...
[ { "name": "compileFunctionSpec_correct_of_body_normalized_extraFuel", "text": "theorem compileFunctionSpec_correct_of_body_normalized_extraFuel\n (model : CompilationModel)\n (hnormalized :\n applySlotAliasRanges model.fields model.slotAliasRanges = model.fields)\n (selector : Nat) (fn : Funct...
[ { "name": "supported_function_correct_except_mapping_writes_stmtSafety", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 21, "n_lines": 57, "n_chars": 2607, "n_subproofs": 1, "n_tactics": 35, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 1, "n_structural": 1...
21
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -767,6 +767,96 @@ refine ⟨_, _, rfl, rfl, ?_⟩ simpa [hfuel, sizeSlack] using hterminalSem +theorem compileFunctionSpec_correct_of_body_normalized_extraFuel + (model : CompilationModel) + (hnormalized : + applySlotAliasRanges model.fields model.slotAliasRanges = model.fields) + (selector : Nat) ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_46
68a56e74b45b0ce4
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
46
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
2
[ { "theorem_name": "supported_function_correct", "depth": 1, "n_commands": 0, "n_lines": 330, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n classical\n let _ := hvalidateInputs\n let initialState := FunctionBody.initialIRStateForTx model tx initial...
[ { "name": "firstFieldWriteSlotConflict_eq_none_of_validateCompileInputs", "text": "private theorem firstFieldWriteSlotConflict_eq_none_of_validateCompileInputs\n {spec : CompilationModel}\n {selectors : List Nat}\n (hvalidate : validateCompileInputs spec selectors = Except.ok ()) :\n firstFieldW...
[ { "name": "supported_function_correct_with_helper_proofs_goal", "fan_in": 1, "n_deps_direct": 11, "n_deps_transitive": 19, "n_lines": 197, "n_chars": 9681, "n_subproofs": 19, "n_tactics": 155, "cyclomatic": 2, "n_automation": 11, "n_rewrites": 4, "n_structural": 9, ...
19
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -686,6 +686,14 @@ refine ⟨_, _, rfl, rfl, ?_⟩ simpa [hfuel, sizeSlack] using hterminalSem +private theorem firstFieldWriteSlotConflict_eq_none_of_validateCompileInputs + {spec : CompilationModel} + {selectors : List Nat} + (hvalidate : validateCompileInputs spec selectors = Except.ok ()) : + firs...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_fa579d1d162d_47
a277991c61bcff5f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/Function.lean
Function
47
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
62
2
[ { "theorem_name": "supported_function_correct", "depth": 1, "n_commands": 0, "n_lines": 330, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n classical\n let _ := hvalidateInputs\n let initialState := FunctionBody.initialIRStateForTx model tx initial...
[ { "name": "firstFieldWriteSlotConflict_eq_none_of_validateCompileInputs", "text": "private theorem firstFieldWriteSlotConflict_eq_none_of_validateCompileInputs\n {spec : CompilationModel}\n {selectors : List Nat}\n (hvalidate : validateCompileInputs spec selectors = Except.ok ()) :\n firstFieldW...
[ { "name": "supported_function_correct_with_helper_proofs", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 20, "n_lines": 54, "n_chars": 2635, "n_subproofs": 2, "n_tactics": 26, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 1, "automat...
20
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
import Compiler.CompilationModel.Dispatch import Compiler.Proofs.IRGeneration.FunctionShape import Compiler.Proofs.IRGeneration.FunctionBody import Compiler.Proofs.IRGeneration.GenericInduction import Compiler.Proofs.IRGeneration.GenericInduction.EventBridge import Compiler.Proofs.IRGeneration.ParamLoading import Compi...
@@ -686,6 +686,14 @@ refine ⟨_, _, rfl, rfl, ?_⟩ simpa [hfuel, sizeSlack] using hterminalSem +private theorem firstFieldWriteSlotConflict_eq_none_of_validateCompileInputs + {spec : CompilationModel} + {selectors : List Nat} + (hvalidate : validateCompileInputs spec selectors = Except.ok ()) : + firs...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_ad56c5072971_0
0195c438c180c877
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBridgePredicates.lean
EvmYulLeanBridgePredicates
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
42
3
[ { "theorem_name": "BridgedStraightStmts_singleton", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n BridgedStraightStmts_cons hStmt BridgedStraightStmts_nil", "n_chars": 59, "n_subproofs": 0, "n_tact...
[ { "name": "BridgedStraightStmts_nil", "text": "theorem BridgedStraightStmts_nil : BridgedStraightStmts [] := by\n intro stmt hMem\n cases hMem\n\n", "fan_in": 3, "n_lines": 5, "n_chars": 97, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 2, "n_automation": 0, "n_rewrites":...
[ { "name": "BridgedStraightStmts_singleton", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 5, "n_chars": 201, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, ...
2
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
@@ -93,6 +93,10 @@ def BridgedStraightStmts (stmts : List Compiler.Yul.YulStmt) : Prop := ∀ stmt ∈ stmts, BridgedStraightStmt stmt +theorem BridgedStraightStmts_nil : BridgedStraightStmts [] := by + intro stmt hMem + cases hMem + theorem BridgedStraightStmts_cons {stmt : Compiler.Yul.YulStmt} {stmts : Lis...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_ad56c5072971_1
b1e0415e3c02ccfa
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBridgePredicates.lean
EvmYulLeanBridgePredicates
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
42
3
[ { "theorem_name": "BridgedStraightStmts_singleton", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n BridgedStraightStmts_cons hStmt BridgedStraightStmts_nil", "n_chars": 59, "n_subproofs": 0, "n_tact...
[ { "name": "BridgedStraightStmts_nil", "text": "theorem BridgedStraightStmts_nil : BridgedStraightStmts [] := by\n intro stmt hMem\n cases hMem\n\n", "fan_in": 3, "n_lines": 5, "n_chars": 97, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 2, "n_automation": 0, "n_rewrites":...
[ { "name": "BridgedStraightStmts_snoc", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 7, "n_chars": 276, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, "m...
4
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
@@ -93,6 +93,10 @@ def BridgedStraightStmts (stmts : List Compiler.Yul.YulStmt) : Prop := ∀ stmt ∈ stmts, BridgedStraightStmt stmt +theorem BridgedStraightStmts_nil : BridgedStraightStmts [] := by + intro stmt hMem + cases hMem + theorem BridgedStraightStmts_cons {stmt : Compiler.Yul.YulStmt} {stmts : Lis...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_ad56c5072971_2
3e597cf2ebd9e2c3
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBridgePredicates.lean
EvmYulLeanBridgePredicates
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
42
3
[ { "theorem_name": "BridgedStraightStmts_singleton", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n BridgedStraightStmts_cons hStmt BridgedStraightStmts_nil", "n_chars": 59, "n_subproofs": 0, "n_tact...
[ { "name": "BridgedStraightStmts_nil", "text": "theorem BridgedStraightStmts_nil : BridgedStraightStmts [] := by\n intro stmt hMem\n cases hMem\n\n", "fan_in": 3, "n_lines": 5, "n_chars": 97, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 2, "n_automation": 0, "n_rewrites":...
[ { "name": "BridgedStraightStmts_map_mstore", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 19, "n_chars": 752, "n_subproofs": 2, "n_tactics": 11, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 5, "automation_only": false...
2
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
@@ -93,6 +93,10 @@ def BridgedStraightStmts (stmts : List Compiler.Yul.YulStmt) : Prop := ∀ stmt ∈ stmts, BridgedStraightStmt stmt +theorem BridgedStraightStmts_nil : BridgedStraightStmts [] := by + intro stmt hMem + cases hMem + theorem BridgedStraightStmts_cons {stmt : Compiler.Yul.YulStmt} {stmts : Lis...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_ad56c5072971_3
4b70a233cd5fdd4a
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBridgePredicates.lean
EvmYulLeanBridgePredicates
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
42
3
[ { "theorem_name": "BridgedStraightStmts_singleton", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n BridgedStraightStmts_cons hStmt BridgedStraightStmts_nil", "n_chars": 59, "n_subproofs": 0, "n_tact...
[ { "name": "BridgedStraightStmts_nil", "text": "theorem BridgedStraightStmts_nil : BridgedStraightStmts [] := by\n intro stmt hMem\n cases hMem\n\n", "fan_in": 3, "n_lines": 5, "n_chars": 97, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 2, "n_automation": 0, "n_rewrites":...
[ { "name": "BridgedStraightStmts_map_tstore", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 19, "n_chars": 752, "n_subproofs": 2, "n_tactics": 11, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 5, "automation_only": false...
2
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
@@ -93,6 +93,10 @@ def BridgedStraightStmts (stmts : List Compiler.Yul.YulStmt) : Prop := ∀ stmt ∈ stmts, BridgedStraightStmt stmt +theorem BridgedStraightStmts_nil : BridgedStraightStmts [] := by + intro stmt hMem + cases hMem + theorem BridgedStraightStmts_cons {stmt : Compiler.Yul.YulStmt} {stmts : Lis...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_ad56c5072971_4
2a24c2a6e9165619
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBridgePredicates.lean
EvmYulLeanBridgePredicates
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
42
21
[ { "theorem_name": "BridgedStmts_singleton", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n BridgedStmts_cons hStmt BridgedStmts_nil", "n_chars": 43, "n_subproofs": 0, "n_tactics": 1, "cyclomatic...
[ { "name": "BridgedStmts_cons", "text": "theorem BridgedStmts_cons {stmt : Compiler.Yul.YulStmt}\n {stmts : List Compiler.Yul.YulStmt}\n (hStmt : BridgedStmt stmt) (hStmts : BridgedStmts stmts) :\n BridgedStmts (stmt :: stmts) := by\n intro s hMem\n cases hMem with\n | head => exact hStmt\n | ta...
[ { "name": "BridgedStmts_singleton", "fan_in": 22, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 5, "n_chars": 161, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, "max...
2
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
@@ -149,8 +149,18 @@ intro stmt hMem cases hMem +theorem BridgedStmts_cons {stmt : Compiler.Yul.YulStmt} + {stmts : List Compiler.Yul.YulStmt} + (hStmt : BridgedStmt stmt) (hStmts : BridgedStmts stmts) : + BridgedStmts (stmt :: stmts) := by + intro s hMem + cases hMem with + | head => exact hStmt + ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_ad56c5072971_5
e27056a6a0eba000
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBridgePredicates.lean
EvmYulLeanBridgePredicates
5
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
42
21
[ { "theorem_name": "BridgedStmts_singleton", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n BridgedStmts_cons hStmt BridgedStmts_nil", "n_chars": 43, "n_subproofs": 0, "n_tactics": 1, "cyclomatic...
[ { "name": "BridgedStmts_cons", "text": "theorem BridgedStmts_cons {stmt : Compiler.Yul.YulStmt}\n {stmts : List Compiler.Yul.YulStmt}\n (hStmt : BridgedStmt stmt) (hStmts : BridgedStmts stmts) :\n BridgedStmts (stmt :: stmts) := by\n intro s hMem\n cases hMem with\n | head => exact hStmt\n | ta...
[ { "name": "BridgedStmts_snoc", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 7, "n_chars": 228, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, "max_nesti...
4
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
@@ -149,6 +149,15 @@ intro stmt hMem cases hMem +theorem BridgedStmts_cons {stmt : Compiler.Yul.YulStmt} + {stmts : List Compiler.Yul.YulStmt} + (hStmt : BridgedStmt stmt) (hStmts : BridgedStmts stmts) : + BridgedStmts (stmt :: stmts) := by + intro s hMem + cases hMem with + | head => exact hStmt + ...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...
ablate_ad56c5072971_6
0e44b118065a2782
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBridgePredicates.lean
EvmYulLeanBridgePredicates
6
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
42
2
[ { "theorem_name": "bridgedStraightStmt_let_mload", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n BridgedStraightStmt.let_ name _ (bridgedExpr_mload offsetExpr hOffset)", "n_chars": 73, "n_subproofs": 0...
[ { "name": "bridgedExpr_mload", "text": "theorem bridgedExpr_mload (offsetExpr : Compiler.Yul.YulExpr)\n (hOffset : BridgedExpr offsetExpr) :\n BridgedExpr\n (Compiler.Yul.YulExpr.call \"mload\" [offsetExpr]) := by\n refine BridgedExpr.call \"mload\" _ (Or.inr (Or.inr (Or.inl rfl))) ?_\n intro a...
[ { "name": "bridgedStraightStmt_let_mload", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 7, "n_chars": 300, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, ...
1
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
/- Neutral EVMYulLean bridge-fragment predicates. This module contains only the syntactic builtin set and `Bridged*` Yul fragment predicates used by native closure proofs. It deliberately avoids the transition-only oracle and executor equivalence stack. -/ import Compiler.Yul.Ast import Compiler.Proofs.YulGen...
@@ -145,10 +145,21 @@ def BridgedStmts (stmts : List Compiler.Yul.YulStmt) : Prop := ∀ stmt ∈ stmts, BridgedStmt stmt +theorem bridgedExpr_mload (offsetExpr : Compiler.Yul.YulExpr) + (hOffset : BridgedExpr offsetExpr) : + BridgedExpr + (Compiler.Yul.YulExpr.call "mload" [offsetExpr]) := by + refine Br...
{ "repo": "verity", "git_repo": "github.com/lfglabs-dev/verity", "revision": "eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978", "lean_toolchain": "leanprover/lean4:v4.22.0", "proof_assistant": "lean", "ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)", "ablator_flags": [ "--corollary-delete-lemm...