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_848d26072a8c_24
71eef49b85ddbc79
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
24
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "runtimeStateMatchesIR_writeUintKeyedMappingSlot", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 15, "n_lines": 40, "n_chars": 2206, "n_subproofs": 0, "n_tactics": 22, "cyclomatic": 2, "n_automation": 5, "n_rewrites": 2, "n_structural": 5, "autom...
12
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -310,6 +310,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_25
c8e0aa9a9bb12073
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
25
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "runtimeStateMatchesIR_writeAddressKeyedMappingChainSlot", "fan_in": 1, "n_deps_direct": 6, "n_deps_transitive": 15, "n_lines": 52, "n_chars": 2561, "n_subproofs": 1, "n_tactics": 27, "cyclomatic": 2, "n_automation": 4, "n_rewrites": 5, "n_structural": 5, ...
12
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -324,6 +324,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_26
e299fb682fb5484e
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
26
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "runtimeStateMatchesIR_writeAddressKeyedMappingSlot", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 15, "n_lines": 52, "n_chars": 3081, "n_subproofs": 1, "n_tactics": 32, "cyclomatic": 2, "n_automation": 8, "n_rewrites": 3, "n_structural": 7, "au...
12
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -310,6 +310,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_27
404d679dc9377824
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
27
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "runtimeStateMatchesIR_writeAddressKeyedMappingWordSlot", "fan_in": 1, "n_deps_direct": 6, "n_deps_transitive": 16, "n_lines": 53, "n_chars": 2787, "n_subproofs": 1, "n_tactics": 30, "cyclomatic": 2, "n_automation": 5, "n_rewrites": 5, "n_structural": 5, ...
12
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -339,6 +339,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_28
76de8457a18c2103
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
28
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "runtimeStateMatchesIR_writeAddressKeyedMapping2Slot", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 15, "n_lines": 56, "n_chars": 2689, "n_subproofs": 0, "n_tactics": 28, "cyclomatic": 2, "n_automation": 6, "n_rewrites": 3, "n_structural": 5, "a...
12
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -310,6 +310,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_29
beb7a4e2cf766269
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
29
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "runtimeStateMatchesIR_writeAddressKeyedMapping2WordSlot", "fan_in": 1, "n_deps_direct": 6, "n_deps_transitive": 16, "n_lines": 54, "n_chars": 2893, "n_subproofs": 1, "n_tactics": 31, "cyclomatic": 2, "n_automation": 5, "n_rewrites": 5, "n_structural": 5, ...
13
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -313,6 +313,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_30
fe59b64b48c5ccdd
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
30
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
2
[ { "theorem_name": "runtimeStateMatchesIR_writeUintSlots", "depth": 1, "n_commands": 0, "n_lines": 41, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases hruntime with\n ⟨hstorage, htransient, hsender, hmsgValue, hthis, htimestamp, hblock, hchai...
[ { "name": "abstractStoreStorageOrMappingMany_eq", "text": "private theorem abstractStoreStorageOrMappingMany_eq\n {storage : Compiler.Proofs.IRGeneration.IRStorageSlot →\n Compiler.Proofs.IRGeneration.IRStorageWord}\n {slots : List Nat}\n {value : Nat} {query : Compiler.Proofs.IRGeneration.IRS...
[ { "name": "bindingsExactlyMatchIRVarsOnScope_writeUintSlots", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 15, "n_chars": 562, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 1, "automat...
1
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -770,6 +770,26 @@ rest value +private theorem abstractStoreStorageOrMappingMany_eq + {storage : Compiler.Proofs.IRGeneration.IRStorageSlot → + Compiler.Proofs.IRGeneration.IRStorageWord} + {slots : List Nat} + {value : Nat} {query : Compiler.Proofs.IRGeneration.IRStorageSlot} : + ...
{ "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_848d26072a8c_31
c6867784ea6da238
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
31
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "execIRStmts_let_then_sstore_lit_ident_slots_continue", "depth": 1, "n_commands": 0, "n_lines": 15, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hlet :\n execIRStmt (slots.length + fuel + 1) state\n (YulStmt.let_ ...
[ { "name": "execIRStmts_sstore_lit_ident_slots_continue", "text": "private theorem execIRStmts_sstore_lit_ident_slots_continue\n (fuel : Nat)\n (state : IRState)\n (slots : List Nat)\n (name : String)\n (value : Nat)\n (hvalue : IRState.getVar state name = value) :\n execIRStmts (slots.l...
[ { "name": "execIRStmts_let_then_sstore_lit_ident_slots_continue", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 35, "n_chars": 1138, "n_subproofs": 2, "n_tactics": 15, "cyclomatic": 1, "n_automation": 3, "n_rewrites": 0, "n_structural": 0, "a...
1
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -842,6 +842,42 @@ (by simpa [htgt, mappingWordTargetSlot] using IRStorageSlot.ne_toNat_wordNormalize_of_ne_ofNat hEq)).symm +private theorem execIRStmts_sstore_lit_ident_slots_continue + (fuel : Nat) + (state : IRState) + (slots : List Nat) + (name : String) + (value : 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_848d26072a8c_32
81aff33f18cea657
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
32
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "validateIdentifierShapes_fieldName_ne_reservedScratch", "depth": 1, "n_commands": 0, "n_lines": 33, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases List.mem_map.mp hmem with ⟨field, hfield, rfl⟩\n have hreserved :=\n Comp...
[ { "name": "compatScratch_not_internalImmutable", "text": "private theorem compatScratch_not_internalImmutable\n {name : String}\n (h :\n name = \"__compat_value\" ∨\n name = \"__compat_packed\" ∨\n name = \"__compat_slot_word\" ∨\n name = \"__compat_slot_cleared\") :\n name.star...
[ { "name": "validateIdentifierShapes_fieldName_ne_reservedScratch", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 43, "n_chars": 2071, "n_subproofs": 9, "n_tactics": 33, "cyclomatic": 2, "n_automation": 13, "n_rewrites": 0, "n_structural": 18, ...
2
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -966,6 +966,122 @@ left decide +private theorem compatScratch_not_internalImmutable + {name : String} + (h : + name = "__compat_value" ∨ + name = "__compat_packed" ∨ + name = "__compat_slot_word" ∨ + name = "__compat_slot_cleared") : + name.startsWith "__immut...
{ "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_848d26072a8c_33
edd278060f3514cd
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
33
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "validateIdentifierShapes_fieldName_ne_reservedScratch", "depth": 1, "n_commands": 0, "n_lines": 33, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases List.mem_map.mp hmem with ⟨field, hfield, rfl⟩\n have hreserved :=\n Comp...
[ { "name": "compatScratch_not_internalImmutable", "text": "private theorem compatScratch_not_internalImmutable\n {name : String}\n (h :\n name = \"__compat_value\" ∨\n name = \"__compat_packed\" ∨\n name = \"__compat_slot_word\" ∨\n name = \"__compat_slot_cleared\") :\n name.star...
[ { "name": "scopeAvoidsReservedCompilerPrefix_of_validateIdentifierShapes", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 3, "n_lines": 101, "n_chars": 5472, "n_subproofs": 8, "n_tactics": 86, "cyclomatic": 13, "n_automation": 20, "n_rewrites": 0, "n_structural...
3
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -966,6 +966,122 @@ left decide +private theorem compatScratch_not_internalImmutable + {name : String} + (h : + name = "__compat_value" ∨ + name = "__compat_packed" ∨ + name = "__compat_slot_word" ∨ + name = "__compat_slot_cleared") : + name.startsWith "__immut...
{ "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_848d26072a8c_34
604891ee06ff228a
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
34
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member", "depth": 1, "n_commands": 0, "n_lines": 45, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction fields generalizing seen idx with\n | nil => simp [findFieldWithRe...
[ { "name": "fieldWriteEntriesAt_packed_none_of_unpacked", "text": "private theorem fieldWriteEntriesAt_packed_none_of_unpacked\n {idx : Nat} {field : Field} {packed : Option PackedBits}\n (hunpacked : field.packedBits = none)\n (hmem : packed ∈ (fieldWriteEntriesAt idx field).map (fun entry => entry...
[ { "name": "compiledStmtStep_setStorage_singleSlot", "fan_in": 2, "n_deps_direct": 3, "n_deps_transitive": 27, "n_lines": 89, "n_chars": 4699, "n_subproofs": 12, "n_tactics": 64, "cyclomatic": 3, "n_automation": 11, "n_rewrites": 2, "n_structural": 7, "automation_o...
22
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -363,6 +363,18 @@ SourceSemantics.wordNormalize] exact Or.inr ⟨_, _, _, _, halias, rfl, rfl, rfl⟩ +private theorem fieldWriteEntriesAt_packed_none_of_unpacked + {idx : Nat} {field : Field} {packed : Option PackedBits} + (hunpacked : field.packedBits = none) + (hmem : packed ∈ (fieldWri...
{ "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_848d26072a8c_35
a87fa712be878f63
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
35
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member", "depth": 1, "n_commands": 0, "n_lines": 45, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction fields generalizing seen idx with\n | nil => simp [findFieldWithRe...
[ { "name": "fieldWriteEntriesAt_packed_none_of_unpacked", "text": "private theorem fieldWriteEntriesAt_packed_none_of_unpacked\n {idx : Nat} {field : Field} {packed : Option PackedBits}\n (hunpacked : field.packedBits = none)\n (hmem : packed ∈ (fieldWriteEntriesAt idx field).map (fun entry => entry...
[ { "name": "compiledStmtStep_setStorageAddr_singleSlot_preserves", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 26, "n_lines": 140, "n_chars": 6721, "n_subproofs": 14, "n_tactics": 92, "cyclomatic": 3, "n_automation": 16, "n_rewrites": 2, "n_structural": 8, ...
21
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -347,6 +347,18 @@ SourceSemantics.wordNormalize] exact Or.inr ⟨_, _, _, _, halias, rfl, rfl, rfl⟩ +private theorem fieldWriteEntriesAt_packed_none_of_unpacked + {idx : Nat} {field : Field} {packed : Option PackedBits} + (hunpacked : field.packedBits = none) + (hmem : packed ∈ (fieldWri...
{ "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_848d26072a8c_36
8d273e09d4a7ef58
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
36
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "firstInFieldConflictCopy_ne_none_of_seen_slot_unpacked", "depth": 1, "n_commands": 0, "n_lines": 35, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction current generalizing seen with\n | nil =>\n simp at hcurrent\n | c...
[ { "name": "list_findSlotPackedNone_ne_none", "text": "private theorem list_findSlotPackedNone_ne_none\n {seen : List (Nat × String × Option PackedBits)}\n {slot : Nat}\n (hmem : slot ∈ seen.map (fun entry => entry.1)) :\n (seen.find? (fun entry => entry.1 == slot && packedSlotsConflict entry.2.2...
[ { "name": "compiledStmtStep_setStorageAddr_singleSlot", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 27, "n_lines": 28, "n_chars": 1334, "n_subproofs": 1, "n_tactics": 7, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 0, "automation_...
22
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -381,13 +381,73 @@ | some conflict => some conflict | none => firstFieldWriteSlotConflictCopyFrom (writeSlots.reverse ++ seen) (idx + 1) rest +private theorem list_findSlotPackedNone_ne_none + {seen : List (Nat × String × Option PackedBits)} + {slot : Nat} + (hmem : slot ∈ seen.map (fun entr...
{ "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_848d26072a8c_39
ed6f3ddd7ac0834a
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
39
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "compiledStmtStep_setMappingUint_singleSlot_of_slotSafety_preserves", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 18, "n_lines": 192, "n_chars": 10615, "n_subproofs": 21, "n_tactics": 141, "cyclomatic": 7, "n_automation": 23, "n_rewrites": 3, "n_st...
15
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -310,6 +310,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_40
c33c4b85b9fb171b
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
40
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "compiledStmtStep_setMappingUint_singleSlot_of_slotSafety", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 21, "n_lines": 39, "n_chars": 2096, "n_subproofs": 2, "n_tactics": 11, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, ...
18
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -316,6 +316,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_41
c186e7d89ee9be7c
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
41
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
14
[ { "theorem_name": "compiledStmtStep_mstore_single", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hoffsetIRInternal := compileExprWithInternals_nil_ok hoffsetIR\n have hvalueIRInternal := compileE...
[ { "name": "compileExprWithInternals_nil_ok", "text": "private theorem compileExprWithInternals_nil_ok\n {fields : List Field} {dynamicSource : DynamicDataSource} {expr : Expr} {exprIR : YulExpr}\n (h : CompilationModel.compileExpr fields dynamicSource expr = Except.ok exprIR) :\n CompilationModel.c...
[ { "name": "compileExprList_core_ok", "fan_in": 2, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 25, "n_chars": 1179, "n_subproofs": 4, "n_tactics": 19, "cyclomatic": 4, "n_automation": 4, "n_rewrites": 0, "n_structural": 7, "automation_only": false, "...
2
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -12,6 +12,12 @@ attribute [local simp] CompilationModel.compileExprWithInternals_nil_eq +private theorem compileExprWithInternals_nil_ok + {fields : List Field} {dynamicSource : DynamicDataSource} {expr : Expr} {exprIR : YulExpr} + (h : CompilationModel.compileExpr fields dynamicSource expr = Except.ok ex...
{ "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_848d26072a8c_42
e2d300fc533028af
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
42
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
14
[ { "theorem_name": "compiledStmtStep_mstore_single", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hoffsetIRInternal := compileExprWithInternals_nil_ok hoffsetIR\n have hvalueIRInternal := compileE...
[ { "name": "compileExprWithInternals_nil_ok", "text": "private theorem compileExprWithInternals_nil_ok\n {fields : List Field} {dynamicSource : DynamicDataSource} {expr : Expr} {exprIR : YulExpr}\n (h : CompilationModel.compileExpr fields dynamicSource expr = Except.ok exprIR) :\n CompilationModel.c...
[ { "name": "compileStmt_emit_scalar_supported_ok", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 3, "n_lines": 43, "n_chars": 2096, "n_subproofs": 7, "n_tactics": 32, "cyclomatic": 5, "n_automation": 5, "n_rewrites": 0, "n_structural": 7, "automation_only":...
3
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -12,6 +12,12 @@ attribute [local simp] CompilationModel.compileExprWithInternals_nil_eq +private theorem compileExprWithInternals_nil_ok + {fields : List Field} {dynamicSource : DynamicDataSource} {expr : Expr} {exprIR : YulExpr} + (h : CompilationModel.compileExpr fields dynamicSource expr = Except.ok ex...
{ "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_848d26072a8c_43
966b0fafd47164a0
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
43
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
4
[ { "theorem_name": "compileExprList_core_ok", "depth": 1, "n_commands": 0, "n_lines": 19, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction exprs with\n | nil =>\n exact ⟨[], by\n simp [CompilationModel.compileExprList, Compilation...
[ { "name": "compileExprListWithInternals_nil_ok", "text": "private theorem compileExprListWithInternals_nil_ok\n {fields : List Field} {dynamicSource : DynamicDataSource} {exprs : List Expr}\n {exprIRs : List YulExpr}\n (h : CompilationModel.compileExprList fields dynamicSource exprs = Except.ok exp...
[ { "name": "eventHeadStepBridgeCatalog_of_semanticBridgeCatalog", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 45, "n_chars": 1288, "n_subproofs": 0, "n_tactics": 35, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 5, "au...
4
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -18,6 +18,14 @@ CompilationModel.compileExprWithInternals fields dynamicSource [] expr = Except.ok exprIR := by simpa [CompilationModel.compileExprWithInternals_nil_eq] using h +private theorem compileExprListWithInternals_nil_ok + {fields : List Field} {dynamicSource : DynamicDataSource} {exprs : 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_848d26072a8c_44
dce41d71dcff6866
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
44
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
4
[ { "theorem_name": "compileExprList_core_ok", "depth": 1, "n_commands": 0, "n_lines": 19, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction exprs with\n | nil =>\n exact ⟨[], by\n simp [CompilationModel.compileExprList, Compilation...
[ { "name": "compileExprListWithInternals_nil_ok", "text": "private theorem compileExprListWithInternals_nil_ok\n {fields : List Field} {dynamicSource : DynamicDataSource} {exprs : List Expr}\n {exprIRs : List YulExpr}\n (h : CompilationModel.compileExprList fields dynamicSource exprs = Except.ok exp...
[ { "name": "eval_compileExprList_core_of_scope", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 4, "n_lines": 51, "n_chars": 2635, "n_subproofs": 5, "n_tactics": 33, "cyclomatic": 7, "n_automation": 8, "n_rewrites": 1, "n_structural": 13, "automation_only": ...
4
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -18,6 +18,14 @@ CompilationModel.compileExprWithInternals fields dynamicSource [] expr = Except.ok exprIR := by simpa [CompilationModel.compileExprWithInternals_nil_eq] using h +private theorem compileExprListWithInternals_nil_ok + {fields : List Field} {dynamicSource : DynamicDataSource} {exprs : 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_848d26072a8c_45
f51a8d94319bac9f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
45
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "evalIRExpr_mapping2WordTarget_of_eval", "depth": 1, "n_commands": 0, "n_lines": 25, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hMappingSlot2Eval :\n evalIRExpr state\n (YulExpr.call \"mappingSlot\"\n [...
[ { "name": "evalIRExpr_mappingSlot2_of_eval", "text": "private theorem evalIRExpr_mappingSlot2_of_eval\n {state : IRState} {slot key1Nat key2Nat : Nat}\n {key1IR key2IR : YulExpr}\n (hkey1 : evalIRExpr state key1IR = some key1Nat)\n (hkey2 : evalIRExpr state key2IR = some key2Nat) :\n evalIREx...
[ { "name": "evalIRExpr_mapping2WordTarget_of_eval", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 5, "n_lines": 37, "n_chars": 1749, "n_subproofs": 3, "n_tactics": 25, "cyclomatic": 1, "n_automation": 3, "n_rewrites": 1, "n_structural": 0, "automation_only"...
3
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -996,6 +996,26 @@ else state.transientStorage slot } := by simp [execIRStmt, hslot, hvalue] +private theorem evalIRExpr_mappingSlot2_of_eval + {state : IRState} {slot key1Nat key2Nat : Nat} + {key1IR key2IR : YulExpr} + (hkey1 : evalIRExpr state key1IR = some key1Nat) + (hkey2 : evalIRE...
{ "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_848d26072a8c_46
3165f16d9764a685
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
46
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "compiledStmtStep_setMappingChain_singleSlot_of_slotSafety_preserves", "fan_in": 1, "n_deps_direct": 7, "n_deps_transitive": 27, "n_lines": 220, "n_chars": 11533, "n_subproofs": 24, "n_tactics": 157, "cyclomatic": 9, "n_automation": 26, "n_rewrites": 2, "n_s...
21
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -338,6 +338,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_47
d216432b1843e835
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
47
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
6
[ { "theorem_name": "compiledStmtStep_setMappingUint_singleSlot_of_slotSafety_preserves", "depth": 1, "n_commands": 0, "n_lines": 142, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro runtime state extraFuel hexact hscope hbounded hruntime hslack\n...
[ { "name": "runtimeStateMatchesIR_writeTransientTarget", "text": "private theorem runtimeStateMatchesIR_writeTransientTarget\n {fields : List Field}\n {runtime : SourceSemantics.RuntimeState}\n {state : IRState}\n {target value : Nat}\n (hruntime : FunctionBody.runtimeStateMatchesIR fields run...
[ { "name": "compiledStmtStep_setMappingChain_singleSlot_of_slotSafety", "fan_in": 0, "n_deps_direct": 4, "n_deps_transitive": 29, "n_lines": 43, "n_chars": 2278, "n_subproofs": 2, "n_tactics": 11, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, ...
23
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -885,6 +885,40 @@ rest value +private theorem runtimeStateMatchesIR_writeTransientTarget + {fields : List Field} + {runtime : SourceSemantics.RuntimeState} + {state : IRState} + {target value : Nat} + (hruntime : FunctionBody.runtimeStateMatchesIR fields runtime state) + (hvalue...
{ "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_848d26072a8c_48
556fa1637638b3a3
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
48
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "compiledStmtStep_setMapping_singleSlot_of_slotSafety_preserves", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 18, "n_lines": 192, "n_chars": 10589, "n_subproofs": 21, "n_tactics": 141, "cyclomatic": 7, "n_automation": 23, "n_rewrites": 3, "n_struct...
15
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -310,6 +310,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_49
876efbfba3dc76fa
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
49
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "compiledStmtStep_setMapping_singleSlot_of_slotSafety", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 21, "n_lines": 39, "n_chars": 2084, "n_subproofs": 2, "n_tactics": 11, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "...
18
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -316,6 +316,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_50
0c8a25d2385c3add
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
50
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "compiledStmtStep_setMappingWord_singleSlot_of_slotSafety_preserves", "fan_in": 2, "n_deps_direct": 9, "n_deps_transitive": 25, "n_lines": 224, "n_chars": 12626, "n_subproofs": 22, "n_tactics": 165, "cyclomatic": 7, "n_automation": 26, "n_rewrites": 5, "n_st...
16
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -339,6 +339,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_51
8b161029ad4a4567
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
51
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "runtimeStateMatchesIR_writeAddressKeyedMappingWordSlot", "depth": 1, "n_commands": 0, "n_lines": 30, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases hruntime with\n ⟨hstorage, htransient, hsender, hmsgValue, hthis, htimest...
[ { "name": "encodeStorageAt_writeAddressKeyedMappingWordSlots_singleton_eq_written", "text": "private theorem encodeStorageAt_writeAddressKeyedMappingWordSlots_singleton_eq_written\n {fields : List Field}\n {world : Verity.ContractState}\n {slot key wordOffset value : Nat}\n (hresolved :\n f...
[ { "name": "compiledStmtStep_setMappingWord_singleSlot_of_slotSafety", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 28, "n_lines": 42, "n_chars": 2263, "n_subproofs": 2, "n_tactics": 11, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, ...
19
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -780,6 +780,56 @@ SourceSemantics.encodeStorageAt fields world slot = (world.storageAddr slot).val := by simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, haddr] +private theorem encodeStorageAt_writeAddressKeyedMappingWordSlots_singleton_eq_written + {fields : List Field} + {world : Ve...
{ "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_848d26072a8c_53
b8234ee0df341672
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
53
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "compiledStmtStep_setStructMember_singleSlot_of_slotSafety_preserves", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 26, "n_lines": 78, "n_chars": 4172, "n_subproofs": 1, "n_tactics": 16, "cyclomatic": 5, "n_automation": 3, "n_rewrites": 1, "n_struct...
17
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -339,6 +339,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_54
a35f2a11e03a626f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
54
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
6
[ { "theorem_name": "compiledStmtStep_setMappingUint_singleSlot_of_slotSafety_preserves", "depth": 1, "n_commands": 0, "n_lines": 142, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro runtime state extraFuel hexact hscope hbounded hruntime hslack\n...
[ { "name": "runtimeStateMatchesIR_writeTransientTarget", "text": "private theorem runtimeStateMatchesIR_writeTransientTarget\n {fields : List Field}\n {runtime : SourceSemantics.RuntimeState}\n {state : IRState}\n {target value : Nat}\n (hruntime : FunctionBody.runtimeStateMatchesIR fields run...
[ { "name": "compiledStmtStep_setStructMember_singleSlot_of_slotSafety", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 29, "n_lines": 50, "n_chars": 2674, "n_subproofs": 2, "n_tactics": 13, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, ...
20
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -898,6 +898,40 @@ rest value +private theorem runtimeStateMatchesIR_writeTransientTarget + {fields : List Field} + {runtime : SourceSemantics.RuntimeState} + {state : IRState} + {target value : Nat} + (hruntime : FunctionBody.runtimeStateMatchesIR fields runtime state) + (hvalue...
{ "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_848d26072a8c_55
9e4fc1664b8307f5
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
55
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "compiledStmtStep_setMapping2_singleSlot_of_slotSafety_preserves", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 18, "n_lines": 232, "n_chars": 13180, "n_subproofs": 23, "n_tactics": 169, "cyclomatic": 8, "n_automation": 27, "n_rewrites": 4, "n_struc...
15
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -310,6 +310,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_56
f231c26a5ce32a1c
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
56
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "runtimeStateMatchesIR_writeAddressKeyedMapping2Slot", "depth": 1, "n_commands": 0, "n_lines": 28, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases hruntime with\n ⟨hstorage, htransient, hsender, hmsgValue, hthis, htimestamp...
[ { "name": "encodeStorageAt_writeAddressKeyedMapping2Slots_singleton_eq_written", "text": "private theorem encodeStorageAt_writeAddressKeyedMapping2Slots_singleton_eq_written\n {fields : List Field}\n {world : Verity.ContractState}\n {slot key1 key2 value : Nat}\n (hresolved :\n findResolved...
[ { "name": "compiledStmtStep_setMapping2_singleSlot_of_slotSafety", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 21, "n_lines": 48, "n_chars": 2726, "n_subproofs": 3, "n_tactics": 13, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, ...
18
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -839,6 +839,62 @@ · simp [SourceSemantics.writeAddressKeyedMapping2Slots] · simp [SourceSemantics.writeAddressKeyedMapping2Slots] +private theorem encodeStorageAt_writeAddressKeyedMapping2Slots_singleton_eq_written + {fields : List Field} + {world : Verity.ContractState} + {slot key1 key2 va...
{ "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_848d26072a8c_57
bc434ae629a66d07
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
57
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
12
[ { "theorem_name": "encodeStorageAt_eq_storage_of_resolvedSlot", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n simpa [encodeStorageAt_eq_copy, encodeStorageAtCopy, hresolved, hnotAddr, hnotDyn]", "n_char...
[ { "name": "encodeStorageAt_eq_copy", "text": "private theorem encodeStorageAt_eq_copy\n {fields : List Field}\n {world : Verity.ContractState}\n {slot : Nat} :\n SourceSemantics.encodeStorageAt fields world slot =\n encodeStorageAtCopy fields world slot := by\n simp only [SourceSemantics.e...
[ { "name": "compiledStmtStep_setMapping2Word_singleSlot_of_slotSafety_preserves", "fan_in": 2, "n_deps_direct": 9, "n_deps_transitive": 27, "n_lines": 279, "n_chars": 16151, "n_subproofs": 26, "n_tactics": 207, "cyclomatic": 8, "n_automation": 28, "n_rewrites": 8, "n_s...
19
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -313,6 +313,17 @@ simp only [findDynamicArrayElementAtSlotCopy] exact findDynamicArrayElementAtSlotCopy_go_wordNormalize fields world 0 targetSlot +private theorem encodeStorageAt_eq_copy + {fields : List Field} + {world : Verity.ContractState} + {slot : Nat} : + SourceSemantics.encodeStorageAt 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_848d26072a8c_58
4cc45e00c5411e5d
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
58
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
6
[ { "theorem_name": "compiledStmtStep_setMappingUint_singleSlot_of_slotSafety_preserves", "depth": 1, "n_commands": 0, "n_lines": 142, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro runtime state extraFuel hexact hscope hbounded hruntime hslack\n...
[ { "name": "runtimeStateMatchesIR_writeTransientTarget", "text": "private theorem runtimeStateMatchesIR_writeTransientTarget\n {fields : List Field}\n {runtime : SourceSemantics.RuntimeState}\n {state : IRState}\n {target value : Nat}\n (hruntime : FunctionBody.runtimeStateMatchesIR fields run...
[ { "name": "compiledStmtStep_setMapping2Word_singleSlot_of_slotSafety", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 30, "n_lines": 49, "n_chars": 2812, "n_subproofs": 3, "n_tactics": 13, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, ...
22
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -925,6 +925,40 @@ rest value +private theorem runtimeStateMatchesIR_writeTransientTarget + {fields : List Field} + {runtime : SourceSemantics.RuntimeState} + {state : IRState} + {target value : Nat} + (hruntime : FunctionBody.runtimeStateMatchesIR fields runtime state) + (hvalue...
{ "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_848d26072a8c_59
39e1e7e9f35c9887
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
59
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "runtimeStateMatchesIR_writeAddressKeyedMapping2WordSlot", "depth": 1, "n_commands": 0, "n_lines": 31, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases hruntime with\n ⟨hstorage, htransient, hsender, hmsgValue, hthis, htimes...
[ { "name": "encodeStorageAt_writeAddressKeyedMapping2WordSlots_singleton_other", "text": "private theorem encodeStorageAt_writeAddressKeyedMapping2WordSlots_singleton_other\n {fields : List Field}\n {world : Verity.ContractState}\n {slot key1 key2 wordOffset query value : Nat}\n (hneq :\n qu...
[ { "name": "compiledStmtStep_setStructMember2_singleSlot_of_slotSafety_preserves", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 28, "n_lines": 85, "n_chars": 4957, "n_subproofs": 1, "n_tactics": 19, "cyclomatic": 7, "n_automation": 3, "n_rewrites": 1, "n_struc...
20
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -802,6 +802,55 @@ simpa [mappingWordTargetSlot, SourceSemantics.wordNormalize, Compiler.Proofs.abstractMappingSlot_eq_solidity] using hlt +private theorem encodeStorageAt_writeAddressKeyedMapping2WordSlots_singleton_other + {fields : List Field} + {world : Verity.ContractState} + {slot key1 key2 w...
{ "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_848d26072a8c_60
1f330491ac5d1a12
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
60
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
6
[ { "theorem_name": "compiledStmtStep_setMappingUint_singleSlot_of_slotSafety_preserves", "depth": 1, "n_commands": 0, "n_lines": 142, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro runtime state extraFuel hexact hscope hbounded hruntime hslack\n...
[ { "name": "runtimeStateMatchesIR_writeTransientTarget", "text": "private theorem runtimeStateMatchesIR_writeTransientTarget\n {fields : List Field}\n {runtime : SourceSemantics.RuntimeState}\n {state : IRState}\n {target value : Nat}\n (hruntime : FunctionBody.runtimeStateMatchesIR fields run...
[ { "name": "compiledStmtStep_setStructMember2_singleSlot_of_slotSafety", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 31, "n_lines": 48, "n_chars": 3076, "n_subproofs": 3, "n_tactics": 14, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 0, "n_structural": 1,...
23
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -925,6 +925,40 @@ rest value +private theorem runtimeStateMatchesIR_writeTransientTarget + {fields : List Field} + {runtime : SourceSemantics.RuntimeState} + {state : IRState} + {target value : Nat} + (hruntime : FunctionBody.runtimeStateMatchesIR fields runtime state) + (hvalue...
{ "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_848d26072a8c_61
4188872ddfe8f059
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
61
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
2
[ { "theorem_name": "firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_singleton", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact\n firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member\n ...
[ { "name": "firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member", "text": "private theorem firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member\n {seen : List (Nat × String × Option PackedBits)}\n {fields : List Field}\n {idx : Nat}\n {fieldName : String}\n {f : Field}\n {s...
[ { "name": "compiledStmtStep_setStorage_aliasSlots", "fan_in": 1, "n_deps_direct": 6, "n_deps_transitive": 30, "n_lines": 178, "n_chars": 8970, "n_subproofs": 26, "n_tactics": 142, "cyclomatic": 5, "n_automation": 22, "n_rewrites": 4, "n_structural": 13, "automatio...
25
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -467,6 +467,68 @@ exact (ih hseen' hrest' hunpackedRest) hnone · rw [hfind] at hnone; simp at hnone +private theorem firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member + {seen : List (Nat × String × Option PackedBits)} + {fields : List Field} + {idx : Nat} + {fieldName : S...
{ "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_848d26072a8c_62
5af480282371e01e
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
62
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
2
[ { "theorem_name": "findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_singleton", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact\n findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_memb...
[ { "name": "findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_member", "text": "theorem findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_member\n {fields : List Field}\n {fieldName : String}\n {f : Field}\n {slot : Nat}\n {writeSlots : List Nat}\n {targetSlot : Nat}\n (hno...
[ { "name": "compiledStmtStep_setStorage_of_validateIdentifierShapes", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 41, "n_lines": 73, "n_chars": 2940, "n_subproofs": 0, "n_tactics": 41, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 4, ...
35
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -674,6 +674,32 @@ | some _ => simp [hc] +theorem findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_member + {fields : List Field} + {fieldName : String} + {f : Field} + {slot : Nat} + {writeSlots : List Nat} + {targetSlot : Nat} + (hnoConflict : firstFieldWriteSlotConflict...
{ "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_848d26072a8c_63
92c9808cab04b41c
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
63
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
2
[ { "theorem_name": "findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_singleton", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact\n findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_memb...
[ { "name": "findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_member", "text": "theorem findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_member\n {fields : List Field}\n {fieldName : String}\n {f : Field}\n {slot : Nat}\n {writeSlots : List Nat}\n {targetSlot : Nat}\n (hno...
[ { "name": "compiledStmtStep_setStorage_of_validateIdentifierShapes_of_scopeDiscipline", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 42, "n_lines": 88, "n_chars": 3627, "n_subproofs": 3, "n_tactics": 52, "cyclomatic": 6, "n_automation": 5, "n_rewrites": 2, "n...
36
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -674,6 +674,32 @@ | some _ => simp [hc] +theorem findResolvedFieldAtSlotCopy_of_findFieldWithResolvedSlot_member + {fields : List Field} + {fieldName : String} + {f : Field} + {slot : Nat} + {writeSlots : List Nat} + {targetSlot : Nat} + (hnoConflict : firstFieldWriteSlotConflict...
{ "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_848d26072a8c_64
46fa4d73ae1b6246
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
64
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
2
[ { "theorem_name": "runtimeStateMatchesIR_writeUintSlots", "depth": 1, "n_commands": 0, "n_lines": 41, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases hruntime with\n ⟨hstorage, htransient, hsender, hmsgValue, hthis, htimestamp, hblock, hchai...
[ { "name": "abstractStoreStorageOrMappingMany_eq", "text": "private theorem abstractStoreStorageOrMappingMany_eq\n {storage : Compiler.Proofs.IRGeneration.IRStorageSlot →\n Compiler.Proofs.IRGeneration.IRStorageWord}\n {slots : List Nat}\n {value : Nat} {query : Compiler.Proofs.IRGeneration.IRS...
[ { "name": "compiledStmtStep_setStorage_of_validateIdentifierShapes_of_validateFunctionIdentifierReferences", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 43, "n_lines": 59, "n_chars": 2634, "n_subproofs": 0, "n_tactics": 20, "cyclomatic": 1, "n_automation": 1, "n...
37
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -804,6 +804,26 @@ rest value +private theorem abstractStoreStorageOrMappingMany_eq + {storage : Compiler.Proofs.IRGeneration.IRStorageSlot → + Compiler.Proofs.IRGeneration.IRStorageWord} + {slots : List Nat} + {value : Nat} {query : Compiler.Proofs.IRGeneration.IRStorageSlot} : + ...
{ "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_848d26072a8c_65
9252f946aca1f4a6
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
65
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
2
[ { "theorem_name": "runtimeStateMatchesIR_writeUintSlots", "depth": 1, "n_commands": 0, "n_lines": 41, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rcases hruntime with\n ⟨hstorage, htransient, hsender, hmsgValue, hthis, htimestamp, hblock, hchai...
[ { "name": "abstractStoreStorageOrMappingMany_eq", "text": "private theorem abstractStoreStorageOrMappingMany_eq\n {storage : Compiler.Proofs.IRGeneration.IRStorageSlot →\n Compiler.Proofs.IRGeneration.IRStorageWord}\n {slots : List Nat}\n {value : Nat} {query : Compiler.Proofs.IRGeneration.IRS...
[ { "name": "compiledStmtStep_setStorage_of_validateIdentifierShapes_of_validateFunctionIdentifierReferences_of_compileStmtList_of_bodySurface", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 44, "n_lines": 62, "n_chars": 3566, "n_subproofs": 6, "n_tactics": 28, "cyclomatic"...
38
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -804,6 +804,26 @@ rest value +private theorem abstractStoreStorageOrMappingMany_eq + {storage : Compiler.Proofs.IRGeneration.IRStorageSlot → + Compiler.Proofs.IRGeneration.IRStorageWord} + {slots : List Nat} + {value : Nat} {query : Compiler.Proofs.IRGeneration.IRStorageSlot} : + ...
{ "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_848d26072a8c_66
6ce611d588899001
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
66
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
14
[ { "theorem_name": "compiledStmtStep_mstore_single", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hoffsetIRInternal := compileExprWithInternals_nil_ok hoffsetIR\n have hvalueIRInternal := compileE...
[ { "name": "compileExprWithInternals_nil_ok", "text": "private theorem compileExprWithInternals_nil_ok\n {fields : List Field} {dynamicSource : DynamicDataSource} {expr : Expr} {exprIR : YulExpr}\n (h : CompilationModel.compileExpr fields dynamicSource expr = Except.ok exprIR) :\n CompilationModel.c...
[ { "name": "compiledStmtStep_ite", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 248, "n_chars": 13312, "n_subproofs": 32, "n_tactics": 230, "cyclomatic": 8, "n_automation": 29, "n_rewrites": 20, "n_structural": 25, "automation_only": false, ...
2
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -12,6 +12,12 @@ attribute [local simp] CompilationModel.compileExprWithInternals_nil_eq +private theorem compileExprWithInternals_nil_ok + {fields : List Field} {dynamicSource : DynamicDataSource} {expr : Expr} {exprIR : YulExpr} + (h : CompilationModel.compileExpr fields dynamicSource expr = Except.ok ex...
{ "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_848d26072a8c_67
91aebdb5b7e89c96
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
67
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "stmtListTouchesUnsupportedContractSurfaceExceptMappingWrites_eq_false_of_contractSurface", "depth": 1, "n_commands": 0, "n_lines": 8, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction stmts with\n | nil => simp [stmtListTou...
[ { "name": "stmtTouchesUnsupportedContractSurfaceExceptMappingWrites_eq_false_of_contractSurface", "text": "private theorem stmtTouchesUnsupportedContractSurfaceExceptMappingWrites_eq_false_of_contractSurface\n {stmt : Stmt}\n (hsurface : stmtTouchesUnsupportedContractSurface stmt = false) :\n stmtT...
[ { "name": "stmtListTouchesUnsupportedContractSurfaceExceptMappingWrites_eq_false_of_contractSurface", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 13, "n_chars": 661, "n_subproofs": 1, "n_tactics": 8, "cyclomatic": 2, "n_automation": 2, "n_rewrites"...
1
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -1925,13 +1925,25 @@ simp [stmtStepMatchesIRExec] exact ⟨hruntime', hexact', hbounded, hscope'⟩ +private theorem stmtTouchesUnsupportedContractSurfaceExceptMappingWrites_eq_false_of_contractSurface + {stmt : Stmt} + (hsurface : stmtTouchesUnsupportedContractSurface stmt = false) : + stmtTouc...
{ "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_848d26072a8c_68
f24a4f10592d8415
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
68
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
2
[ { "theorem_name": "firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member", "depth": 1, "n_commands": 0, "n_lines": 45, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction fields generalizing seen idx with\n | nil => simp [findFieldWithRe...
[ { "name": "fieldWriteEntriesAt_alias_mem", "text": "private theorem fieldWriteEntriesAt_alias_mem\n {idx : Nat} {field : Field} {slot : Nat}\n (hmem : slot ∈ field.aliasSlots) :\n SourceSemantics.wordNormalize slot ∈\n (fieldWriteEntriesAt idx field).map (fun entry => entry.1) := by\n obtai...
[ { "name": "compiledStmtStep_assignStorageField", "fan_in": 1, "n_deps_direct": 5, "n_deps_transitive": 24, "n_lines": 69, "n_chars": 4251, "n_subproofs": 7, "n_tactics": 64, "cyclomatic": 5, "n_automation": 18, "n_rewrites": 8, "n_structural": 9, "automation_only"...
18
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -309,6 +309,44 @@ · obtain ⟨i, hi⟩ := ih (start := start + 1) hmem exact ⟨i, by simp [List.zipIdx, hi]⟩ +private theorem fieldWriteEntriesAt_alias_mem + {idx : Nat} {field : Field} {slot : Nat} + (hmem : slot ∈ field.aliasSlots) : + SourceSemantics.wordNormalize slot ∈ + (fieldWriteEn...
{ "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_848d26072a8c_69
843895de6034f8f0
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
69
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
2
[ { "theorem_name": "firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member", "depth": 1, "n_commands": 0, "n_lines": 45, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction fields generalizing seen idx with\n | nil => simp [findFieldWithRe...
[ { "name": "fieldWriteEntriesAt_alias_mem", "text": "private theorem fieldWriteEntriesAt_alias_mem\n {idx : Nat} {field : Field} {slot : Nat}\n (hmem : slot ∈ field.aliasSlots) :\n SourceSemantics.wordNormalize slot ∈\n (fieldWriteEntriesAt idx field).map (fun entry => entry.1) := by\n obtai...
[ { "name": "stmtListGenericCore_singleton_assignStorageField", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 25, "n_lines": 15, "n_chars": 604, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automa...
19
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -309,6 +309,44 @@ · obtain ⟨i, hi⟩ := ih (start := start + 1) hmem exact ⟨i, by simp [List.zipIdx, hi]⟩ +private theorem fieldWriteEntriesAt_alias_mem + {idx : Nat} {field : Field} {slot : Nat} + (hmem : slot ∈ field.aliasSlots) : + SourceSemantics.wordNormalize slot ∈ + (fieldWriteEn...
{ "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_848d26072a8c_70
eedf2ed12d1c359c
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
70
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
14
[ { "theorem_name": "compiledStmtStep_mstore_single", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hoffsetIRInternal := compileExprWithInternals_nil_ok hoffsetIR\n have hvalueIRInternal := compileE...
[ { "name": "compileExprWithInternals_nil_ok", "text": "private theorem compileExprWithInternals_nil_ok\n {fields : List Field} {dynamicSource : DynamicDataSource} {expr : Expr} {exprIR : YulExpr}\n (h : CompilationModel.compileExpr fields dynamicSource expr = Except.ok exprIR) :\n CompilationModel.c...
[ { "name": "stmtListGenericCore_singleton_iteTerminal", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 3, "n_lines": 15, "n_chars": 659, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 2, "n_automation": 0, "n_rewrites": 0, "n_structural": 2, "automation_onl...
3
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -12,6 +12,12 @@ attribute [local simp] CompilationModel.compileExprWithInternals_nil_eq +private theorem compileExprWithInternals_nil_ok + {fields : List Field} {dynamicSource : DynamicDataSource} {expr : Expr} {exprIR : YulExpr} + (h : CompilationModel.compileExpr fields dynamicSource expr = Except.ok ex...
{ "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_848d26072a8c_71
cc93062013058d97
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
71
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "firstInFieldConflictCopy_ne_none_of_seen_slot_unpacked", "depth": 1, "n_commands": 0, "n_lines": 35, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction current generalizing seen with\n | nil =>\n simp at hcurrent\n | c...
[ { "name": "list_findSlotPackedNone_ne_none", "text": "private theorem list_findSlotPackedNone_ne_none\n {seen : List (Nat × String × Option PackedBits)}\n {slot : Nat}\n (hmem : slot ∈ seen.map (fun entry => entry.1)) :\n (seen.find? (fun entry => entry.1 == slot && packedSlotsConflict entry.2.2...
[ { "name": "stmtListGenericCore_singleton_setStorage_singleSlot", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 29, "n_lines": 34, "n_chars": 1288, "n_subproofs": 0, "n_tactics": 21, "cyclomatic": 3, "n_automation": 7, "n_rewrites": 0, "n_structural": 4, "a...
23
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -397,13 +397,73 @@ | some conflict => some conflict | none => firstFieldWriteSlotConflictCopyFrom (writeSlots.reverse ++ seen) (idx + 1) rest +private theorem list_findSlotPackedNone_ne_none + {seen : List (Nat × String × Option PackedBits)} + {slot : Nat} + (hmem : slot ∈ seen.map (fun entr...
{ "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_848d26072a8c_72
540728b25bf44833
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
72
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "firstInFieldConflictCopy_ne_none_of_seen_slot_unpacked", "depth": 1, "n_commands": 0, "n_lines": 35, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction current generalizing seen with\n | nil =>\n simp at hcurrent\n | c...
[ { "name": "list_findSlotPackedNone_ne_none", "text": "private theorem list_findSlotPackedNone_ne_none\n {seen : List (Nat × String × Option PackedBits)}\n {slot : Nat}\n (hmem : slot ∈ seen.map (fun entry => entry.1)) :\n (seen.find? (fun entry => entry.1 == slot && packedSlotsConflict entry.2.2...
[ { "name": "stmtListGenericCore_singleton_setStorageAddr_singleSlot", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 29, "n_lines": 25, "n_chars": 1011, "n_subproofs": 0, "n_tactics": 12, "cyclomatic": 2, "n_automation": 1, "n_rewrites": 0, "n_structural": 2, ...
23
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -381,13 +381,73 @@ | some conflict => some conflict | none => firstFieldWriteSlotConflictCopyFrom (writeSlots.reverse ++ seen) (idx + 1) rest +private theorem list_findSlotPackedNone_ne_none + {seen : List (Nat × String × Option PackedBits)} + {slot : Nat} + (hmem : slot ∈ seen.map (fun entr...
{ "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_848d26072a8c_75
e8da6ae65a447190
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
75
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member", "depth": 1, "n_commands": 0, "n_lines": 45, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction fields generalizing seen idx with\n | nil => simp [findFieldWithRe...
[ { "name": "firstInFieldConflictCopy_ne_none_of_seen_slot_unpacked", "text": "private theorem firstInFieldConflictCopy_ne_none_of_seen_slot_unpacked\n {seen current : List (Nat × String × Option PackedBits)}\n {slot : Nat}\n (hseen : slot ∈ seen.map (fun entry => entry.1))\n (hcurrent : slot ∈ cu...
[ { "name": "stmtListGenericCore_of_supportedStmtList_setStorageSingleSlot_of_surface", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 30, "n_lines": 21, "n_chars": 771, "n_subproofs": 0, "n_tactics": 7, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_str...
24
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -423,6 +423,48 @@ · simp · exact hih +private theorem firstInFieldConflictCopy_ne_none_of_seen_slot_unpacked + {seen current : List (Nat × String × Option PackedBits)} + {slot : Nat} + (hseen : slot ∈ seen.map (fun entry => entry.1)) + (hcurrent : slot ∈ current.map (fun entry => entr...
{ "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_848d26072a8c_76
da08cf166bb4d54a
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Storage.lean
Storage
76
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
97
1
[ { "theorem_name": "firstFieldWriteSlotConflictCopyFrom_some_of_seen_slot_member", "depth": 1, "n_commands": 0, "n_lines": 45, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction fields generalizing seen idx with\n | nil => simp [findFieldWithRe...
[ { "name": "firstInFieldConflictCopy_ne_none_of_seen_slot_unpacked", "text": "private theorem firstInFieldConflictCopy_ne_none_of_seen_slot_unpacked\n {seen current : List (Nat × String × Option PackedBits)}\n {slot : Nat}\n (hseen : slot ∈ seen.map (fun entry => entry.1))\n (hcurrent : slot ∈ cu...
[ { "name": "stmtListGenericCore_of_supportedStmtList_setStorageAddrSingleSlot_of_surface", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 30, "n_lines": 21, "n_chars": 783, "n_subproofs": 0, "n_tactics": 7, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n...
24
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
import Compiler.Proofs.IRGeneration.GenericInduction.ExprStmt 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 attribute [local simp] Compi...
@@ -407,6 +407,48 @@ · simp · exact hih +private theorem firstInFieldConflictCopy_ne_none_of_seen_slot_unpacked + {seen current : List (Nat × String × Option PackedBits)} + {slot : Nat} + (hseen : slot ∈ seen.map (fun entry => entry.1)) + (hcurrent : slot ∈ current.map (fun entry => entr...
{ "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_111066ac5beb_0
74c8d9b10991847e
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Core/Uint256.lean
Uint256
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
4
[ { "theorem_name": "max_uint256_succ_eq_modulus", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have h2 : (0 : Nat) < (2 : Nat) := by decide\n have hle : 1 ≤ (2 ^ 256) := by\n exact Nat.succ_le_of_lt (Na...
[ { "name": "sub_add_cancel", "text": "theorem sub_add_cancel (a b : Uint256) : (a + b - b) = a :=\n sub_add_cancel_of_lt a.isLt b.isLt\n\n", "fan_in": 4, "n_lines": 4, "n_chars": 98, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n...
[ { "name": "max_uint256_succ_eq_modulus", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 7, "n_lines": 8, "n_chars": 333, "n_subproofs": 3, "n_tactics": 6, "cyclomatic": 1, "n_automation": 2, "n_rewrites": 0, "n_structural": 1, "automation_only": false, ...
3
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
@@ -37,7 +37,7 @@ have h2 : (0 : Nat) < (2 : Nat) := by decide have hle : 1 ≤ (2 ^ 256) := by exact Nat.succ_le_of_lt (Nat.pow_pos (a := 2) (n := 256) h2) - have h : (2 ^ 256 - 1) + 1 = 2 ^ 256 := sorry + have h : (2 ^ 256 - 1) + 1 = 2 ^ 256 := Nat.sub_add_cancel hle simp [MAX_UINT256, modulus, UINT256_...
{ "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_111066ac5beb_1
7a51c88a91b23a5a
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Core/Uint256.lean
Uint256
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
4
[ { "theorem_name": "max_uint256_succ_eq_modulus", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have h2 : (0 : Nat) < (2 : Nat) := by decide\n have hle : 1 ≤ (2 ^ 256) := by\n exact Nat.succ_le_of_lt (Na...
[ { "name": "sub_add_cancel", "text": "theorem sub_add_cancel (a b : Uint256) : (a + b - b) = a :=\n sub_add_cancel_of_lt a.isLt b.isLt\n\n", "fan_in": 4, "n_lines": 4, "n_chars": 98, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n...
[ { "name": "val_le_max", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 8, "n_lines": 11, "n_chars": 304, "n_subproofs": 2, "n_tactics": 9, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 3, "automation_only": false, "max_nesting": 8...
4
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
@@ -37,7 +37,7 @@ have h2 : (0 : Nat) < (2 : Nat) := by decide have hle : 1 ≤ (2 ^ 256) := by exact Nat.succ_le_of_lt (Nat.pow_pos (a := 2) (n := 256) h2) - have h : (2 ^ 256 - 1) + 1 = 2 ^ 256 := sorry + have h : (2 ^ 256 - 1) + 1 = 2 ^ 256 := Nat.sub_add_cancel hle simp [MAX_UINT256, modulus, UINT256_...
{ "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_111066ac5beb_2
487b7f86647800b3
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Core/Uint256.lean
Uint256
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
4
[ { "theorem_name": "max_uint256_succ_eq_modulus", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have h2 : (0 : Nat) < (2 : Nat) := by decide\n have hle : 1 ≤ (2 ^ 256) := by\n exact Nat.succ_le_of_lt (Na...
[ { "name": "sub_add_cancel", "text": "theorem sub_add_cancel (a b : Uint256) : (a + b - b) = a :=\n sub_add_cancel_of_lt a.isLt b.isLt\n\n", "fan_in": 4, "n_lines": 4, "n_chars": 98, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n...
[ { "name": "sub_add_cancel_left", "fan_in": 0, "n_deps_direct": 4, "n_deps_transitive": 7, "n_lines": 56, "n_chars": 1950, "n_subproofs": 8, "n_tactics": 53, "cyclomatic": 1, "n_automation": 13, "n_rewrites": 0, "n_structural": 13, "automation_only": false, "ma...
3
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
@@ -356,12 +356,42 @@ apply ext let m : Nat := modulus by_cases h : b.val ≤ a.val - · sorry + · have hlt : a.val - b.val < m := by + exact Nat.lt_of_le_of_lt (Nat.sub_le _ _) a.isLt + have hle : a.val - b.val ≤ m := Nat.le_of_lt hlt + calc + ((a - b) + b).val + = (((a.val - b.val) % ...
{ "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_111066ac5beb_3
e6bf01f1093df4cb
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Core/Uint256.lean
Uint256
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
1
[ { "theorem_name": "sub_add_cancel", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n sub_add_cancel_of_lt a.isLt b.isLt", "n_chars": 37, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_a...
[ { "name": "sub_add_cancel_of_lt", "text": "theorem sub_add_cancel_of_lt {a b : Uint256} (ha : a.val < modulus) (hb : b.val < modulus) :\n (a + b - b) = a := by\n cases a with\n | mk a ha' =>\n cases b with\n | mk b hb' =>\n apply ext\n let m : Nat := modulus\n have ha'' : a < m := by...
[ { "name": "sub_add_cancel", "fan_in": 4, "n_deps_direct": 1, "n_deps_transitive": 7, "n_lines": 4, "n_chars": 98, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, "max_nesting":...
2
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
@@ -429,8 +429,113 @@ simp [HDiv.hDiv, div, h, ofNat] _ = 0 := by simp -theorem sub_add_cancel (a b : Uint256) : (a + b - b) = a := sorry +theorem sub_add_cancel_of_lt {a b : Uint256} (ha : a.val < modulus) (hb : b.val < modulus) : + (a + b - b) = a := by + cases a with + | mk a ha' => + cases 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_111066ac5beb_4
bb4e449acdf0b724
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Core/Uint256.lean
Uint256
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
4
[ { "theorem_name": "max_uint256_succ_eq_modulus", "depth": 1, "n_commands": 0, "n_lines": 6, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have h2 : (0 : Nat) < (2 : Nat) := by decide\n have hle : 1 ≤ (2 ^ 256) := by\n exact Nat.succ_le_of_lt (Na...
[ { "name": "sub_add_cancel", "text": "theorem sub_add_cancel (a b : Uint256) : (a + b - b) = a :=\n sub_add_cancel_of_lt a.isLt b.isLt\n\n", "fan_in": 4, "n_lines": 4, "n_chars": 98, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n...
[ { "name": "add_right_cancel", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 7, "n_lines": 10, "n_chars": 247, "n_subproofs": 0, "n_tactics": 8, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural": 3, "automation_only": false, "max_nesti...
3
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
/- Core Uint256 Operations This module provides arithmetic operations with EVM semantics: - All operations wrap at 2^256 (modular arithmetic) - Division and modulo by zero return 0 (matches EVM) - Provides overflow/underflow detection predicates These operations ensure semantic equivalence between EDSL ...
@@ -356,12 +356,42 @@ apply ext let m : Nat := modulus by_cases h : b.val ≤ a.val - · sorry + · have hlt : a.val - b.val < m := by + exact Nat.lt_of_le_of_lt (Nat.sub_le _ _) a.isLt + have hle : a.val - b.val ≤ m := Nat.le_of_lt hlt + calc + ((a - b) + b).val + = (((a.val - b.val) % ...
{ "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_cdb08728ad51_0
bde1c737ba5df7c6
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "compiledStmtStepWithHelpersAndHelperIRWithInternals_internalCallAssign", "depth": 1, "n_commands": 0, "n_lines": 19, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine { compileOk := hcompile, preserves := ?_ }\n intro runtime ...
[ { "name": "compileStmt_internalCallAssign_shape_with_internals", "text": "theorem compileStmt_internalCallAssign_shape_with_internals\n {fields : List CompilationModel.Field}\n {events : List EventDef}\n {errors : List ErrorDef}\n {scope : List String}\n {internalFunctions : List FunctionSpec...
[ { "name": "compiledStmtStepWithHelpersAndHelperIRWithInternals_internalCallAssign", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 49, "n_chars": 2982, "n_subproofs": 8, "n_tactics": 24, "cyclomatic": 1, "n_automation": 8, "n_rewrites": 7, "n_stru...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 /-- Spec-functions-aware constru...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 compileStmt_internalCall...
@@ -10,6 +10,37 @@ open Compiler.CompilationModel open Compiler.Yul +theorem compileStmt_internalCallAssign_shape_with_internals + {fields : List CompilationModel.Field} + {events : List EventDef} + {errors : List ErrorDef} + {scope : List String} + {internalFunctions : List FunctionSpec} + {names...
{ "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_cdb08728ad51_1
33a7fd2ac1c10484
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "compiledStmtStepWithHelpersAndHelperIRWithInternals_internalCall", "depth": 1, "n_commands": 0, "n_lines": 19, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n refine { compileOk := hcompile, preserves := ?_ }\n intro runtime state ...
[ { "name": "compileStmt_internalCall_shape_with_internals", "text": "theorem compileStmt_internalCall_shape_with_internals\n {fields : List CompilationModel.Field}\n {events : List EventDef}\n {errors : List ErrorDef}\n {scope : List String}\n {internalFunctions : List FunctionSpec}\n {func...
[ { "name": "compiledStmtStepWithHelpersAndHelperIRWithInternals_internalCall", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 49, "n_chars": 2884, "n_subproofs": 8, "n_tactics": 24, "cyclomatic": 1, "n_automation": 8, "n_rewrites": 7, "n_structural...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 /-- Spec-functions-aware constru...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 compileStmt_internalCall...
@@ -10,6 +10,36 @@ open Compiler.CompilationModel open Compiler.Yul +theorem compileStmt_internalCall_shape_with_internals + {fields : List CompilationModel.Field} + {events : List EventDef} + {errors : List ErrorDef} + {scope : List String} + {internalFunctions : List FunctionSpec} + {functionNam...
{ "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_cdb08728ad51_2
ce4101ea17d25db3
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "directInternalHelperHeadStepBridgeCatalog_of_supportedBody_and_assignBridgeCatalog", "depth": 1, "n_commands": 0, "n_lines": 14, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n exact\n directInternalHelperHeadStepBridgeCatalog_of...
[ { "name": "directInternalHelperPerCalleeBridgeCatalog_of_supportedBody_and_assignBridgeCatalog", "text": "/-- Reassemble the full callee-local bridge catalog from the current supported\nbody witness plus the assign-only bridge half. The call half is vacuous because\n`SupportedStmtList` still excludes direct...
[ { "name": "directInternalHelperHeadStepBridgeCatalog_of_supportedBody_and_assignBridgeCatalog", "fan_in": 1, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 28, "n_chars": 1171, "n_subproofs": 0, "n_tactics": 14, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0,...
2
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -281,6 +281,25 @@ calleeName ∈ helperCallNames fn → DirectInternalHelperAssignHeadStepBridge runtimeContract spec fields calleeName +/-- Reassemble the full callee-local bridge catalog from the current supported +body witness plus the assign-only bridge half. The call half is vacuous because +`Suppor...
{ "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_cdb08728ad51_3
cb08e4831eecb217
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "directInternalHelperHeadStepCatalog_call_of_bridgeCatalog", "depth": 1, "n_commands": 0, "n_lines": 31, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro scope calleeName args hmem\n rcases hbridge.callCompile (scope := scope) ...
[ { "name": "compiledStmtStepWithHelpersAndHelperIR_internalCall", "text": "theorem compiledStmtStepWithHelpersAndHelperIR_internalCall\n {runtimeContract : IRContract}\n {spec : CompilationModel}\n {fields : List Field}\n {scope : List String}\n {calleeName : String} {args : List Expr}\n {c...
[ { "name": "directInternalHelperHeadStepCatalog_call_of_bridgeCatalog", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 48, "n_chars": 1730, "n_subproofs": 2, "n_tactics": 31, "cyclomatic": 2, "n_automation": 1, "n_rewrites": 0, "n_structural": 5, ...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 compiledStmtStepWithHelp...
@@ -10,6 +10,73 @@ open Compiler.CompilationModel open Compiler.Yul +theorem compiledStmtStepWithHelpersAndHelperIR_internalCall + {runtimeContract : IRContract} + {spec : CompilationModel} + {fields : List Field} + {scope : List String} + {calleeName : String} {args : List Expr} + {compiledIR : L...
{ "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_cdb08728ad51_4
2d7fa8964b45955c
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "directInternalHelperHeadStepCatalog_assign_of_bridgeCatalog", "depth": 1, "n_commands": 0, "n_lines": 24, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro scope names calleeName args hmem\n rcases hbridge.assignCompile (scope ...
[ { "name": "compiledStmtStepWithHelpersAndHelperIR_internalCallAssign", "text": "/-- Constructor for the helper-aware single-step interface when the head\nstatement is `Stmt.internalCallAssign`. The proof is parameterised by a single\nsource-to-IR alignment bridge that the rank-decreasing callee induction wi...
[ { "name": "directInternalHelperHeadStepCatalog_assign_of_bridgeCatalog", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 41, "n_chars": 1612, "n_subproofs": 2, "n_tactics": 24, "cyclomatic": 2, "n_automation": 1, "n_rewrites": 0, "n_structural": 5,...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 /-- Constructor for the helper-a...
@@ -10,6 +10,81 @@ open Compiler.CompilationModel open Compiler.Yul +/-- Constructor for the helper-aware single-step interface when the head +statement is `Stmt.internalCallAssign`. The proof is parameterised by a single +source-to-IR alignment bridge that the rank-decreasing callee induction will +supply. The bri...
{ "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_cdb08728ad51_5
9d3735538da801c6
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
5
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "directInternalHelperHeadStepCatalog_assign_of_bridgeCatalog", "depth": 1, "n_commands": 0, "n_lines": 24, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro scope names calleeName args hmem\n rcases hbridge.assignCompile (scope ...
[ { "name": "compiledStmtStepWithHelpersAndHelperIR_internalCallAssign", "text": "/-- Constructor for the helper-aware single-step interface when the head\nstatement is `Stmt.internalCallAssign`. The proof is parameterised by a single\nsource-to-IR alignment bridge that the rank-decreasing callee induction wi...
[ { "name": "directInternalHelperHeadStepCatalog_of_bridgeCatalog", "fan_in": 2, "n_deps_direct": 2, "n_deps_transitive": 4, "n_lines": 16, "n_chars": 801, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 3, "aut...
4
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 compiledStmtStepWithHelp...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 /-- Constructor for the helper-a...
@@ -10,6 +10,81 @@ open Compiler.CompilationModel open Compiler.Yul +/-- Constructor for the helper-aware single-step interface when the head +statement is `Stmt.internalCallAssign`. The proof is parameterised by a single +source-to-IR alignment bridge that the rank-decreasing callee induction will +supply. The bri...
{ "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_cdb08728ad51_6
3c34c3ee1cfca0ef
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
6
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "directInternalHelperHeadStepCatalog_assign_of_bridgeCatalog", "depth": 1, "n_commands": 0, "n_lines": 24, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro scope names calleeName args hmem\n rcases hbridge.assignCompile (scope ...
[ { "name": "compiledStmtStepWithHelpersAndHelperIR_internalCallAssign", "text": "/-- Constructor for the helper-aware single-step interface when the head\nstatement is `Stmt.internalCallAssign`. The proof is parameterised by a single\nsource-to-IR alignment bridge that the rank-decreasing callee induction wi...
[ { "name": "directInternalHelperHeadStepCatalog_of_perCalleeBridgeCatalog", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 6, "n_lines": 25, "n_chars": 1044, "n_subproofs": 0, "n_tactics": 13, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": ...
6
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 compiledStmtStepWithHelp...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 /-- Constructor for the helper-a...
@@ -10,6 +10,81 @@ open Compiler.CompilationModel open Compiler.Yul +/-- Constructor for the helper-aware single-step interface when the head +statement is `Stmt.internalCallAssign`. The proof is parameterised by a single +source-to-IR alignment bridge that the rank-decreasing callee induction will +supply. The bri...
{ "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_cdb08728ad51_7
672800b91532c096
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
7
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "directInternalHelperHeadStepCatalog_call_of_bridgeCatalog", "depth": 1, "n_commands": 0, "n_lines": 31, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n intro scope calleeName args hmem\n rcases hbridge.callCompile (scope := scope) ...
[ { "name": "compiledStmtStepWithHelpersAndHelperIR_internalCall", "text": "theorem compiledStmtStepWithHelpersAndHelperIR_internalCall\n {runtimeContract : IRContract}\n {spec : CompilationModel}\n {fields : List Field}\n {scope : List String}\n {calleeName : String} {args : List Expr}\n {c...
[ { "name": "directInternalHelperHeadStepCatalog_of_supportedBody_and_assignBridgeCatalog", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 8, "n_lines": 28, "n_chars": 1096, "n_subproofs": 0, "n_tactics": 14, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "...
8
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 /-- Constructor for the helper-a...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 /-- Constructor for the helper-a...
@@ -85,6 +85,73 @@ rw [hFuelEq] exact ⟨_, _, rfl, rfl, hMatch⟩ +theorem compiledStmtStepWithHelpersAndHelperIR_internalCall + {runtimeContract : IRContract} + {spec : CompilationModel} + {fields : List Field} + {scope : List String} + {calleeName : String} {args : List Expr} + {compiledIR : 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_cdb08728ad51_8
bb11eb2e42eabf20
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
8
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "List.mem_eraseDups_iff_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a", "n_chars": 69, "n_subproofs": 0, ...
[ { "name": "eraseDups_nodup_and_mem_aux_local", "text": "private theorem eraseDups_nodup_and_mem_aux_local [BEq α] [LawfulBEq α]\n (n : Nat) (l : List α) (hlen : l.length ≤ n) :\n (l.eraseDups).Nodup ∧ (∀ a, a ∈ l.eraseDups ↔ a ∈ l) := by\n induction n generalizing l with\n | zero =>\n have : l ...
[ { "name": "List.mem_eraseDups_iff_local", "fan_in": 2, "n_deps_direct": 1, "n_deps_transitive": 1, "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, ...
1
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -312,8 +312,51 @@ CompilationModel.compileStmt fields [] [] .calldata [] false scope [] (Stmt.internalCallAssign names calleeName args) = Except.ok compiledIR +private theorem eraseDups_nodup_and_mem_aux_local [BEq α] [LawfulBEq α] + (n : Nat) (l : List α) (hlen : l.length ≤ n) : + (l...
{ "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_cdb08728ad51_9
9a5348957a453fcb
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
9
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "List.mem_eraseDups_iff_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a", "n_chars": 69, "n_subproofs": 0, ...
[ { "name": "eraseDups_nodup_and_mem_aux_local", "text": "private theorem eraseDups_nodup_and_mem_aux_local [BEq α] [LawfulBEq α]\n (n : Nat) (l : List α) (hlen : l.length ≤ n) :\n (l.eraseDups).Nodup ∧ (∀ a, a ∈ l.eraseDups ↔ a ∈ l) := by\n induction n generalizing l with\n | zero =>\n have : l ...
[ { "name": "List.mem_eraseDups_of_mem_local", "fan_in": 6, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 5, "n_chars": 174, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, ...
2
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -312,8 +312,51 @@ CompilationModel.compileStmt fields [] [] .calldata [] false scope [] (Stmt.internalCallAssign names calleeName args) = Except.ok compiledIR +private theorem eraseDups_nodup_and_mem_aux_local [BEq α] [LawfulBEq α] + (n : Nat) (l : List α) (hlen : l.length ≤ n) : + (l...
{ "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_cdb08728ad51_10
c7feacdc436bfb62
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
10
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "List.mem_eraseDups_iff_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a", "n_chars": 69, "n_subproofs": 0, ...
[ { "name": "eraseDups_nodup_and_mem_aux_local", "text": "private theorem eraseDups_nodup_and_mem_aux_local [BEq α] [LawfulBEq α]\n (n : Nat) (l : List α) (hlen : l.length ≤ n) :\n (l.eraseDups).Nodup ∧ (∀ a, a ∈ l.eraseDups ↔ a ∈ l) := by\n induction n generalizing l with\n | zero =>\n have : l ...
[ { "name": "List.mem_of_mem_eraseDups_local", "fan_in": 4, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 5, "n_chars": 173, "n_subproofs": 0, "n_tactics": 1, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": false, ...
2
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -312,8 +312,51 @@ CompilationModel.compileStmt fields [] [] .calldata [] false scope [] (Stmt.internalCallAssign names calleeName args) = Except.ok compiledIR +private theorem eraseDups_nodup_and_mem_aux_local [BEq α] [LawfulBEq α] + (n : Nat) (l : List α) (hlen : l.length ≤ n) : + (l...
{ "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_cdb08728ad51_11
e545161a59d2cff9
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
11
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
2
[ { "theorem_name": "List.mem_eraseDups_of_mem_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n List.mem_eraseDups_iff_local.mpr h", "n_chars": 37, "n_subproofs": 0, "n_tactics": 1, "cycloma...
[ { "name": "List.mem_eraseDups_iff_local", "text": "private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α]\n {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l :=\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a\n\n", "fan_in": 2, "n_lines": 5, "n_chars": 201, ...
[ { "name": "internalCallAssign_callee_mem_stmtListInternalHelperCallNames_eraseDups", "fan_in": 2, "n_deps_direct": 1, "n_deps_transitive": 3, "n_lines": 9, "n_chars": 426, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_struct...
3
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -354,8 +354,13 @@ · exact Or.inl (beq_iff_eq.mp heq) · exact Or.inr ((ihMem a).mpr (List.mem_filter.mpr ⟨h, by simp [heq]⟩)) +private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α] + {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l := + (eraseDups_nodup_and_mem_aux_l...
{ "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_cdb08728ad51_12
3d16e9a01f47c819
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
12
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
2
[ { "theorem_name": "List.mem_eraseDups_of_mem_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n List.mem_eraseDups_iff_local.mpr h", "n_chars": 37, "n_subproofs": 0, "n_tactics": 1, "cycloma...
[ { "name": "List.mem_eraseDups_iff_local", "text": "private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α]\n {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l :=\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a\n\n", "fan_in": 2, "n_lines": 5, "n_chars": 201, ...
[ { "name": "internalCall_callee_mem_stmtListInternalHelperCallNames_eraseDups", "fan_in": 2, "n_deps_direct": 1, "n_deps_transitive": 3, "n_lines": 9, "n_chars": 386, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 0, "n_structural":...
3
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -354,8 +354,13 @@ · exact Or.inl (beq_iff_eq.mp heq) · exact Or.inr ((ihMem a).mpr (List.mem_filter.mpr ⟨h, by simp [heq]⟩)) +private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α] + {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l := + (eraseDups_nodup_and_mem_aux_l...
{ "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_cdb08728ad51_13
2e174c74ec950127
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
13
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
2
[ { "theorem_name": "List.mem_eraseDups_of_mem_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n List.mem_eraseDups_iff_local.mpr h", "n_chars": 37, "n_subproofs": 0, "n_tactics": 1, "cycloma...
[ { "name": "List.mem_eraseDups_iff_local", "text": "private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α]\n {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l :=\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a\n\n", "fan_in": 2, "n_lines": 5, "n_chars": 201, ...
[ { "name": "stmtListDirectInternalHelperAssignStepInterface_of_internalCallAssignSteps_of_helperCallNames", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 6, "n_lines": 47, "n_chars": 2126, "n_subproofs": 1, "n_tactics": 26, "cyclomatic": 4, "n_automation": 1, "n_re...
6
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -354,11 +354,17 @@ · exact Or.inl (beq_iff_eq.mp heq) · exact Or.inr ((ihMem a).mpr (List.mem_filter.mpr ⟨h, by simp [heq]⟩)) +private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α] + {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l := + (eraseDups_nodup_and_mem_aux_...
{ "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_cdb08728ad51_14
104c98436ee856c5
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
14
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
2
[ { "theorem_name": "List.mem_eraseDups_of_mem_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n List.mem_eraseDups_iff_local.mpr h", "n_chars": 37, "n_subproofs": 0, "n_tactics": 1, "cycloma...
[ { "name": "List.mem_eraseDups_iff_local", "text": "private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α]\n {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l :=\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a\n\n", "fan_in": 2, "n_lines": 5, "n_chars": 201, ...
[ { "name": "stmtListDirectInternalHelperAssignStepInterfaceWithInternals_of_internalCallAssignSteps_of_helperCallNames", "fan_in": 0, "n_deps_direct": 4, "n_deps_transitive": 6, "n_lines": 45, "n_chars": 1994, "n_subproofs": 1, "n_tactics": 26, "cyclomatic": 4, "n_automation":...
6
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -354,11 +354,17 @@ · exact Or.inl (beq_iff_eq.mp heq) · exact Or.inr ((ihMem a).mpr (List.mem_filter.mpr ⟨h, by simp [heq]⟩)) +private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α] + {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l := + (eraseDups_nodup_and_mem_aux_...
{ "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_cdb08728ad51_15
dca9d33483f4947f
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
15
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
2
[ { "theorem_name": "List.mem_eraseDups_of_mem_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n List.mem_eraseDups_iff_local.mpr h", "n_chars": 37, "n_subproofs": 0, "n_tactics": 1, "cycloma...
[ { "name": "List.mem_eraseDups_iff_local", "text": "private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α]\n {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l :=\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a\n\n", "fan_in": 2, "n_lines": 5, "n_chars": 201, ...
[ { "name": "stmtListDirectInternalHelperCallStepInterface_of_internalCallSteps_of_helperCallNames", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 6, "n_lines": 46, "n_chars": 2013, "n_subproofs": 1, "n_tactics": 25, "cyclomatic": 4, "n_automation": 1, "n_rewrites":...
6
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -354,11 +354,17 @@ · exact Or.inl (beq_iff_eq.mp heq) · exact Or.inr ((ihMem a).mpr (List.mem_filter.mpr ⟨h, by simp [heq]⟩)) +private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α] + {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l := + (eraseDups_nodup_and_mem_aux_...
{ "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_cdb08728ad51_16
b78fb7a5bef50c60
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
16
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
2
[ { "theorem_name": "List.mem_eraseDups_of_mem_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n List.mem_eraseDups_iff_local.mpr h", "n_chars": 37, "n_subproofs": 0, "n_tactics": 1, "cycloma...
[ { "name": "List.mem_eraseDups_iff_local", "text": "private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α]\n {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l :=\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a\n\n", "fan_in": 2, "n_lines": 5, "n_chars": 201, ...
[ { "name": "stmtListDirectInternalHelperCallStepInterfaceWithInternals_of_internalCallSteps_of_helperCallNames", "fan_in": 0, "n_deps_direct": 4, "n_deps_transitive": 6, "n_lines": 44, "n_chars": 1872, "n_subproofs": 1, "n_tactics": 25, "cyclomatic": 4, "n_automation": 1, ...
6
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -354,11 +354,17 @@ · exact Or.inl (beq_iff_eq.mp heq) · exact Or.inr ((ihMem a).mpr (List.mem_filter.mpr ⟨h, by simp [heq]⟩)) +private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α] + {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l := + (eraseDups_nodup_and_mem_aux_...
{ "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_cdb08728ad51_17
99b3a9cabb76dc6e
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
17
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
2
[ { "theorem_name": "List.mem_eraseDups_of_mem_local", "depth": 1, "n_commands": 0, "n_lines": 2, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n List.mem_eraseDups_iff_local.mpr h", "n_chars": 37, "n_subproofs": 0, "n_tactics": 1, "cycloma...
[ { "name": "List.mem_eraseDups_iff_local", "text": "private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α]\n {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l :=\n (eraseDups_nodup_and_mem_aux_local l.length l (Nat.le_refl _)).2 a\n\n", "fan_in": 2, "n_lines": 5, "n_chars": 201, ...
[ { "name": "stmtListDirectInternalHelperStepInterfaces_of_headStepCatalog", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 9, "n_lines": 42, "n_chars": 1358, "n_subproofs": 0, "n_tactics": 19, "cyclomatic": 2, "n_automation": 0, "n_rewrites": 0, "n_structural": ...
9
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -354,11 +354,17 @@ · exact Or.inl (beq_iff_eq.mp heq) · exact Or.inr ((ihMem a).mpr (List.mem_filter.mpr ⟨h, by simp [heq]⟩)) +private theorem List.mem_eraseDups_iff_local [BEq α] [LawfulBEq α] + {a : α} {l : List α} : a ∈ l.eraseDups ↔ a ∈ l := + (eraseDups_nodup_and_mem_aux_...
{ "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_cdb08728ad51_18
19c614555363a7ab
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean
Calls
18
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
24
1
[ { "theorem_name": "execIRStmtsWithInternals_of_internalCall_compiledHelperWitness", "depth": 1, "n_commands": 0, "n_lines": 42, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hcalleeName : compiledHelper.sourceWitness.callee.name = calleeName :=...
[ { "name": "internalFunctionYulName_ne_stop", "text": "private theorem internalFunctionYulName_ne_stop\n (calleeName : String) :\n CompilationModel.internalFunctionYulName calleeName ≠ \"stop\" := by\n intro hEq\n have hHead := congrArg (fun s => s.toList.head?) hEq\n simp [CompilationModel.internal...
[ { "name": "execIRStmtsWithInternals_of_internalCall_compiledHelperWitness", "fan_in": 0, "n_deps_direct": 5, "n_deps_transitive": 5, "n_lines": 80, "n_chars": 3196, "n_subproofs": 2, "n_tactics": 42, "cyclomatic": 3, "n_automation": 3, "n_rewrites": 0, "n_structural":...
5
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
import Compiler.Proofs.IRGeneration.GenericInduction.Core 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 Tier 4 head-step proof...
@@ -312,6 +312,20 @@ CompilationModel.compileStmt fields [] [] .calldata [] false scope [] (Stmt.internalCallAssign names calleeName args) = Except.ok compiledIR +private theorem internalFunctionYulName_ne_stop + (calleeName : String) : + CompilationModel.internalFunctionYulName calleeNa...
{ "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_4b939bb4e6c3_0
5cd6f2ec043f4cef
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Core/Int256.lean
Int256
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
3
1
[ { "theorem_name": "minValue_le", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n by_cases h : value.word.val < signBit\n · simp [toInt_of_lt_signBit h, minValue]\n · have hge : signBit ≤ value.word.val := N...
[ { "name": "modulus_eq_two_mul_signBit", "text": "theorem modulus_eq_two_mul_signBit : modulus = 2 * signBit := by\n native_decide\n\n", "fan_in": 1, "n_lines": 4, "n_chars": 82, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_str...
[ { "name": "minValue_le", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 9, "n_chars": 365, "n_subproofs": 2, "n_tactics": 7, "cyclomatic": 1, "n_automation": 3, "n_rewrites": 0, "n_structural": 0, "automation_only": false, "max_nesting": 4...
1
import Verity.Core.Uint256 namespace Verity.Core structure Int256 where word : Uint256 deriving DecidableEq namespace Int256 def modulus : Nat := Uint256.modulus def signBit : Nat := 2 ^ 255 def minValue : Int := -Int.ofNat signBit def maxValue : Int := Int.ofNat signBit - 1 def ofUint256 (value : Uint256) ...
import Verity.Core.Uint256 namespace Verity.Core structure Int256 where word : Uint256 deriving DecidableEq namespace Int256 def modulus : Nat := Uint256.modulus def signBit : Nat := 2 ^ 255 def minValue : Int := -Int.ofNat signBit def maxValue : Int := Int.ofNat signBit - 1 def ofUint256 (value : Uint256) ...
@@ -63,10 +63,16 @@ have h' : ¬ value.word.val < signBit := Nat.not_lt_of_ge h simp [Int256.toInt, h'] +theorem modulus_eq_two_mul_signBit : modulus = 2 * signBit := by + native_decide + theorem minValue_le (value : Int256) : minValue ≤ (value : Int) := by by_cases h : value.word.val < signBit · simp [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_4b939bb4e6c3_1
5a2d9e2b90ebbfae
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/Core/Int256.lean
Int256
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
3
1
[ { "theorem_name": "minValue_le", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n by_cases h : value.word.val < signBit\n · simp [toInt_of_lt_signBit h, minValue]\n · have hge : signBit ≤ value.word.val := N...
[ { "name": "modulus_eq_two_mul_signBit", "text": "theorem modulus_eq_two_mul_signBit : modulus = 2 * signBit := by\n native_decide\n\n", "fan_in": 1, "n_lines": 4, "n_chars": 82, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_str...
[ { "name": "toInt_in_range", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 5, "n_lines": 4, "n_chars": 158, "n_subproofs": 0, "n_tactics": 2, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 1, "automation_only": false, "max_nesting"...
3
import Verity.Core.Uint256 namespace Verity.Core structure Int256 where word : Uint256 deriving DecidableEq namespace Int256 def modulus : Nat := Uint256.modulus def signBit : Nat := 2 ^ 255 def minValue : Int := -Int.ofNat signBit def maxValue : Int := Int.ofNat signBit - 1 def ofUint256 (value : Uint256) ...
import Verity.Core.Uint256 namespace Verity.Core structure Int256 where word : Uint256 deriving DecidableEq namespace Int256 def modulus : Nat := Uint256.modulus def signBit : Nat := 2 ^ 255 def minValue : Int := -Int.ofNat signBit def maxValue : Int := Int.ofNat signBit - 1 def ofUint256 (value : Uint256) ...
@@ -63,10 +63,16 @@ have h' : ¬ value.word.val < signBit := Nat.not_lt_of_ge h simp [Int256.toInt, h'] +theorem modulus_eq_two_mul_signBit : modulus = 2 * signBit := by + native_decide + theorem minValue_le (value : Int256) : minValue ≤ (value : Int) := by by_cases h : value.word.val < signBit · simp [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_72489ced2f65_0
02dba1d78c8e3651
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanPureBuiltinLemmas.lean
EvmYulLeanPureBuiltinLemmas
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
2
[ { "theorem_name": "slt_int256_eq_sltBool", "depth": 1, "n_commands": 0, "n_lines": 12, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold EvmYul.UInt256.slt\n rw [toNat_fromBool]\n unfold EvmYul.UInt256.sltBool\n simp only [EvmYul.UInt256.toNat...
[ { "name": "toNat_fromBool", "text": "private theorem toNat_fromBool (b : Bool) :\n EvmYul.UInt256.toNat (Bool.toUInt256 b) = if b then 1 else 0 := by\n cases b <;> rfl\n\n", "fan_in": 2, "n_lines": 5, "n_chars": 134, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 3, "n_autom...
[ { "name": "slt_int256_eq_sltBool", "fan_in": 1, "n_deps_direct": 9, "n_deps_transitive": 3, "n_lines": 22, "n_chars": 1144, "n_subproofs": 2, "n_tactics": 14, "cyclomatic": 3, "n_automation": 7, "n_rewrites": 3, "n_structural": 0, "automation_only": false, "ma...
2
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeLowering import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeSignedArithLemmas import Mathlib.Data.Nat.Bitwise import Verity.Core.Int256 import Verity.Core.Uint256 namespace Compiler.Proofs.YulGeneration.Backends private theorem uint256_size_eq_e...
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeLowering import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeSignedArithLemmas import Mathlib.Data.Nat.Bitwise import Verity.Core.Int256 import Verity.Core.Uint256 namespace Compiler.Proofs.YulGeneration.Backends private theorem uint256_size_eq_e...
@@ -104,6 +104,10 @@ rw [← uint256_size_eq_evmModulus] rfl +private theorem toNat_fromBool (b : Bool) : + EvmYul.UInt256.toNat (Bool.toUInt256 b) = if b then 1 else 0 := by + cases b <;> rfl + private theorem uint256_lt_iff_nat_lt {a b : Nat} (ha : a < EvmYul.UInt256.size) (hb : b < EvmYul.UInt256.siz...
{ "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_72489ced2f65_1
68b0dd09ec3a777a
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanPureBuiltinLemmas.lean
EvmYulLeanPureBuiltinLemmas
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
2
[ { "theorem_name": "evalPureBuiltinViaEvmYulLean_or_native", "depth": 1, "n_commands": 0, "n_lines": 9, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [← uint256_size_eq_evmModulus]\n change some (((Nat.bitwise Bool.or (a % EvmYul.UInt256.size) (b...
[ { "name": "word_lt_uint256_size", "text": "private theorem word_lt_uint256_size (x : Nat) :\n x % EvmYul.UInt256.size < 2 ^ 256 := by\n simpa [EvmYul.UInt256.size] using Nat.mod_lt x (by decide : 0 < EvmYul.UInt256.size)\n\n", "fan_in": 2, "n_lines": 5, "n_chars": 181, "n_subproofs": 0, ...
[ { "name": "evalPureBuiltinViaEvmYulLean_or_native", "fan_in": 0, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 13, "n_chars": 600, "n_subproofs": 0, "n_tactics": 9, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 4, "n_structural": 1, "automation_only":...
1
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeLowering import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeSignedArithLemmas import Mathlib.Data.Nat.Bitwise import Verity.Core.Int256 import Verity.Core.Uint256 namespace Compiler.Proofs.YulGeneration.Backends private theorem uint256_size_eq_e...
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeLowering import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeSignedArithLemmas import Mathlib.Data.Nat.Bitwise import Verity.Core.Int256 import Verity.Core.Uint256 namespace Compiler.Proofs.YulGeneration.Backends private theorem uint256_size_eq_e...
@@ -10,6 +10,10 @@ EvmYul.UInt256.size = Compiler.Constants.evmModulus := by decide +private theorem word_lt_uint256_size (x : Nat) : + x % EvmYul.UInt256.size < 2 ^ 256 := by + simpa [EvmYul.UInt256.size] using Nat.mod_lt x (by decide : 0 < EvmYul.UInt256.size) + @[simp] theorem evalPureBuiltinViaEvmYul...
{ "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_72489ced2f65_2
519da257b383f582
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanPureBuiltinLemmas.lean
EvmYulLeanPureBuiltinLemmas
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "evalPureBuiltinViaEvmYulLean_not_native", "depth": 1, "n_commands": 0, "n_lines": 31, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n rw [← uint256_size_eq_evmModulus]\n change evalPureBuiltinViaEvmYulLean \"not\" [a] =\n some (...
[ { "name": "xor_all_ones_uint256_word", "text": "private theorem xor_all_ones_uint256_word (a : Nat) :\n (a % EvmYul.UInt256.size) ^^^ (EvmYul.UInt256.size - 1) =\n EvmYul.UInt256.size - 1 - (a % EvmYul.UInt256.size) := by\n calc\n (a % EvmYul.UInt256.size) ^^^ (EvmYul.UInt256.size - 1) =\n ...
[ { "name": "evalPureBuiltinViaEvmYulLean_not_native", "fan_in": 0, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 36, "n_chars": 1766, "n_subproofs": 7, "n_tactics": 31, "cyclomatic": 1, "n_automation": 5, "n_rewrites": 8, "n_structural": 2, "automation_onl...
1
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeLowering import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeSignedArithLemmas import Mathlib.Data.Nat.Bitwise import Verity.Core.Int256 import Verity.Core.Uint256 namespace Compiler.Proofs.YulGeneration.Backends private theorem uint256_size_eq_e...
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeLowering import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeSignedArithLemmas import Mathlib.Data.Nat.Bitwise import Verity.Core.Int256 import Verity.Core.Uint256 namespace Compiler.Proofs.YulGeneration.Backends private theorem uint256_size_eq_e...
@@ -429,10 +429,52 @@ rw [Nat.mod_eq_of_lt] exact Nat.xor_lt_two_pow (word_lt_uint256_size a) (word_lt_uint256_size b) +private theorem xor_all_ones_uint256_word (a : Nat) : + (a % EvmYul.UInt256.size) ^^^ (EvmYul.UInt256.size - 1) = + EvmYul.UInt256.size - 1 - (a % EvmYul.UInt256.size) := by + calc + ...
{ "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_5f3c738a4fec_0
471501b8c4ba359e
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/CEISafety.lean
CEISafety
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
1
1
[ { "theorem_name": "ceiProofBackedExecution_checked_empty_body", "depth": 1, "n_commands": 0, "n_lines": 5, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n by\n refine ceiProofBackedExecution_of_checker rfl ?_ rfl rfl rfl\n change stmtListCEIViolati...
[ { "name": "ceiProofBackedExecution_of_checker", "text": "/-- Bridge the concrete facts emitted by the macro/checker into the public CEI\nexecution theorem. Escape hatches are hypotheses rather than hidden premises. -/\ntheorem ceiProofBackedExecution_of_checker\n {fn : FunctionSpec}\n (hAnnotated : fn...
[ { "name": "ceiProofBackedExecution_checked_empty_body", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 16, "n_chars": 548, "n_subproofs": 0, "n_tactics": 4, "cyclomatic": 1, "n_automation": 5, "n_rewrites": 1, "n_structural": 1, "automation_on...
1
import Compiler.CompilationModel.Validation /-! Proof-layer CEI safety surface. `stmtListCEIViolation` is the compiler checker used before code generation. This module gives that checker a public proof-facing meaning: a function has proof-backed CEI execution safety exactly when the checker accepts its body and the r...
import Compiler.CompilationModel.Validation /-! Proof-layer CEI safety surface. `stmtListCEIViolation` is the compiler checker used before code generation. This module gives that checker a public proof-facing meaning: a function has proof-backed CEI execution safety exactly when the checker accepts its body and the r...
@@ -43,6 +43,23 @@ executionSafe : CEIExecutionSafe fn trustExitsClosed : CEITrustExitsClosed fn +/-- Bridge the concrete facts emitted by the macro/checker into the public CEI +execution theorem. Escape hatches are hypotheses rather than hidden premises. -/ +theorem ceiProofBackedExecution_of_checker + {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_81701029c1fb_0
c06abb9f27def0da
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBodyClosure/Safe.lean
Safe
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "bridgedSafeStmts_assignKeccak_of_exprCompileCore", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n BridgedSafeStmts.storage (by\n intro stmt hMem\n simp only [List.mem_singleton] at hMem...
[ { "name": "bridgedSourcePureBindingStmt_assignKeccak_of_exprCompileCore", "text": "/-- An assignment whose RHS is syntactic `keccak256(offset, size)` is a native\n pure-binding source statement when the offset and size arguments are\n compile-core expressions. -/\ntheorem bridgedSourcePureBindingStmt_...
[ { "name": "bridgedSafeStmts_assignKeccak_of_exprCompileCore", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 20, "n_chars": 930, "n_subproofs": 0, "n_tactics": 6, "cyclomatic": 1, "n_automation": 1, "n_rewrites": 1, "n_structural": 2, "automat...
1
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
@@ -172,6 +172,20 @@ BridgedSourcePureBindingStmt.letVar name (.keccak256 offset size) (bridgedSourceExpr_keccak256_of_exprCompileCore hOffset hSize) +/-- An assignment whose RHS is syntactic `keccak256(offset, size)` is a native + pure-binding source statement when the offset and size arguments are + c...
{ "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_81701029c1fb_1
7e86793a38eea6c2
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBodyClosure/Safe.lean
Safe
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
2
[ { "theorem_name": "bridgedSourceExternalRecursiveBodyWithRawLogStmts_of_stmtListTerminalCore", "depth": 1, "n_commands": 0, "n_lines": 24, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction hTerminal with\n | letVar hValue _hScope _hRest ih =>...
[ { "name": "bridgedSourceExternalRecursiveBodyWithRawLogStmts_of_stmtListCompileCore", "text": "/-- Source compile-core statement lists are covered by the recursive external\n raw-log fragment: pure bindings route through the storage/body base\n predicate, requires and terminators are direct body cases...
[ { "name": "bridgedSourceExternalRecursiveBodyWithRawLogStmts_of_stmtListTerminalCore", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 38, "n_chars": 1848, "n_subproofs": 0, "n_tactics": 24, "cyclomatic": 2, "n_automation": 0, "n_rewrites": 0, "n_s...
1
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
@@ -273,6 +273,36 @@ dynamicSource (.ite cond thenBranch elseBranch) := .ite _ _ _ (bridgedSourceExpr_of_exprCompileCore hCond) hThen hElse +/-- Source compile-core statement lists are covered by the recursive external + raw-log fragment: pure bindings route through the storage/body base + predicate, ...
{ "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_81701029c1fb_2
7bdff3781f9cde0a
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBodyClosure/Safe.lean
Safe
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
2
[ { "theorem_name": "bridgedSourceExternalRecursiveBodyWithRawLogStmts_of_stmtListTerminalCore", "depth": 1, "n_commands": 0, "n_lines": 24, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction hTerminal with\n | letVar hValue _hScope _hRest ih =>...
[ { "name": "bridgedSourceExternalRecursiveBodyWithRawLogStmts_of_stmtListCompileCore", "text": "/-- Source compile-core statement lists are covered by the recursive external\n raw-log fragment: pure bindings route through the storage/body base\n predicate, requires and terminators are direct body cases...
[ { "name": "bridgedSafeStmts_externalCompileCore", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 16, "n_chars": 724, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": f...
1
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
@@ -273,6 +273,36 @@ dynamicSource (.ite cond thenBranch elseBranch) := .ite _ _ _ (bridgedSourceExpr_of_exprCompileCore hCond) hThen hElse +/-- Source compile-core statement lists are covered by the recursive external + raw-log fragment: pure bindings route through the storage/body base + predicate, ...
{ "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_81701029c1fb_3
18cbde08d7ee74e3
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBodyClosure/Safe.lean
Safe
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "bridgedSafeStmts_externalTerminalCore", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": "\n BridgedSafeStmts.externalRecursiveRawLog\n (bridgedSourceExternalRecursiveBodyWithRawLogStmts_of_stmt...
[ { "name": "bridgedSourceExternalRecursiveBodyWithRawLogStmts_of_stmtListTerminalCore", "text": "/-- Terminal compile-core statement lists have the same external native source\n coverage as ordinary compile-core lists. The terminal `return`/`stop` cases\n delegate their tails to the compile-core bridge...
[ { "name": "bridgedSafeStmts_externalTerminalCore", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 15, "n_chars": 649, "n_subproofs": 0, "n_tactics": 3, "cyclomatic": 1, "n_automation": 0, "n_rewrites": 0, "n_structural": 0, "automation_only": ...
2
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
@@ -303,6 +303,43 @@ | tstore hOffset _hOffsetScope hValue _hValueScope _hRest ih => exact .cons (bridgedExternalRawLogTstore hOffset hValue) ih +/-- Terminal compile-core statement lists have the same external native source + coverage as ordinary compile-core lists. The terminal `return`/`stop` cases + ...
{ "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_81701029c1fb_4
9321d0d544957037
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/YulGeneration/Backends/EvmYulLeanBodyClosure/Safe.lean
Safe
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
6
1
[ { "theorem_name": "BridgedSafeStmts.toBridgedSource", "depth": 1, "n_commands": 0, "n_lines": 88, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction hSafe with\n | externalRecursiveRawLog hStmts =>\n exact fun stmt hMem => .externalRecurs...
[ { "name": "mem_of_internalRecursiveRawLogStmts", "text": "private theorem mem_of_internalRecursiveRawLogStmts\n {fields : List Field} {errors : List ErrorDef}\n {dynamicSource : DynamicDataSource} :\n ∀ (stmts : List Stmt),\n BridgedSourceInternalRecursiveBodyWithRawLogStmts fields errors\n ...
[ { "name": "BridgedSafeStmts.toBridgedSource", "fan_in": 2, "n_deps_direct": 2, "n_deps_transitive": 2, "n_lines": 103, "n_chars": 4965, "n_subproofs": 0, "n_tactics": 88, "cyclomatic": 3, "n_automation": 0, "n_rewrites": 0, "n_structural": 44, "automation_only": f...
2
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Base import Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBodyClosure.Generic set_option linter.unusedSimpArgs false namespace Compiler.Proofs.YulGeneration.Backends open Compiler open Compiler.Yul open Compiler.CompilationModel open Compiler.Pro...
@@ -293,6 +293,26 @@ | head => exact hHead | tail _ hMem => exact ih hTail stmt hMem +private theorem mem_of_internalRecursiveRawLogStmts + {fields : List Field} {errors : List ErrorDef} + {dynamicSource : DynamicDataSource} : + ∀ (stmts : List Stmt), + BridgedSourceInternalRecursi...
{ "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_bc040358e506_0
856e1b61aeb1017e
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Contracts/Smoke/EIP712StaticSmoke.lean
EIP712StaticSmoke
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
1
1
[ { "theorem_name": "permitStaticHash_eip712Supported_and_digest_correct", "depth": 1, "n_commands": 0, "n_lines": 11, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n constructor\n · exact permitStaticHashAndDigest_supported\n · constructor\n · con...
[ { "name": "permitStaticHashAndDigest_supported", "text": "private theorem permitStaticHashAndDigest_supported :\n SupportedStmtList [] permitScope permitStaticHashAndDigestStmts := by\n change SupportedStmtList [] permitScope ([permitStructHashStmt] ++ [permitDigestStmt])\n apply SupportedStmtList.appe...
[ { "name": "permitStaticHash_eip712Supported_and_digest_correct", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 16, "n_chars": 572, "n_subproofs": 0, "n_tactics": 11, "cyclomatic": 5, "n_automation": 2, "n_rewrites": 0, "n_structural": 7, "aut...
1
import Contracts.Common import Compiler.Modules.Hashing import Compiler.Proofs.IRGeneration.SupportedSpec namespace Contracts.Smoke open Compiler open Compiler.CompilationModel open Compiler.Proofs.IRGeneration open Compiler.Yul open Verity hiding pure bind def permitTypeHash : Nat := (keccakString "Permit(address...
import Contracts.Common import Compiler.Modules.Hashing import Compiler.Proofs.IRGeneration.SupportedSpec namespace Contracts.Smoke open Compiler open Compiler.CompilationModel open Compiler.Proofs.IRGeneration open Compiler.Yul open Verity hiding pure bind def permitTypeHash : Nat := (keccakString "Permit(address...
@@ -62,12 +62,40 @@ [YulExpr.ident "domainSeparator", YulExpr.ident "structHash"] = Except.ok Compiler.Modules.Hashing.eip712DigestExpectedYul +private theorem permitStaticHashAndDigest_supported : + SupportedStmtList [] permitScope permitStaticHashAndDigestStmts := by + change SupportedStmtList [] pe...
{ "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_bd1f7089f857_0
fe19b59a09e8928b
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/EVM/Frame.lean
Frame
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
1
[ { "theorem_name": "external_call_preserves_caller_memory", "depth": 1, "n_commands": 0, "n_lines": 4, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n apply external_call_preserves_caller_memory_outside_output_buffer\n rintro ⟨h1, h2⟩\n rcases hDisj ...
[ { "name": "external_call_preserves_caller_memory_outside_output_buffer", "text": "theorem external_call_preserves_caller_memory_outside_output_buffer\n (caller : CallerFrame) (outOff outSize : Nat) (callee : CalleeResult)\n (i : Nat) (hOutside : ¬ (outOff ≤ i ∧ i < outOff + outSize)) :\n (applyCall...
[ { "name": "external_call_preserves_caller_memory", "fan_in": 1, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 16, "n_chars": 669, "n_subproofs": 0, "n_tactics": 5, "cyclomatic": 4, "n_automation": 1, "n_rewrites": 0, "n_structural": 3, "automation_only": ...
1
import Verity.EVM.Uint256 import Verity.EVM.MemoryModel import Verity.Core.Uint256 namespace Verity.EVM.Frame open Verity.Core (Uint256) open Verity.EVM.MemoryModel /-! # EVM `CALL` boundary frame conditions Models the slice of EVM `CALL` semantics that touches the caller's frame, and proves the frame conditions th...
import Verity.EVM.Uint256 import Verity.EVM.MemoryModel import Verity.Core.Uint256 namespace Verity.EVM.Frame open Verity.Core (Uint256) open Verity.EVM.MemoryModel /-! # EVM `CALL` boundary frame conditions Models the slice of EVM `CALL` semantics that touches the caller's frame, and proves the frame conditions th...
@@ -79,6 +79,13 @@ /-! ## Single-CALL frame theorems -/ +theorem external_call_preserves_caller_memory_outside_output_buffer + (caller : CallerFrame) (outOff outSize : Nat) (callee : CalleeResult) + (i : Nat) (hOutside : ¬ (outOff ≤ i ∧ i < outOff + outSize)) : + (applyCallToCaller caller outOff outSize c...
{ "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_bd1f7089f857_1
2374913f63f8213c
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/EVM/Frame.lean
Frame
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
1
[ { "theorem_name": "external_calls_preserve_caller_storage", "depth": 1, "n_commands": 0, "n_lines": 7, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction calls generalizing caller with\n | nil => rfl\n | cons c rest ih =>\n have hStep := e...
[ { "name": "external_call_preserves_caller_storage", "text": "theorem external_call_preserves_caller_storage\n (caller : CallerFrame) (outOff outSize : Nat) (callee : CalleeResult)\n (slotIdx : Nat) :\n (applyCallToCaller caller outOff outSize callee).storageMap slotIdx =\n caller.storageMap sl...
[ { "name": "external_calls_preserve_caller_storage", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 15, "n_chars": 548, "n_subproofs": 2, "n_tactics": 8, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 1, "n_structural": 1, "automation_only":...
1
import Verity.EVM.Uint256 import Verity.EVM.MemoryModel import Verity.Core.Uint256 namespace Verity.EVM.Frame open Verity.Core (Uint256) open Verity.EVM.MemoryModel /-! # EVM `CALL` boundary frame conditions Models the slice of EVM `CALL` semantics that touches the caller's frame, and proves the frame conditions th...
import Verity.EVM.Uint256 import Verity.EVM.MemoryModel import Verity.Core.Uint256 namespace Verity.EVM.Frame open Verity.Core (Uint256) open Verity.EVM.MemoryModel /-! # EVM `CALL` boundary frame conditions Models the slice of EVM `CALL` semantics that touches the caller's frame, and proves the frame conditions th...
@@ -79,13 +79,26 @@ /-! ## Single-CALL frame theorems -/ +theorem external_call_preserves_caller_storage + (caller : CallerFrame) (outOff outSize : Nat) (callee : CalleeResult) + (slotIdx : Nat) : + (applyCallToCaller caller outOff outSize callee).storageMap slotIdx = + caller.storageMap slotIdx := 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_bd1f7089f857_2
c8321e8396fe53a4
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/EVM/Frame.lean
Frame
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
1
[ { "theorem_name": "external_calls_preserve_caller_transient_storage", "depth": 1, "n_commands": 0, "n_lines": 8, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction calls generalizing caller with\n | nil => rfl\n | cons c rest ih =>\n have ...
[ { "name": "external_call_preserves_caller_transient_storage", "text": "theorem external_call_preserves_caller_transient_storage\n (caller : CallerFrame) (outOff outSize : Nat) (callee : CalleeResult)\n (slotIdx : Nat) :\n (applyCallToCaller caller outOff outSize callee).transientStorage slotIdx =\n...
[ { "name": "external_calls_preserve_caller_transient_storage", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 16, "n_chars": 586, "n_subproofs": 2, "n_tactics": 9, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 1, "n_structural": 1, "automat...
1
import Verity.EVM.Uint256 import Verity.EVM.MemoryModel import Verity.Core.Uint256 namespace Verity.EVM.Frame open Verity.Core (Uint256) open Verity.EVM.MemoryModel /-! # EVM `CALL` boundary frame conditions Models the slice of EVM `CALL` semantics that touches the caller's frame, and proves the frame conditions th...
import Verity.EVM.Uint256 import Verity.EVM.MemoryModel import Verity.Core.Uint256 namespace Verity.EVM.Frame open Verity.Core (Uint256) open Verity.EVM.MemoryModel /-! # EVM `CALL` boundary frame conditions Models the slice of EVM `CALL` semantics that touches the caller's frame, and proves the frame conditions th...
@@ -79,13 +79,27 @@ /-! ## Single-CALL frame theorems -/ +theorem external_call_preserves_caller_transient_storage + (caller : CallerFrame) (outOff outSize : Nat) (callee : CalleeResult) + (slotIdx : Nat) : + (applyCallToCaller caller outOff outSize callee).transientStorage slotIdx = + caller.transie...
{ "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_bd1f7089f857_3
ce39bb8129d53b34
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Verity/EVM/Frame.lean
Frame
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
4
1
[ { "theorem_name": "external_calls_preserve_caller_memory_in_disjoint_region", "depth": 1, "n_commands": 0, "n_lines": 10, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n induction calls generalizing caller with\n | nil => rfl\n | cons c rest ih =>\n...
[ { "name": "external_call_preserves_caller_memory", "text": "/-- Headline form: caller-memory preservation under a disjoint output\n buffer. Composes directly with `MemoryModel.Disjoint`. -/\ntheorem external_call_preserves_caller_memory\n (caller : CallerFrame) (outOff outSize : Nat) (callee : CalleeR...
[ { "name": "external_calls_preserve_caller_memory_in_disjoint_region", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 2, "n_lines": 21, "n_chars": 919, "n_subproofs": 3, "n_tactics": 12, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 1, "n_structural": 3, ...
2
import Verity.EVM.Uint256 import Verity.EVM.MemoryModel import Verity.Core.Uint256 namespace Verity.EVM.Frame open Verity.Core (Uint256) open Verity.EVM.MemoryModel /-! # EVM `CALL` boundary frame conditions Models the slice of EVM `CALL` semantics that touches the caller's frame, and proves the frame conditions th...
import Verity.EVM.Uint256 import Verity.EVM.MemoryModel import Verity.Core.Uint256 namespace Verity.EVM.Frame open Verity.Core (Uint256) open Verity.EVM.MemoryModel /-! # EVM `CALL` boundary frame conditions Models the slice of EVM `CALL` semantics that touches the caller's frame, and proves the frame conditions th...
@@ -86,6 +86,21 @@ caller.memory i := by simp [applyCallToCaller, hOutside] +/-- Headline form: caller-memory preservation under a disjoint output + buffer. Composes directly with `MemoryModel.Disjoint`. -/ +theorem external_call_preserves_caller_memory + (caller : CallerFrame) (outOff outSize : 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_0b77e08220fe_0
70cfd87882fb4b8b
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
0
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
1
[ { "theorem_name": "compileGuardedFunctionSpec_eq_of_none", "depth": 1, "n_commands": 0, "n_lines": 8, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n unfold compileGuardedFunctionSpec\n cases hcomp : compileFunctionSpec fields events errors adtTypes ...
[ { "name": "attachNonReentrantGuard_eq_of_none", "text": "/-- `attachNonReentrantGuard` is the identity for lock-free functions, so the\nguarded per-function compile in `compileValidatedCore` collapses to the plain\n`compileFunctionSpec` mapM on the supported (lock-free) fragment. -/\ntheorem attachNonReentr...
[ { "name": "compileGuardedFunctionSpec_eq_of_none", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 1, "n_lines": 17, "n_chars": 821, "n_subproofs": 0, "n_tactics": 8, "cyclomatic": 2, "n_automation": 2, "n_rewrites": 1, "n_structural": 1, "automation_only": ...
1
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape theorem compileGuardedFunctionSpec_eq_of_none (fields : List Field) (events : List EventDef) (errors : List Er...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape /-- `attachNonReentrantGuard` is the identity for lock-free functions, so the guarded per-function compile in `com...
@@ -9,6 +9,15 @@ namespace ContractShape +/-- `attachNonReentrantGuard` is the identity for lock-free functions, so the +guarded per-function compile in `compileValidatedCore` collapses to the plain +`compileFunctionSpec` mapM on the supported (lock-free) fragment. -/ +theorem attachNonReentrantGuard_eq_of_none + ...
{ "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_0b77e08220fe_1
a8a317099699e124
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
1
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
5
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "supportedSpec_entries_lock_free", "text": "theorem supportedSpec_entries_lock_free\n {model : CompilationModel} {selectors : List Nat}\n (hSupported : SupportedSpec model selectors) :\n ∀ e ∈ (model.functions.filter\n (fun fn => !fn.isInternal && !isInteropEntrypointName fn.name))...
[ { "name": "compileValidatedCore_ok_yields_compiled_functions", "fan_in": 1, "n_deps_direct": 4, "n_deps_transitive": 4, "n_lines": 59, "n_chars": 2702, "n_subproofs": 5, "n_tactics": 47, "cyclomatic": 5, "n_automation": 10, "n_rewrites": 2, "n_structural": 4, "aut...
4
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -103,6 +103,16 @@ compileGuardedFunctionSpec_eq_of_none fields events errors adtTypes internalFunctions e.2 e.1 hhead, htail] +theorem supportedSpec_entries_lock_free + {model : CompilationModel} {selectors : List Nat} + (hSupported : SupportedSpec model selectors) : + ∀ e ∈ (model.funct...
{ "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_0b77e08220fe_2
9d4d6462ae1b3bc1
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
2
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
5
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "supportedSpec_entries_lock_free", "text": "theorem supportedSpec_entries_lock_free\n {model : CompilationModel} {selectors : List Nat}\n (hSupported : SupportedSpec model selectors) :\n ∀ e ∈ (model.functions.filter\n (fun fn => !fn.isInternal && !isInteropEntrypointName fn.name))...
[ { "name": "compileValidatedCore_ok_yields_internalFunctions_nil", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 50, "n_chars": 2591, "n_subproofs": 8, "n_tactics": 42, "cyclomatic": 4, "n_automation": 6, "n_rewrites": 2, "n_structural": 3, "a...
3
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -72,6 +72,16 @@ compileGuardedFunctionSpec_eq_of_none fields events errors adtTypes internalFunctions e.2 e.1 hhead, htail] +theorem supportedSpec_entries_lock_free + {model : CompilationModel} {selectors : List Nat} + (hSupported : SupportedSpec model selectors) : + ∀ e ∈ (model.functio...
{ "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_0b77e08220fe_3
0b55f116f61022bc
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
3
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
5
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "supportedSpec_entries_lock_free", "text": "theorem supportedSpec_entries_lock_free\n {model : CompilationModel} {selectors : List Nat}\n (hSupported : SupportedSpec model selectors) :\n ∀ e ∈ (model.functions.filter\n (fun fn => !fn.isInternal && !isInteropEntrypointName fn.name))...
[ { "name": "compileValidatedCore_ok_yields_deploy_compileConstructor", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 42, "n_chars": 1921, "n_subproofs": 3, "n_tactics": 33, "cyclomatic": 5, "n_automation": 8, "n_rewrites": 2, "n_structural": 4, ...
3
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -72,6 +72,16 @@ compileGuardedFunctionSpec_eq_of_none fields events errors adtTypes internalFunctions e.2 e.1 hhead, htail] +theorem supportedSpec_entries_lock_free + {model : CompilationModel} {selectors : List Nat} + (hSupported : SupportedSpec model selectors) : + ∀ e ∈ (model.functio...
{ "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_0b77e08220fe_4
7ef0bef0ddf0d047
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
4
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
5
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "supportedSpec_entries_lock_free", "text": "theorem supportedSpec_entries_lock_free\n {model : CompilationModel} {selectors : List Nat}\n (hSupported : SupportedSpec model selectors) :\n ∀ e ∈ (model.functions.filter\n (fun fn => !fn.isInternal && !isInteropEntrypointName fn.name))...
[ { "name": "compileValidatedCore_ok_yields_noFallbackEntrypoint", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 39, "n_chars": 1991, "n_subproofs": 3, "n_tactics": 31, "cyclomatic": 4, "n_automation": 6, "n_rewrites": 2, "n_structural": 3, "au...
3
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -72,6 +72,16 @@ compileGuardedFunctionSpec_eq_of_none fields events errors adtTypes internalFunctions e.2 e.1 hhead, htail] +theorem supportedSpec_entries_lock_free + {model : CompilationModel} {selectors : List Nat} + (hSupported : SupportedSpec model selectors) : + ∀ e ∈ (model.functio...
{ "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_0b77e08220fe_5
80f600c95a01e280
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
5
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
5
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "supportedSpec_entries_lock_free", "text": "theorem supportedSpec_entries_lock_free\n {model : CompilationModel} {selectors : List Nat}\n (hSupported : SupportedSpec model selectors) :\n ∀ e ∈ (model.functions.filter\n (fun fn => !fn.isInternal && !isInteropEntrypointName fn.name))...
[ { "name": "compileValidatedCore_ok_yields_noReceiveEntrypoint", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 39, "n_chars": 1989, "n_subproofs": 3, "n_tactics": 31, "cyclomatic": 4, "n_automation": 6, "n_rewrites": 2, "n_structural": 3, "aut...
3
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -72,6 +72,16 @@ compileGuardedFunctionSpec_eq_of_none fields events errors adtTypes internalFunctions e.2 e.1 hhead, htail] +theorem supportedSpec_entries_lock_free + {model : CompilationModel} {selectors : List Nat} + (hSupported : SupportedSpec model selectors) : + ∀ e ∈ (model.functio...
{ "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_0b77e08220fe_6
f3d2f5d9dc479255
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
6
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
5
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "supportedSpec_entries_lock_free", "text": "theorem supportedSpec_entries_lock_free\n {model : CompilationModel} {selectors : List Nat}\n (hSupported : SupportedSpec model selectors) :\n ∀ e ∈ (model.functions.filter\n (fun fn => !fn.isInternal && !isInteropEntrypointName fn.name))...
[ { "name": "compile_ok_yields_compiled_functions", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 5, "n_lines": 24, "n_chars": 911, "n_subproofs": 0, "n_tactics": 12, "cyclomatic": 2, "n_automation": 3, "n_rewrites": 1, "n_structural": 2, "automation_only": ...
5
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -103,6 +103,16 @@ compileGuardedFunctionSpec_eq_of_none fields events errors adtTypes internalFunctions e.2 e.1 hhead, htail] +theorem supportedSpec_entries_lock_free + {model : CompilationModel} {selectors : List Nat} + (hSupported : SupportedSpec model selectors) : + ∀ e ∈ (model.funct...
{ "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_0b77e08220fe_7
7e427c333e3e520e
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
7
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
6
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "pickUniqueFunctionByName_eq_ok_none_of_absent", "text": "private theorem pickUniqueFunctionByName_eq_ok_none_of_absent\n (name : String) (funcs : List FunctionSpec)\n (habsent : ∀ fn ∈ funcs, fn.name != name) :\n pickUniqueFunctionByName name funcs = Except.ok none := by\n induction fun...
[ { "name": "compileValidatedCore_ok_yields_compiled_functions_with_scalar_events", "fan_in": 1, "n_deps_direct": 3, "n_deps_transitive": 3, "n_lines": 46, "n_chars": 2236, "n_subproofs": 5, "n_tactics": 34, "cyclomatic": 5, "n_automation": 9, "n_rewrites": 2, "n_struct...
3
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem compiled_functions_forall₂_of_mapM_ok (fields : List Field) (events : List EventDef) (...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -9,6 +9,25 @@ namespace ContractShape +private theorem pickUniqueFunctionByName_eq_ok_none_of_absent + (name : String) (funcs : List FunctionSpec) + (habsent : ∀ fn ∈ funcs, fn.name != name) : + pickUniqueFunctionByName name funcs = Except.ok none := by + induction funcs with + | nil => + rfl + ...
{ "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_0b77e08220fe_8
e04b168bca979f39
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
8
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
2
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "compiled_functions_forall₂_of_mapM_ok", "text": "private theorem compiled_functions_forall₂_of_mapM_ok\n (fields : List Field)\n (events : List EventDef)\n (errors : List ErrorDef) :\n ∀ (entries : List (FunctionSpec × Nat)) irFns,\n (entries.mapM fun (entry : FunctionSpec × Nat)...
[ { "name": "compile_ok_yields_compiled_functions_with_scalar_events", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 24, "n_chars": 965, "n_subproofs": 0, "n_tactics": 12, "cyclomatic": 2, "n_automation": 3, "n_rewrites": 1, "n_structural": 2, ...
4
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -28,6 +28,37 @@ have ih' := ih hrest simpa [pickUniqueFunctionByName, hfn] using ih' +private theorem compiled_functions_forall₂_of_mapM_ok + (fields : List Field) + (events : List EventDef) + (errors : List ErrorDef) : + ∀ (entries : List (FunctionSpec × Nat)) irFns, + (entries.mapM...
{ "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_0b77e08220fe_9
7c0c1d3c246865f8
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
9
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
5
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "supportedSpec_entries_lock_free", "text": "theorem supportedSpec_entries_lock_free\n {model : CompilationModel} {selectors : List Nat}\n (hSupported : SupportedSpec model selectors) :\n ∀ e ∈ (model.functions.filter\n (fun fn => !fn.isInternal && !isInteropEntrypointName fn.name))...
[ { "name": "compile_ok_yields_internalFunctions_nil", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 20, "n_chars": 718, "n_subproofs": 0, "n_tactics": 12, "cyclomatic": 2, "n_automation": 3, "n_rewrites": 1, "n_structural": 2, "automation_only...
4
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -72,6 +72,16 @@ compileGuardedFunctionSpec_eq_of_none fields events errors adtTypes internalFunctions e.2 e.1 hhead, htail] +theorem supportedSpec_entries_lock_free + {model : CompilationModel} {selectors : List Nat} + (hSupported : SupportedSpec model selectors) : + ∀ e ∈ (model.functio...
{ "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_0b77e08220fe_10
aa2edda7964b2633
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
10
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
5
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "supportedSpec_entries_lock_free", "text": "theorem supportedSpec_entries_lock_free\n {model : CompilationModel} {selectors : List Nat}\n (hSupported : SupportedSpec model selectors) :\n ∀ e ∈ (model.functions.filter\n (fun fn => !fn.isInternal && !isInteropEntrypointName fn.name))...
[ { "name": "compile_ok_yields_deploy_compileConstructor", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 21, "n_chars": 807, "n_subproofs": 0, "n_tactics": 12, "cyclomatic": 2, "n_automation": 3, "n_rewrites": 1, "n_structural": 2, "automation_...
4
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -72,6 +72,16 @@ compileGuardedFunctionSpec_eq_of_none fields events errors adtTypes internalFunctions e.2 e.1 hhead, htail] +theorem supportedSpec_entries_lock_free + {model : CompilationModel} {selectors : List Nat} + (hSupported : SupportedSpec model selectors) : + ∀ e ∈ (model.functio...
{ "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_0b77e08220fe_11
925ec05cd79bcfec
lean
lean
github.com/lfglabs-dev/verity
eeb7a3abe85dd88cc8ee2ece5a77da9b2aba2978
Compiler/Proofs/IRGeneration/ContractShape.lean
ContractShape
11
lemma_delete
null
null
false
0.5
1
1
false
0
inf
0
inf
42
12
5
[ { "theorem_name": "compileValidatedCore_ok_yields_compiled_functions", "depth": 1, "n_commands": 0, "n_lines": 47, "is_leaf": true, "centrality": 0, "method": "deleted-dep", "proof_text": " by\n have hfallback :\n pickUniqueFunctionByName \"fallback\" model.functions = Except.o...
[ { "name": "supportedSpec_entries_lock_free", "text": "theorem supportedSpec_entries_lock_free\n {model : CompilationModel} {selectors : List Nat}\n (hSupported : SupportedSpec model selectors) :\n ∀ e ∈ (model.functions.filter\n (fun fn => !fn.isInternal && !isInteropEntrypointName fn.name))...
[ { "name": "compile_ok_yields_noFallbackEntrypoint", "fan_in": 0, "n_deps_direct": 1, "n_deps_transitive": 4, "n_lines": 20, "n_chars": 719, "n_subproofs": 0, "n_tactics": 12, "cyclomatic": 2, "n_automation": 3, "n_rewrites": 1, "n_structural": 2, "automation_only"...
4
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
import Compiler.Proofs.IRGeneration.SourceSemantics set_option linter.unnecessarySimpa false namespace Compiler.Proofs.IRGeneration open Compiler open Compiler.CompilationModel namespace ContractShape private theorem pickUniqueFunctionByName_eq_ok_none_of_absent (name : String) (funcs : List FunctionSpec) ...
@@ -72,6 +72,16 @@ compileGuardedFunctionSpec_eq_of_none fields events errors adtTypes internalFunctions e.2 e.1 hhead, htail] +theorem supportedSpec_entries_lock_free + {model : CompilationModel} {selectors : List Nat} + (hSupported : SupportedSpec model selectors) : + ∀ e ∈ (model.functio...
{ "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...