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_00e69b3111fa_51 | ec2d0e88950679d5 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 51 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 2 | [
{
"theorem_name": "pe_ipaddr_rangeV4",
"depth": 1,
"n_commands": 0,
"n_lines": 2,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only [IPAddr.rangeV4, pe_ext_ipaddr_addrV4_V4, pe_ext_ipaddr_prefixV4_V4, pe_ipaddr_range]",
"n_chars": 101,
... | [
{
"name": "pe_ipaddr_range",
"text": "private theorem pe_ipaddr_range {w : Nat} {cidr : Ext.IPAddr.CIDR w} :\n IPAddr.range w (Term.prim (TermPrim.bitvec cidr.addr)) (cidrPrefixTerm cidr) =\n (Ext.IPAddr.CIDR.range cidr).map Term.bitvec Term.bitvec\n:= by\n simp only [IPAddr.range, pe_ipaddr_subnetWidth,... | [
{
"name": "compile_evaluate_call_ipaddr_isMulticast",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 9,
"n_lines": 10,
"n_chars": 598,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only... | 9 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -53,15 +53,24 @@
have h : w ≤ 2 ^ w := by omega
simp only [pe_zero_extend h, pe_bvsub, BitVec.sub_eq, BitVec.natCast_eq_ofNat]
+private theorem pe_ipaddr_range {w : Nat} {cidr : Ext.IPAddr.CIDR w} :
+ IPAddr.range w (Term.prim (TermPrim.bitvec cidr.addr)) (cidrPrefixTerm cidr) =
+ (Ext.IPAddr.CIDR.rang... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_52 | 05bf97cd1530683c | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 52 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_datetime_offset",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₂_evaluate_ext env hwφ ih hok compileCall_datetime_offset_ok_implies\n wf_datetim... | [
{
"name": "pe_datetime_offset",
"text": "private theorem pe_datetime_offset {dt : Ext.Datetime} {dur : Ext.Datetime.Duration}:\n Datetime.offset (.prim (.ext (Ext.datetime dt))) (.prim (.ext (Ext.duration dur))) =\n match dt.offset dur with\n | none => .none (.prim (.ext .datetime))\n | some dt' => .som... | [
{
"name": "compile_evaluate_call_datetime_offset",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 670,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": ... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -32,6 +32,31 @@
----- PE lemmas for ExtFuns -----
+private theorem pe_datetime_offset {dt : Ext.Datetime} {dur : Ext.Datetime.Duration}:
+ Datetime.offset (.prim (.ext (Ext.datetime dt))) (.prim (.ext (Ext.duration dur))) =
+ match dt.offset dur with
+ | none => .none (.prim (.ext .datetime))
+ | some dt' =... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_53 | 5f9ce408ff208c6b | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 53 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_datetime_durationSince",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₂_evaluate_ext env hwφ ih hok compileCall_datetime_durationSince_ok_implies\n... | [
{
"name": "pe_datetime_durationSince",
"text": "private theorem pe_datetime_durationSince {dt₁ dt₂ : Ext.Datetime}:\n Datetime.durationSince (.prim (.ext (Ext.datetime dt₁))) (.prim (.ext (Ext.datetime dt₂))) =\n match dt₁.durationSince dt₂ with\n | none => .none (.prim (.ext .duration))\n | some dur =>... | [
{
"name": "compile_evaluate_call_datetime_durationSince",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 11,
"n_chars": 719,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -32,6 +32,30 @@
----- PE lemmas for ExtFuns -----
+private theorem pe_datetime_durationSince {dt₁ dt₂ : Ext.Datetime}:
+ Datetime.durationSince (.prim (.ext (Ext.datetime dt₁))) (.prim (.ext (Ext.datetime dt₂))) =
+ match dt₁.durationSince dt₂ with
+ | none => .none (.prim (.ext .duration))
+ | some dur => ... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_54 | 8dab4134a54ea59b | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 54 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_datetime_toDate",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₁_evaluate_ext env hwφ ih hok compileCall_datetime_toDate_ok_implies\n wf_datetime... | [
{
"name": "pe_datetime_toDate",
"text": "private theorem pe_datetime_toDate {dt : Ext.Datetime}:\n Datetime.toDate (.prim (.ext (Ext.datetime dt))) =\n match dt.toDate with\n | none => .none (.prim (.ext .datetime))\n | some dt' => .some (.prim (.ext (Ext.datetime dt')))\n:= by\n -- Rewrite the spec's ... | [
{
"name": "compile_evaluate_call_datetime_toDate",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 624,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": ... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -32,6 +32,72 @@
----- PE lemmas for ExtFuns -----
+private theorem pe_datetime_toDate {dt : Ext.Datetime}:
+ Datetime.toDate (.prim (.ext (Ext.datetime dt))) =
+ match dt.toDate with
+ | none => .none (.prim (.ext .datetime))
+ | some dt' => .some (.prim (.ext (Ext.datetime dt')))
+:= by
+ -- Rewrite the s... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_55 | 418ebabf48be209f | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 55 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_datetime_toTime",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₁_evaluate_ext env hwφ ih hok compileCall_datetime_toTime_ok_implies\n wf_datetime... | [
{
"name": "pe_datetime_toTime",
"text": "private theorem pe_datetime_toTime {dt : Ext.Datetime}:\n Datetime.toTime (.prim (.ext (Ext.datetime dt))) = .prim (.ext (Ext.duration dt.toTime))\n:= by\n simp only [Datetime.toTime, pe_ext_datetime_val, pe_bvsrem, pe_bvadd, pe_bvsle,\n pe_eq_lit isLiteral_prim... | [
{
"name": "compile_evaluate_call_datetime_toTime",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 624,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": ... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -32,6 +32,53 @@
----- PE lemmas for ExtFuns -----
+private theorem pe_datetime_toTime {dt : Ext.Datetime}:
+ Datetime.toTime (.prim (.ext (Ext.datetime dt))) = .prim (.ext (Ext.duration dt.toTime))
+:= by
+ simp only [Datetime.toTime, pe_ext_datetime_val, pe_bvsrem, pe_bvadd, pe_bvsle,
+ pe_eq_lit isLitera... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_56 | 6f328e3a48d4d172 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 56 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_duration_toMilliseconds",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₁_evaluate env hwφ ih hok compileCall_duration_toMilliseconds_ok_implies\n ... | [
{
"name": "pe_duration_toMilliseconds",
"text": "private theorem pe_duration_toMilliseconds {dur : Ext.Datetime.Duration} :\n Duration.toMilliseconds (.prim (.ext (Ext.duration dur))) = dur.toMilliseconds\n:= by simp only [Duration.toMilliseconds, pe_ext_duration_val] ; rfl\n\n",
"fan_in": 1,
"n_li... | [
{
"name": "compile_evaluate_call_duration_toMilliseconds",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 621,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -32,6 +32,10 @@
----- PE lemmas for ExtFuns -----
+private theorem pe_duration_toMilliseconds {dur : Ext.Datetime.Duration} :
+ Duration.toMilliseconds (.prim (.ext (Ext.duration dur))) = dur.toMilliseconds
+:= by simp only [Duration.toMilliseconds, pe_ext_duration_val] ; rfl
+
local macro "simp_compileCall₀_... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_57 | e1236105baef28ba | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 57 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_duration_toSeconds",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₁_evaluate env hwφ ih hok compileCall_duration_toSeconds_ok_implies\n wfl_of_ty... | [
{
"name": "pe_duration_toSeconds",
"text": "private theorem pe_duration_toSeconds {dur : Ext.Datetime.Duration} :\n Duration.toSeconds (.prim (.ext (Ext.duration dur))) = dur.toSeconds\n:= by simp only [Duration.toSeconds] ; rfl\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 185,
"n_subproofs"... | [
{
"name": "compile_evaluate_call_duration_toSeconds",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 596,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -32,6 +32,10 @@
----- PE lemmas for ExtFuns -----
+private theorem pe_duration_toSeconds {dur : Ext.Datetime.Duration} :
+ Duration.toSeconds (.prim (.ext (Ext.duration dur))) = dur.toSeconds
+:= by simp only [Duration.toSeconds] ; rfl
+
local macro "simp_compileCall₀_interpret" hok:ident compile_call_thm:ide... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_58 | 2efb5eb27a68036b | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 58 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_duration_toMinutes",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₁_evaluate env hwφ ih hok compileCall_duration_toMinutes_ok_implies\n wfl_of_ty... | [
{
"name": "pe_duration_toMinutes",
"text": "theorem pe_duration_toMinutes {dur : Ext.Datetime.Duration} :\n Duration.toMinutes (.prim (.ext (Ext.duration dur))) = dur.toMinutes\n:= by simp only [Duration.toMinutes] ; rfl\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 177,
"n_subproofs": 0,
... | [
{
"name": "compile_evaluate_call_duration_toMinutes",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 596,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -32,6 +32,10 @@
----- PE lemmas for ExtFuns -----
+theorem pe_duration_toMinutes {dur : Ext.Datetime.Duration} :
+ Duration.toMinutes (.prim (.ext (Ext.duration dur))) = dur.toMinutes
+:= by simp only [Duration.toMinutes] ; rfl
+
local macro "simp_compileCall₀_interpret" hok:ident compile_call_thm:ident : tac... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_59 | ede6c6ccb08abe3e | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 59 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_duration_toHours",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₁_evaluate env hwφ ih hok compileCall_duration_toHours_ok_implies\n wfl_of_type_e... | [
{
"name": "pe_duration_toHours",
"text": "private theorem pe_duration_toHours {dur : Ext.Datetime.Duration} :\n Duration.toHours (.prim (.ext (Ext.duration dur))) = dur.toHours\n:= by simp only [Duration.toHours] ; rfl\n\n",
"fan_in": 1,
"n_lines": 5,
"n_chars": 177,
"n_subproofs": 0,
"... | [
{
"name": "compile_evaluate_call_duration_toHours",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 586,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only":... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -32,6 +32,10 @@
----- PE lemmas for ExtFuns -----
+private theorem pe_duration_toHours {dur : Ext.Datetime.Duration} :
+ Duration.toHours (.prim (.ext (Ext.duration dur))) = dur.toHours
+:= by simp only [Duration.toHours] ; rfl
+
local macro "simp_compileCall₀_interpret" hok:ident compile_call_thm:ident : tac... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_60 | 001fa70c5af04342 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 60 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_duration_toDays",
"depth": 1,
"n_commands": 0,
"n_lines": 3,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₁_evaluate env hwφ ih hok compileCall_duration_toDays_ok_implies\n wfl_of_type_ext... | [
{
"name": "pe_duration_toDays",
"text": "private theorem pe_duration_toDays {dur : Ext.Datetime.Duration} :\n Duration.toDays (.prim (.ext (Ext.duration dur))) = dur.toDays\n:= by simp only [Duration.toDays] ; rfl\n\n----- Interpret lemmas for ExtFuns -----\n\n",
"fan_in": 1,
"n_lines": 7,
"n_c... | [
{
"name": "compile_evaluate_call_duration_toDays",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 581,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": ... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -32,6 +32,12 @@
----- PE lemmas for ExtFuns -----
+private theorem pe_duration_toDays {dur : Ext.Datetime.Duration} :
+ Duration.toDays (.prim (.ext (Ext.duration dur))) = dur.toDays
+:= by simp only [Duration.toDays] ; rfl
+
+----- Interpret lemmas for ExtFuns -----
+
local macro "simp_compileCall₀_interpret... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_00e69b3111fa_61 | 1d82f53ef7ea8994 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Call.lean | Call | 61 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 98 | 1 | [
{
"theorem_name": "compile_evaluate_call_datetime_offset",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp_compileCall₂_evaluate_ext env hwφ ih hok compileCall_datetime_offset_ok_implies\n wf_datetim... | [
{
"name": "pe_datetime_offset",
"text": "private theorem pe_datetime_offset {dt : Ext.Datetime} {dur : Ext.Datetime.Duration}:\n Datetime.offset (.prim (.ext (Ext.datetime dt))) (.prim (.ext (Ext.duration dur))) =\n match dt.offset dur with\n | none => .none (.prim (.ext .datetime))\n | some dt' => .som... | [
{
"name": "compile_evaluate_call",
"fan_in": 0,
"n_deps_direct": 22,
"n_deps_transitive": 50,
"n_lines": 60,
"n_chars": 2436,
"n_subproofs": 1,
"n_tactics": 51,
"cyclomatic": 2,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 23,
"automation_only": false,
... | 50 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -173,6 +173,31 @@
simp only [IPAddr.isMulticast, Ext.IPAddr.IPNet.isMulticast, pe_ipaddr_isInRangeLit]
cases ip <;> simp only
+private theorem pe_datetime_offset {dt : Ext.Datetime} {dur : Ext.Datetime.Duration}:
+ Datetime.offset (.prim (.ext (Ext.datetime dt))) (.prim (.ext (Ext.duration dur))) =
+ match... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_0 | 89cb25c19dbe2750 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfEntityUIDs?_some_exists",
"depth": 1,
"n_commands": 0,
"n_lines": 39,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hwt hty hs\n simp only [Term.setOfEntityUIDs?, Option.bind_eq_bind] at hs\n split at hs <;> simp... | [
{
"name": "term_entityUID?_some_iff_eq",
"text": "theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :\n t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)\n:= by\n constructor\n case mp =>\n intro h\n simp only [Term.entityUID?] at h\n split at h <;> simp only [Option.s... | [
{
"name": "term_setOfEntityUIDs?_some_exists",
"fan_in": 2,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 49,
"n_chars": 1879,
"n_subproofs": 1,
"n_tactics": 40,
"cyclomatic": 5,
"n_automation": 8,
"n_rewrites": 7,
"n_structural": 11,
"automation_only": f... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,21 @@
open Data Spec SymCC Factory
+theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :
+ t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)
+:= by
+ constructor
+ case mp =>
+ intro h
+ simp only [Term.entityUID?] at h
+ split at h <;> simp only [Option.some.injE... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_1 | e7f41c768d700825 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfTags?_some_lit",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hs\n simp only [Term.setOfTags?, Option.bind_eq_bind] at hs\n split at hs <;> try simp only at hs\n rena... | [
{
"name": "term_tag?_some_iff_eq",
"text": "theorem term_tag?_some_iff_eq {t : Term} {s : String} :\n t.tag? = some s ↔ t = Term.string s\n:= by\n simp only [Term.tag?]\n split <;> simp only [Option.some.injEq, Term.prim.injEq, TermPrim.string.injEq, false_iff, reduceCtorEq]\n by_contra hc\n subst hc\n... | [
{
"name": "term_setOfTags?_some_lit",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 22,
"n_chars": 624,
"n_subproofs": 0,
"n_tactics": 18,
"cyclomatic": 5,
"n_automation": 4,
"n_rewrites": 4,
"n_structural": 4,
"automation_only": false,
"... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,10 +29,37 @@
open Data Spec SymCC Factory
+theorem term_tag?_some_iff_eq {t : Term} {s : String} :
+ t.tag? = some s ↔ t = Term.string s
+:= by
+ simp only [Term.tag?]
+ split <;> simp only [Option.some.injEq, Term.prim.injEq, TermPrim.string.injEq, false_iff, reduceCtorEq]
+ by_contra hc
+ subst hc
+ ... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_2 | 9682b7a15adc9249 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfTags?_some_lit",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hs\n simp only [Term.setOfTags?, Option.bind_eq_bind] at hs\n split at hs <;> try simp only at hs\n rena... | [
{
"name": "term_tag?_some_iff_eq",
"text": "theorem term_tag?_some_iff_eq {t : Term} {s : String} :\n t.tag? = some s ↔ t = Term.string s\n:= by\n simp only [Term.tag?]\n split <;> simp only [Option.some.injEq, Term.prim.injEq, TermPrim.string.injEq, false_iff, reduceCtorEq]\n by_contra hc\n subst hc\n... | [
{
"name": "term_setOfTags?_some_exists",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 38,
"n_chars": 1307,
"n_subproofs": 0,
"n_tactics": 32,
"cyclomatic": 7,
"n_automation": 8,
"n_rewrites": 9,
"n_structural": 7,
"automation_only": false,
... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,17 @@
open Data Spec SymCC Factory
+theorem term_tag?_some_iff_eq {t : Term} {s : String} :
+ t.tag? = some s ↔ t = Term.string s
+:= by
+ simp only [Term.tag?]
+ split <;> simp only [Option.some.injEq, Term.prim.injEq, TermPrim.string.injEq, false_iff, reduceCtorEq]
+ by_contra hc
+ subst hc
+ ... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_3 | 736b4e7eaafcf432 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfEntityUIDs?_some_exists",
"depth": 1,
"n_commands": 0,
"n_lines": 39,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hwt hty hs\n simp only [Term.setOfEntityUIDs?, Option.bind_eq_bind] at hs\n split at hs <;> simp... | [
{
"name": "term_entityUID?_some_iff_eq",
"text": "theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :\n t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)\n:= by\n constructor\n case mp =>\n intro h\n simp only [Term.entityUID?] at h\n split at h <;> simp only [Option.s... | [
{
"name": "concretize?_some_same_requests",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 15,
"n_chars": 469,
"n_subproofs": 0,
"n_tactics": 11,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,21 @@
open Data Spec SymCC Factory
+theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :
+ t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)
+:= by
+ constructor
+ case mp =>
+ intro h
+ simp only [Term.entityUID?] at h
+ split at h <;> simp only [Option.some.injE... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_4 | ce4272a6b285dbd1 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfEntityUIDs?_some_exists",
"depth": 1,
"n_commands": 0,
"n_lines": 39,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hwt hty hs\n simp only [Term.setOfEntityUIDs?, Option.bind_eq_bind] at hs\n split at hs <;> simp... | [
{
"name": "term_entityUID?_some_iff_eq",
"text": "theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :\n t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)\n:= by\n constructor\n case mp =>\n intro h\n simp only [Term.entityUID?] at h\n split at h <;> simp only [Option.s... | [
{
"name": "concretize?_some_InSymAncestors",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 29,
"n_chars": 1283,
"n_subproofs": 0,
"n_tactics": 21,
"cyclomatic": 1,
"n_automation": 6,
"n_rewrites": 1,
"n_structural": 5,
"automation_only": fals... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,21 @@
open Data Spec SymCC Factory
+theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :
+ t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)
+:= by
+ constructor
+ case mp =>
+ intro h
+ simp only [Term.entityUID?] at h
+ split at h <;> simp only [Option.some.injE... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_5 | 5d4ea791d9e730ff | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfEntityUIDs?_some_exists",
"depth": 1,
"n_commands": 0,
"n_lines": 39,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hwt hty hs\n simp only [Term.setOfEntityUIDs?, Option.bind_eq_bind] at hs\n split at hs <;> simp... | [
{
"name": "term_entityUID?_some_iff_eq",
"text": "theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :\n t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)\n:= by\n constructor\n case mp =>\n intro h\n simp only [Term.entityUID?] at h\n split at h <;> simp only [Option.s... | [
{
"name": "concretize?_some_InAncestors",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 28,
"n_chars": 1326,
"n_subproofs": 0,
"n_tactics": 18,
"cyclomatic": 1,
"n_automation": 7,
"n_rewrites": 1,
"n_structural": 3,
"automation_only": false,
... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,21 @@
open Data Spec SymCC Factory
+theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :
+ t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)
+:= by
+ constructor
+ case mp =>
+ intro h
+ simp only [Term.entityUID?] at h
+ split at h <;> simp only [Option.some.injE... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_6 | 7c20ab1ed9d8b32f | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 3 | [
{
"theorem_name": "mapM_concretize?_taggedValueFor_none_implies_contains_tag_false",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n by_contra hc\n simp only [Bool.not_eq_false] at hc\n rw [Set.contains_pr... | [
{
"name": "concretize?_taggedValueFor_some_implies",
"text": "theorem concretize?_taggedValueFor_some_implies {tuid : Term} {tag tag' : Tag} {v : Value} {τs : SymTags} :\n SymEntityData.concretize?.taggedValueFor τs tuid tag = some (tag', v) →\n tag = tag' ∧ (τs.getTag! tuid (.string tag)).value? = some v... | [
{
"name": "mapM_concretize?_taggedValueFor_none_implies_contains_tag_false",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 25,
"n_chars": 1078,
"n_subproofs": 0,
"n_tactics": 16,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 3,
"n_structural"... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,17 @@
open Data Spec SymCC Factory
+theorem concretize?_taggedValueFor_some_implies {tuid : Term} {tag tag' : Tag} {v : Value} {τs : SymTags} :
+ SymEntityData.concretize?.taggedValueFor τs tuid tag = some (tag', v) →
+ tag = tag' ∧ (τs.getTag! tuid (.string tag)).value? = some v
+:= by
+ intro h
+... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_7 | 0464f52d857cfef4 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 3 | [
{
"theorem_name": "mapM_concretize?_taggedValueFor_none_implies_contains_tag_false",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n by_contra hc\n simp only [Bool.not_eq_false] at hc\n rw [Set.contains_pr... | [
{
"name": "concretize?_taggedValueFor_some_implies",
"text": "theorem concretize?_taggedValueFor_some_implies {tuid : Term} {tag tag' : Tag} {v : Value} {τs : SymTags} :\n SymEntityData.concretize?.taggedValueFor τs tuid tag = some (tag', v) →\n tag = tag' ∧ (τs.getTag! tuid (.string tag)).value? = some v... | [
{
"name": "mapM_concretize?_taggedValueFor_some_implies_contains_tag_true",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 21,
"n_chars": 994,
"n_subproofs": 0,
"n_tactics": 12,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 1,
"n_structural": ... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,17 @@
open Data Spec SymCC Factory
+theorem concretize?_taggedValueFor_some_implies {tuid : Term} {tag tag' : Tag} {v : Value} {τs : SymTags} :
+ SymEntityData.concretize?.taggedValueFor τs tuid tag = some (tag', v) →
+ tag = tag' ∧ (τs.getTag! tuid (.string tag)).value? = some v
+:= by
+ intro h
+... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_8 | 0ce29fe64f4dc6f5 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfTags?_some_lit",
"depth": 1,
"n_commands": 0,
"n_lines": 17,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hs\n simp only [Term.setOfTags?, Option.bind_eq_bind] at hs\n split at hs <;> try simp only at hs\n rena... | [
{
"name": "term_tag?_some_iff_eq",
"text": "theorem term_tag?_some_iff_eq {t : Term} {s : String} :\n t.tag? = some s ↔ t = Term.string s\n:= by\n simp only [Term.tag?]\n split <;> simp only [Option.some.injEq, Term.prim.injEq, TermPrim.string.injEq, false_iff, reduceCtorEq]\n by_contra hc\n subst hc\n... | [
{
"name": "concretize?_some_same_tags",
"fan_in": 1,
"n_deps_direct": 5,
"n_deps_transitive": 6,
"n_lines": 45,
"n_chars": 2142,
"n_subproofs": 4,
"n_tactics": 43,
"cyclomatic": 15,
"n_automation": 11,
"n_rewrites": 3,
"n_structural": 11,
"automation_only": false,... | 6 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,10 +29,37 @@
open Data Spec SymCC Factory
+theorem term_tag?_some_iff_eq {t : Term} {s : String} :
+ t.tag? = some s ↔ t = Term.string s
+:= by
+ simp only [Term.tag?]
+ split <;> simp only [Option.some.injEq, Term.prim.injEq, TermPrim.string.injEq, false_iff, reduceCtorEq]
+ by_contra hc
+ subst hc
+ ... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_9 | 1821b31e85270060 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfEntityUIDs?_some_exists",
"depth": 1,
"n_commands": 0,
"n_lines": 39,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hwt hty hs\n simp only [Term.setOfEntityUIDs?, Option.bind_eq_bind] at hs\n split at hs <;> simp... | [
{
"name": "term_entityUID?_some_iff_eq",
"text": "theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :\n t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)\n:= by\n constructor\n case mp =>\n intro h\n simp only [Term.entityUID?] at h\n split at h <;> simp only [Option.s... | [
{
"name": "concretize?_some_same_entity_data",
"fan_in": 1,
"n_deps_direct": 4,
"n_deps_transitive": 12,
"n_lines": 29,
"n_chars": 1166,
"n_subproofs": 1,
"n_tactics": 23,
"cyclomatic": 6,
"n_automation": 5,
"n_rewrites": 1,
"n_structural": 11,
"automation_only": ... | 12 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,21 @@
open Data Spec SymCC Factory
+theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :
+ t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)
+:= by
+ constructor
+ case mp =>
+ intro h
+ simp only [Term.entityUID?] at h
+ split at h <;> simp only [Option.some.injE... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_10 | 6420ba82ff230def | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfEntityUIDs?_some_exists",
"depth": 1,
"n_commands": 0,
"n_lines": 39,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hwt hty hs\n simp only [Term.setOfEntityUIDs?, Option.bind_eq_bind] at hs\n split at hs <;> simp... | [
{
"name": "term_entityUID?_some_iff_eq",
"text": "theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :\n t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)\n:= by\n constructor\n case mp =>\n intro h\n simp only [Term.entityUID?] at h\n split at h <;> simp only [Option.s... | [
{
"name": "concretize?_some_same_entities",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 13,
"n_lines": 24,
"n_chars": 958,
"n_subproofs": 0,
"n_tactics": 19,
"cyclomatic": 1,
"n_automation": 5,
"n_rewrites": 3,
"n_structural": 3,
"automation_only": false... | 13 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,21 @@
open Data Spec SymCC Factory
+theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :
+ t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)
+:= by
+ constructor
+ case mp =>
+ intro h
+ simp only [Term.entityUID?] at h
+ split at h <;> simp only [Option.some.injE... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_265d076e531b_11 | 5bf8b02677868876 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Concretizer/Same.lean | Same | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 15 | 2 | [
{
"theorem_name": "term_setOfEntityUIDs?_some_exists",
"depth": 1,
"n_commands": 0,
"n_lines": 39,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro hwt hty hs\n simp only [Term.setOfEntityUIDs?, Option.bind_eq_bind] at hs\n split at hs <;> simp... | [
{
"name": "term_entityUID?_some_iff_eq",
"text": "theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :\n t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)\n:= by\n constructor\n case mp =>\n intro h\n simp only [Term.entityUID?] at h\n split at h <;> simp only [Option.s... | [
{
"name": "concretize?_some_same",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 15,
"n_lines": 16,
"n_chars": 488,
"n_subproofs": 0,
"n_tactics": 10,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"ma... | 15 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -29,6 +29,21 @@
open Data Spec SymCC Factory
+theorem term_entityUID?_some_iff_eq {t : Term} {uid : EntityUID} :
+ t.entityUID? = some uid ↔ t = Term.prim (TermPrim.entity uid)
+:= by
+ constructor
+ case mp =>
+ intro h
+ simp only [Term.entityUID?] at h
+ split at h <;> simp only [Option.some.injE... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_afa33a8333ce_0 | 4281e6c5d931ff61 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/LitVar.lean | LitVar | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 1 | 1 | [
{
"theorem_name": "compile_evaluate_lit",
"depth": 1,
"n_commands": 0,
"n_lines": 20,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n cases p <;>\n rw [compile.eq_def] at h₁ <;>\n simp only [compilePrim, someOf, Except.ok.injEq] at h₁\n case bool |... | [
{
"name": "int64?_some",
"text": "theorem int64?_some {i : Int64} :\n BitVec.int64? i.toBitVec = some i\n:= by\n simp only [BitVec.int64?, ↓reduceIte, Int64.toBitVec, Option.some.injEq]\n cases i ; rename_i i\n simp only [Int64.ofInt]\n cases i ; rename_i i\n simp only\n congr\n simp only [BitVec.of... | [
{
"name": "compile_evaluate_lit",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 25,
"n_chars": 980,
"n_subproofs": 0,
"n_tactics": 23,
"cyclomatic": 6,
"n_automation": 6,
"n_rewrites": 4,
"n_structural": 2,
"automation_only": false,
"max_... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -33,10 +33,40 @@
open Batteries Data Spec SymCC Factory
+theorem int64?_some {i : Int64} :
+ BitVec.int64? i.toBitVec = some i
+:= by
+ simp only [BitVec.int64?, ↓reduceIte, Int64.toBitVec, Option.some.injEq]
+ cases i ; rename_i i
+ simp only [Int64.ofInt]
+ cases i ; rename_i i
+ simp only
+ congr
+ s... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_a2e5c9128aee_0 | 830084d242fd2b49 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/Validation/Typechecker/UnaryApp.lean | UnaryApp | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "type_of_not_is_sound",
"depth": 1,
"n_commands": 0,
"n_lines": 31,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have ⟨h₅, bty, c₁', h₆, h₄⟩ := type_of_not_inversion h₃\n subst h₅; rw [h₆]\n split_type_of h₄ ; rename_i h₄ hl₄ hr... | [
{
"name": "type_of_not_inversion",
"text": "theorem type_of_not_inversion {x₁ : Expr} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}\n (h₁ : typeOf (Expr.unaryApp .not x₁) c₁ env = Except.ok (ty, c₂)) :\n c₂ = ∅ ∧\n ∃ bty c₁',\n ty.typeOf = .bool bty.not ∧\n (typeOf x₁ c₁ env).typeOf = Exc... | [
{
"name": "type_of_not_is_sound",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 40,
"n_chars": 1538,
"n_subproofs": 5,
"n_tactics": 37,
"cyclomatic": 8,
"n_automation": 6,
"n_rewrites": 6,
"n_structural": 8,
"automation_only": false,
"max... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -26,6 +26,29 @@
open Cedar.Spec
open Cedar.Validation
+theorem type_of_not_inversion {x₁ : Expr} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}
+ (h₁ : typeOf (Expr.unaryApp .not x₁) c₁ env = Except.ok (ty, c₂)) :
+ c₂ = ∅ ∧
+ ∃ bty c₁',
+ ty.typeOf = .bool bty.not ∧
+ (typeOf x₁ c₁ env).typeOf... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_a2e5c9128aee_1 | bb648519e9d053fa | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/Validation/Typechecker/UnaryApp.lean | UnaryApp | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "type_of_neg_is_sound",
"depth": 1,
"n_commands": 0,
"n_lines": 24,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have ⟨h₅, h₆, c₁', h₄⟩ := type_of_neg_inversion h₃\n subst h₅; rw [h₆]\n apply And.intro empty_guarded_capabilities... | [
{
"name": "type_of_neg_inversion",
"text": "theorem type_of_neg_inversion {x₁ : Expr} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}\n (h₁ : typeOf (Expr.unaryApp .neg x₁) c₁ env = Except.ok (ty, c₂)) :\n c₂ = ∅ ∧\n ty.typeOf = .int ∧\n ∃ c₁', (typeOf x₁ c₁ env).typeOf = Except.ok (.int, c₁')\n... | [
{
"name": "type_of_neg_is_sound",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 33,
"n_chars": 1397,
"n_subproofs": 3,
"n_tactics": 27,
"cyclomatic": 4,
"n_automation": 6,
"n_rewrites": 4,
"n_structural": 6,
"automation_only": false,
"max... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -26,6 +26,23 @@
open Cedar.Spec
open Cedar.Validation
+theorem type_of_neg_inversion {x₁ : Expr} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}
+ (h₁ : typeOf (Expr.unaryApp .neg x₁) c₁ env = Except.ok (ty, c₂)) :
+ c₂ = ∅ ∧
+ ty.typeOf = .int ∧
+ ∃ c₁', (typeOf x₁ c₁ env).typeOf = Except.ok (.int, ... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_a2e5c9128aee_2 | 034dd2591d9e5dcd | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/Validation/Typechecker/UnaryApp.lean | UnaryApp | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "type_of_isEmpty_is_sound",
"depth": 1,
"n_commands": 0,
"n_lines": 18,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have ⟨h₅, h₆, c₁', h₄⟩ := type_of_isEmpty_inversion h₃\n subst h₅; rw [h₆]\n apply And.intro empty_guarded_capa... | [
{
"name": "type_of_isEmpty_inversion",
"text": "theorem type_of_isEmpty_inversion {x₁ : Expr} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}\n (h₁ : typeOf (Expr.unaryApp .isEmpty x₁) c₁ env = Except.ok (ty, c₂)) :\n c₂ = ∅ ∧\n ty.typeOf = .bool .anyBool ∧\n ∃ c₁' ty₀, (typeOf x₁ c₁ env).typeOf... | [
{
"name": "type_of_isEmpty_is_sound",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 27,
"n_chars": 1196,
"n_subproofs": 3,
"n_tactics": 21,
"cyclomatic": 3,
"n_automation": 3,
"n_rewrites": 4,
"n_structural": 4,
"automation_only": false,
... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -26,6 +26,23 @@
open Cedar.Spec
open Cedar.Validation
+theorem type_of_isEmpty_inversion {x₁ : Expr} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}
+ (h₁ : typeOf (Expr.unaryApp .isEmpty x₁) c₁ env = Except.ok (ty, c₂)) :
+ c₂ = ∅ ∧
+ ty.typeOf = .bool .anyBool ∧
+ ∃ c₁' ty₀, (typeOf x₁ c₁ env).type... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_a2e5c9128aee_3 | 6ea61e03a3574794 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/Validation/Typechecker/UnaryApp.lean | UnaryApp | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "type_of_like_is_sound",
"depth": 1,
"n_commands": 0,
"n_lines": 18,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have ⟨h₅, h₆, c₁', h₄⟩ := type_of_like_inversion h₃\n subst h₅; rw [h₆]\n apply And.intro empty_guarded_capabiliti... | [
{
"name": "type_of_like_inversion",
"text": "theorem type_of_like_inversion {x₁ : Expr} {p : Pattern} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}\n (h₁ : typeOf (Expr.unaryApp (.like p) x₁) c₁ env = Except.ok (ty, c₂)) :\n c₂ = ∅ ∧\n ty.typeOf = .bool .anyBool ∧\n ∃ c₁', (typeOf x₁ c₁ env).t... | [
{
"name": "type_of_like_is_sound",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 27,
"n_chars": 1217,
"n_subproofs": 3,
"n_tactics": 21,
"cyclomatic": 3,
"n_automation": 4,
"n_rewrites": 4,
"n_structural": 4,
"automation_only": false,
"ma... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -26,6 +26,23 @@
open Cedar.Spec
open Cedar.Validation
+theorem type_of_like_inversion {x₁ : Expr} {p : Pattern} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}
+ (h₁ : typeOf (Expr.unaryApp (.like p) x₁) c₁ env = Except.ok (ty, c₂)) :
+ c₂ = ∅ ∧
+ ty.typeOf = .bool .anyBool ∧
+ ∃ c₁', (typeOf x₁ c₁ e... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_a2e5c9128aee_4 | 80aa741284aa3e41 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/Validation/Typechecker/UnaryApp.lean | UnaryApp | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "type_of_is_is_sound",
"depth": 1,
"n_commands": 0,
"n_lines": 21,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have ⟨h₅, ety', c₁', h₆, h₄⟩ := type_of_is_inversion h₃\n subst h₅; rw [h₆]\n apply And.intro empty_guarded_capabili... | [
{
"name": "type_of_is_inversion",
"text": "theorem type_of_is_inversion {x₁ : Expr} {ety : EntityType} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}\n (h₁ : typeOf (Expr.unaryApp (.is ety) x₁) c₁ env = Except.ok (ty, c₂)) :\n c₂ = ∅ ∧\n ∃ ety' c₁',\n ty.typeOf = (.bool (if ety = ety' then .t... | [
{
"name": "type_of_is_is_sound",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 30,
"n_chars": 1349,
"n_subproofs": 3,
"n_tactics": 26,
"cyclomatic": 6,
"n_automation": 6,
"n_rewrites": 3,
"n_structural": 6,
"automation_only": false,
"max_... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -26,6 +26,29 @@
open Cedar.Spec
open Cedar.Validation
+theorem type_of_is_inversion {x₁ : Expr} {ety : EntityType} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}
+ (h₁ : typeOf (Expr.unaryApp (.is ety) x₁) c₁ env = Except.ok (ty, c₂)) :
+ c₂ = ∅ ∧
+ ∃ ety' c₁',
+ ty.typeOf = (.bool (if ety = ety' ... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_a2e5c9128aee_5 | e31dcab91050516a | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/Validation/Typechecker/UnaryApp.lean | UnaryApp | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 10 | 1 | [
{
"theorem_name": "type_of_isEmpty_is_sound",
"depth": 1,
"n_commands": 0,
"n_lines": 18,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have ⟨h₅, h₆, c₁', h₄⟩ := type_of_isEmpty_inversion h₃\n subst h₅; rw [h₆]\n apply And.intro empty_guarded_capa... | [
{
"name": "type_of_isEmpty_inversion",
"text": "theorem type_of_isEmpty_inversion {x₁ : Expr} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}\n (h₁ : typeOf (Expr.unaryApp .isEmpty x₁) c₁ env = Except.ok (ty, c₂)) :\n c₂ = ∅ ∧\n ty.typeOf = .bool .anyBool ∧\n ∃ c₁' ty₀, (typeOf x₁ c₁ env).typeOf... | [
{
"name": "type_of_unaryApp_is_sound",
"fan_in": 0,
"n_deps_direct": 5,
"n_deps_transitive": 10,
"n_lines": 16,
"n_chars": 915,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 2,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 5,
"automation_only": false,
... | 10 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -137,6 +137,23 @@
exact type_is_inhabited_int
}
+theorem type_of_isEmpty_inversion {x₁ : Expr} {c₁ c₂ : Capabilities} {env : TypeEnv} {ty : TypedExpr}
+ (h₁ : typeOf (Expr.unaryApp .isEmpty x₁) c₁ env = Except.ok (ty, c₂)) :
+ c₂ = ∅ ∧
+ ty.typeOf = .bool .anyBool ∧
+ ∃ c₁' ty₀, (typeOf x₁ c₁ env).type... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_fdc2add2fbea_0 | 471e5a008f33b322 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Unary.lean | Unary | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "compile_evaluate_unaryApp",
"depth": 1,
"n_commands": 0,
"n_lines": 20,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n replace ⟨t₁, t₂, hok, hr, ht⟩ := compile_unaryApp_ok_implies hok\n subst ht\n replace hwε := wf_εnv_for_unaryA... | [
{
"name": "compileApp₁_implies_apply₁",
"text": "private theorem compileApp₁_implies_apply₁ {op₁ : UnaryOp} {v₁ : Value} {t₁ t₂ : Term} {εs : SymEntities}\n (hwφ₁ : Term.WellFormed εs t₁)\n (ih : v₁ ∼ t₁)\n (hr : compileApp₁ op₁ t₁ = Except.ok t₂) :\n apply₁ op₁ v₁ ∼ t₂\n:= by\n have hwfl : t₁.WellForm... | [
{
"name": "compile_evaluate_unaryApp",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 29,
"n_chars": 1194,
"n_subproofs": 3,
"n_tactics": 20,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 5,
"n_structural": 2,
"automation_only": false,
... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -26,6 +26,75 @@
open Batteries Data Spec SymCC Factory
+private theorem compileApp₁_implies_apply₁ {op₁ : UnaryOp} {v₁ : Value} {t₁ t₂ : Term} {εs : SymEntities}
+ (hwφ₁ : Term.WellFormed εs t₁)
+ (ih : v₁ ∼ t₁)
+ (hr : compileApp₁ op₁ t₁ = Except.ok t₂) :
+ apply₁ op₁ v₁ ∼ t₂
+:= by
+ have hwfl : t₁.WellF... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_fdc2add2fbea_1 | 7f0e83d86601dd3f | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Compiler/Unary.lean | Unary | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 4 | 1 | [
{
"theorem_name": "compile_interpret_unaryApp",
"depth": 1,
"n_commands": 0,
"n_lines": 26,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n replace ⟨t₁, t₂, hok, ha, ht⟩ := compile_unaryApp_ok_implies hok\n subst ht\n have hwφ₁ := wf_εnv_for_unaryAp... | [
{
"name": "interpret_compileApp₁",
"text": "theorem interpret_compileApp₁ {op₁ : UnaryOp} {t t₁: Term} {εs : SymEntities} {I : Interpretation}\n (hI : Interpretation.WellFormed I εs)\n (hwt : Term.WellFormed εs t₁)\n (hok : compileApp₁ op₁ t₁ = Except.ok t) :\n compileApp₁ op₁ (t₁.interpret I) = .ok (t... | [
{
"name": "compile_interpret_unaryApp",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 3,
"n_lines": 34,
"n_chars": 1604,
"n_subproofs": 8,
"n_tactics": 27,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 6,
"n_structural": 1,
"automation_only": false,
... | 3 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -26,6 +26,35 @@
open Batteries Data Spec SymCC Factory
+theorem interpret_compileApp₁ {op₁ : UnaryOp} {t t₁: Term} {εs : SymEntities} {I : Interpretation}
+ (hI : Interpretation.WellFormed I εs)
+ (hwt : Term.WellFormed εs t₁)
+ (hok : compileApp₁ op₁ t₁ = Except.ok t) :
+ compileApp₁ op₁ (t₁.interpret I) ... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_0 | ff96aa7d4c907606 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 0 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_term_set_cons",
"depth": 1,
"n_commands": 0,
"n_lines": 11,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n intro h₁\n have h₂ := Set.mem_mk_hd hd tl\n simp only [wf_term_set_implies_wf_elt h₁ h₂, wf_term_set_implies_typeOf_elt... | [
{
"name": "wf_term_set_implies_typeOf_elt",
"text": "public theorem wf_term_set_implies_typeOf_elt {εs : SymEntities} {s : Set Term} {ty : TermType} {t : Term} :\n (Term.set s ty).WellFormed εs →\n t ∈ s →\n t.typeOf = ty\n:= by\n intro h₁ h₂\n cases h₁ ; rename_i h₃\n exact h₃ t h₂\n\n",
"fan_in"... | [
{
"name": "wf_term_set_cons",
"fan_in": 0,
"n_deps_direct": 4,
"n_deps_transitive": 4,
"n_lines": 16,
"n_chars": 783,
"n_subproofs": 1,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 8,
"automation_only": false,
"max_nest... | 4 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -49,6 +49,15 @@
cases h₁ ; rename_i h₃ _ _ _
exact h₃ t h₂
+public theorem wf_term_set_implies_typeOf_elt {εs : SymEntities} {s : Set Term} {ty : TermType} {t : Term} :
+ (Term.set s ty).WellFormed εs →
+ t ∈ s →
+ t.typeOf = ty
+:= by
+ intro h₁ h₂
+ cases h₁ ; rename_i h₃
+ exact h₃ t h₂
+
public th... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_1 | 74def0ea014a3468 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 1 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_term_app_not_exact",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have h₂ := wf_term_app_not h₁\n simp only [WFUnary, List.cons.injEq, and_true, exists_eq_left'] at h₂\n exact h₂",
... | [
{
"name": "wf_term_app_not",
"text": "public theorem wf_term_app_not {εs : SymEntities} {ts : List Term} {ty : TermType}\n (h₁ : (Term.app .not ts ty).WellFormed εs) :\n ty = .bool ∧ WFUnary εs ts .bool\n:= by invert_wf_term_app_unary h₁\n\n",
"fan_in": 1,
"n_lines": 6,
"n_chars": 209,
"n_... | [
{
"name": "wf_term_app_not_exact",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 9,
"n_chars": 300,
"n_subproofs": 1,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_n... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -85,10 +85,18 @@
simp only [true_and, WFUnary, List.cons.injEq, and_true, WFArg, exists_eq_left', $h1:ident, $h2:ident, _root_.and_self]
))
+public theorem wf_term_app_not {εs : SymEntities} {ts : List Term} {ty : TermType}
+ (h₁ : (Term.app .not ts ty).WellFormed εs) :
+ ty = .bool ∧ WFUnary εs ts .boo... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_2 | 6ec73f592f6567dd | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 2 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_term_app_ite_exact",
"depth": 1,
"n_commands": 0,
"n_lines": 4,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n have ⟨t₁', t₂', t₃', h₂⟩ := wf_term_app_ite h₁\n simp only [List.cons.injEq, and_true] at h₂\n simp only [h₂, _roo... | [
{
"name": "wf_term_app_ite",
"text": "public theorem wf_term_app_ite {εs : SymEntities} {ts : List Term} {ty : TermType}\n (h₁ : (Term.app .ite ts ty).WellFormed εs) :\n ∃ t₁ t₂ t₃, ts = [t₁, t₂, t₃] ∧ WFArg εs t₁ .bool ∧ WFArg εs t₂ ty ∧ WFArg εs t₃ ty\n:= by\n cases h₁\n rename_i h₁ h₂\n cases h₂\n ... | [
{
"name": "wf_term_app_ite_exact",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 10,
"n_chars": 433,
"n_subproofs": 1,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -106,10 +106,25 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_term_app_ite {εs : SymEntities} {ts : List Term} {ty : TermType}
+ (h₁ : (Term.app .ite ts ty).WellFormed εs) :
+ ∃ t₁ t₂ t₃, ts = [t₁, t₂, t₃] ∧ WFArg εs t₁ .bool ∧ WFArg εs t₂ ty ∧ WFArg εs t₃ ty
+:= by
+ cases h₁
+ rename_i ... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_3 | 1e4d662593a8e54f | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 3 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_setOf_map",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n apply wf_setOf _ _ hwty\n all_goals {\n intro tₒ ht\n simp only [List.mem_map] at ht\n replace ⟨t, ht, ho⟩ := ht\n ... | [
{
"name": "wf_setOf",
"text": "public theorem wf_setOf {εs : SymEntities} {ts : List Term} {ty : TermType}\n (h₁ : ∀ t ∈ ts, t.WellFormed εs)\n (h₂ : ∀ t ∈ ts, t.typeOf = ty)\n (h₃ : ty.WellFormed εs) :\n (setOf ts ty).WellFormed εs ∧ (setOf ts ty).typeOf = .set ty\n:= by\n simp only [setOf, typeOf_ter... | [
{
"name": "wf_setOf_map",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 16,
"n_chars": 459,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": false,
"max_nesting":... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -164,12 +164,34 @@
intros t h₃ ; simp at h₃
cases h₃ <;> rename_i h₃ <;> subst h₃ <;> assumption
+public theorem wf_setOf {εs : SymEntities} {ts : List Term} {ty : TermType}
+ (h₁ : ∀ t ∈ ts, t.WellFormed εs)
+ (h₂ : ∀ t ∈ ts, t.typeOf = ty)
+ (h₃ : ty.WellFormed εs) :
+ (setOf ts ty).WellFormed εs ∧ (se... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_4 | de36ea099ad5e6b1 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 4 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_setOf_map",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n apply wf_setOf _ _ hwty\n all_goals {\n intro tₒ ht\n simp only [List.mem_map] at ht\n replace ⟨t, ht, ho⟩ := ht\n ... | [
{
"name": "wf_setOf",
"text": "public theorem wf_setOf {εs : SymEntities} {ts : List Term} {ty : TermType}\n (h₁ : ∀ t ∈ ts, t.WellFormed εs)\n (h₂ : ∀ t ∈ ts, t.typeOf = ty)\n (h₃ : ty.WellFormed εs) :\n (setOf ts ty).WellFormed εs ∧ (setOf ts ty).typeOf = .set ty\n:= by\n simp only [setOf, typeOf_ter... | [
{
"name": "wf_some_setOf_map",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 10,
"n_chars": 458,
"n_subproofs": 1,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_nest... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -164,12 +164,34 @@
intros t h₃ ; simp at h₃
cases h₃ <;> rename_i h₃ <;> subst h₃ <;> assumption
+public theorem wf_setOf {εs : SymEntities} {ts : List Term} {ty : TermType}
+ (h₁ : ∀ t ∈ ts, t.WellFormed εs)
+ (h₂ : ∀ t ∈ ts, t.typeOf = ty)
+ (h₃ : ty.WellFormed εs) :
+ (setOf ts ty).WellFormed εs ∧ (se... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_5 | e7a86712248d92b3 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 5 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_recordOf_map",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n apply wf_recordOf\n intro a t h\n simp only [List.mem_map] at h\n replace ⟨(a', t'), hmem, h⟩ := h\n simp only [Prod.ma... | [
{
"name": "wf_recordOf",
"text": "public theorem wf_recordOf {εs : SymEntities} {ats : List (Attr × Term)}\n (h₁ : ∀ a t, (a, t) ∈ ats → t.WellFormed εs) :\n (recordOf ats).WellFormed εs\n:= by\n simp only [recordOf]\n apply Term.WellFormed.record_wf _ (Map.make_wf ats)\n intro a t ht\n replace ht := ... | [
{
"name": "wf_recordOf_map",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 14,
"n_chars": 439,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 3,
"automation_only": false,
"max_nestin... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -164,10 +164,28 @@
intros t h₃ ; simp at h₃
cases h₃ <;> rename_i h₃ <;> subst h₃ <;> assumption
+public theorem wf_recordOf {εs : SymEntities} {ats : List (Attr × Term)}
+ (h₁ : ∀ a t, (a, t) ∈ ats → t.WellFormed εs) :
+ (recordOf ats).WellFormed εs
+:= by
+ simp only [recordOf]
+ apply Term.WellFormed.... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_6 | eb796112bc50d7b8 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 6 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_recordOf_map",
"depth": 1,
"n_commands": 0,
"n_lines": 9,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n apply wf_recordOf\n intro a t h\n simp only [List.mem_map] at h\n replace ⟨(a', t'), hmem, h⟩ := h\n simp only [Prod.ma... | [
{
"name": "wf_recordOf",
"text": "public theorem wf_recordOf {εs : SymEntities} {ats : List (Attr × Term)}\n (h₁ : ∀ a t, (a, t) ∈ ats → t.WellFormed εs) :\n (recordOf ats).WellFormed εs\n:= by\n simp only [recordOf]\n apply Term.WellFormed.record_wf _ (Map.make_wf ats)\n intro a t ht\n replace ht := ... | [
{
"name": "wf_some_recordOf_map",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 451,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_ne... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -164,10 +164,28 @@
intros t h₃ ; simp at h₃
cases h₃ <;> rename_i h₃ <;> subst h₃ <;> assumption
+public theorem wf_recordOf {εs : SymEntities} {ats : List (Attr × Term)}
+ (h₁ : ∀ a t, (a, t) ∈ ats → t.WellFormed εs) :
+ (recordOf ats).WellFormed εs
+:= by
+ simp only [recordOf]
+ apply Term.WellFormed.... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_7 | 02641bb96f0cf7b7 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 7 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_not",
"fan_in": 6,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 22,
"n_chars": 629,
"n_subproofs": 0,
"n_tactics": 19,
"cyclomatic": 6,
"n_automation": 6,
"n_rewrites": 1,
"n_structural": 6,
"automation_only": false,
"max_nesting": 6
... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_8 | 708835b668d78590 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 8 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_eq_simplify",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 4,
"n_lines": 17,
"n_chars": 692,
"n_subproofs": 0,
"n_tactics": 12,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 3,
"automation_only": false,
"max_nestin... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_9 | 3f61f64636bd0ea3 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 9 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_eq",
"fan_in": 4,
"n_deps_direct": 3,
"n_deps_transitive": 6,
"n_lines": 16,
"n_chars": 571,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 2,
"automation_only": false,
"max_nesting": 4
}
... | 4 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_10 | 8e29f4a13ec1d315 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 10 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ite_simplify",
"fan_in": 1,
"n_deps_direct": 4,
"n_deps_transitive": 7,
"n_lines": 23,
"n_chars": 812,
"n_subproofs": 0,
"n_tactics": 17,
"cyclomatic": 10,
"n_automation": 6,
"n_rewrites": 3,
"n_structural": 4,
"automation_only": false,
"max_nest... | 5 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_11 | 97ee17bb8b69aa3f | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 11 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ite",
"fan_in": 8,
"n_deps_direct": 2,
"n_deps_transitive": 9,
"n_lines": 18,
"n_chars": 685,
"n_subproofs": 1,
"n_tactics": 9,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 2,
"automation_only": false,
"max_nesting": 4
}... | 7 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_12 | 14fa0d9e861c8562 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 12 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_app",
"fan_in": 2,
"n_deps_direct": 4,
"n_deps_transitive": 13,
"n_lines": 39,
"n_chars": 1349,
"n_subproofs": 4,
"n_tactics": 33,
"cyclomatic": 5,
"n_automation": 13,
"n_rewrites": 2,
"n_structural": 6,
"automation_only": false,
"max_nesting": 8... | 11 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_13 | bcdf8c3d932911f0 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 13 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_bvneg",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 18,
"n_chars": 562,
"n_subproofs": 0,
"n_tactics": 14,
"cyclomatic": 4,
"n_automation": 5,
"n_rewrites": 0,
"n_structural": 3,
"automation_only": false,
"max_nesting": 4
... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_14 | 0ca358ab4da8bef2 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 14 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_bvnego",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 13,
"n_chars": 400,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nesting": 4
... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_15 | 8190d6e8a7d41cb9 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 15 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_zero_extend",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 17,
"n_chars": 566,
"n_subproofs": 0,
"n_tactics": 12,
"cyclomatic": 3,
"n_automation": 5,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_nestin... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_16 | 84da2b7f10106717 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 16 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_set_isEmpty",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 8,
"n_lines": 21,
"n_chars": 661,
"n_subproofs": 0,
"n_tactics": 17,
"cyclomatic": 4,
"n_automation": 3,
"n_rewrites": 2,
"n_structural": 5,
"automation_only": false,
"max_nestin... | 6 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_17 | 135d814484ab5bd7 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 17 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_set_intersects",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 10,
"n_lines": 13,
"n_chars": 476,
"n_subproofs": 1,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nes... | 8 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_18 | 27d0f7b73cebb124 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 18 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_record_get",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 34,
"n_chars": 1100,
"n_subproofs": 2,
"n_tactics": 31,
"cyclomatic": 5,
"n_automation": 10,
"n_rewrites": 4,
"n_structural": 3,
"automation_only": false,
"max_nesti... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -159,6 +159,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_19 | 6acbc09d3acc8d16 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 19 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_option_get",
"fan_in": 4,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 19,
"n_chars": 618,
"n_subproofs": 0,
"n_tactics": 14,
"cyclomatic": 3,
"n_automation": 6,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_nesting... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_20 | a69db816e67d8a5f | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 20 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_option_get_mem_of_type",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 9,
"n_chars": 324,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 2,
"automation_only": false,
"m... | 3 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_21 | e252c487085da7d3 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 21 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_option_get_mem_of_type_snd",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 9,
"n_chars": 368,
"n_subproofs": 0,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
... | 3 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_22 | cbfef93b5ae73853 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 22 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_option_get'",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 17,
"n_chars": 587,
"n_subproofs": 1,
"n_tactics": 10,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 1,
"n_structural": 2,
"automation_only": false,
"max_nestin... | 4 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -159,6 +159,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_23 | 81329904c10cbe85 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 23 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_string_like",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 17,
"n_chars": 625,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nesting... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_24 | a8fee4bc22102005 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 24 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_decimal_val",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 13,
"n_chars": 463,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nes... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_25 | f8c7a3fe9f02cea6 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 25 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_ipaddr_isV4",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 13,
"n_chars": 459,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nes... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_26 | 161b0d6f8c2b785b | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 26 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_ipaddr_addrV4",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 14,
"n_chars": 561,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_n... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_27 | 593a85cafe5aeabb | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 27 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_ipaddr_addrV4'",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 15,
"n_chars": 521,
"n_subproofs": 1,
"n_tactics": 8,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 2,
"automation_only": false,
"max_... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_28 | 418e53965e147058 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 28 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_ipaddr_prefixV4",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 16,
"n_chars": 672,
"n_subproofs": 0,
"n_tactics": 11,
"cyclomatic": 4,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 3,
"automation_only": false,
"ma... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_29 | 0af7cd3c43181da0 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 29 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_ipaddr_prefixV4'",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 15,
"n_chars": 545,
"n_subproofs": 1,
"n_tactics": 8,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 2,
"automation_only": false,
"ma... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_30 | 3ee99dc7f55b87d7 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 30 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_ipaddr_addrV6",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 14,
"n_chars": 557,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_n... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_31 | 73b10d0a6fd68f1b | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 31 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_ipaddr_addrV6'",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 15,
"n_chars": 525,
"n_subproofs": 1,
"n_tactics": 8,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 2,
"automation_only": false,
"max_... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_32 | fee63d7a83e4db30 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 32 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_ipaddr_prefixV6",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 16,
"n_chars": 675,
"n_subproofs": 0,
"n_tactics": 11,
"cyclomatic": 4,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 3,
"automation_only": false,
"ma... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_33 | 6581088bbb3c2681 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 33 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_ipaddr_prefixV6'",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 15,
"n_chars": 545,
"n_subproofs": 1,
"n_tactics": 8,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 2,
"automation_only": false,
"ma... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_34 | 290c56377f4462a5 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 34 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_datetime_val",
"fan_in": 4,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 13,
"n_chars": 469,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_ne... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_35 | 6d39a08342f13d84 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 35 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_datetime_ofBitVec",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 14,
"n_chars": 530,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"m... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -157,6 +157,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_36 | ee85b0e02d5dfa93 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 36 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_duration_val",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 13,
"n_chars": 469,
"n_subproofs": 0,
"n_tactics": 7,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_ne... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_37 | 1c112a6cebee69d7 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 37 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ext_duration_ofBitVec",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 2,
"n_lines": 14,
"n_chars": 530,
"n_subproofs": 0,
"n_tactics": 8,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"m... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -157,6 +157,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_38 | 60c403eba76a943f | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 38 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_isNone",
"fan_in": 4,
"n_deps_direct": 4,
"n_deps_transitive": 9,
"n_lines": 24,
"n_chars": 673,
"n_subproofs": 1,
"n_tactics": 20,
"cyclomatic": 4,
"n_automation": 5,
"n_rewrites": 0,
"n_structural": 4,
"automation_only": false,
"max_nesting": 6... | 7 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -176,6 +176,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_39 | 5b2eacad0993afb1 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 39 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_isSome",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 10,
"n_lines": 9,
"n_chars": 238,
"n_subproofs": 1,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nesting": 2
... | 8 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -176,6 +176,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_40 | b34cb8d8e0ab264b | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 40 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ifSome_option",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 15,
"n_lines": 17,
"n_chars": 523,
"n_subproofs": 2,
"n_tactics": 11,
"cyclomatic": 2,
"n_automation": 2,
"n_rewrites": 2,
"n_structural": 3,
"automation_only": false,
"max_nes... | 13 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -176,6 +176,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_41 | b138cea6b2c83344 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 41 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ifFalse",
"fan_in": 6,
"n_deps_direct": 1,
"n_deps_transitive": 10,
"n_lines": 14,
"n_chars": 422,
"n_subproofs": 1,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nesting": ... | 8 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_42 | f0a8da8be1f200c6 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 42 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ifTrue",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 10,
"n_lines": 15,
"n_chars": 422,
"n_subproofs": 1,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 3,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nesting": 4... | 8 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_43 | 06c7ff5cb7d801e1 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 43 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 3 | [
{
"theorem_name": "wf_ite_simplify",
"depth": 1,
"n_commands": 0,
"n_lines": 14,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only [ite.simplify, Bool.or_eq_true, decide_eq_true_eq]\n split <;> try simp [h₂]\n split <;> try simp [h₃, h₅]\n ... | [
{
"name": "wf_or",
"text": "public theorem wf_or {εs : SymEntities} {t₁ t₂ : Term}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = .bool)\n (h₄ : t₂.typeOf = .bool) :\n (or t₁ t₂).WellFormed εs ∧ (or t₁ t₂).typeOf = .bool\n:= by\n simp [Factory.or]\n split\n case isTrue => si... | [
{
"name": "wf_anyTrue",
"fan_in": 1,
"n_deps_direct": 3,
"n_deps_transitive": 4,
"n_lines": 14,
"n_chars": 437,
"n_subproofs": 0,
"n_tactics": 9,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 1,
"n_structural": 5,
"automation_only": false,
"max_nesting": 2... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -164,6 +164,26 @@
intros t h₃ ; simp at h₃
cases h₃ <;> rename_i h₃ <;> subst h₃ <;> assumption
+public theorem wf_or {εs : SymEntities} {t₁ t₂ : Term}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = .bool)
+ (h₄ : t₂.typeOf = .bool) :
+ (or t₁ t₂).WellFormed εs ∧ (or t₁ t₂).type... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_44 | 351b4f24f9250383 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 44 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_anyNone",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 13,
"n_lines": 11,
"n_chars": 263,
"n_subproofs": 0,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 5,
"automation_only": false,
"max_nesting": ... | 11 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -176,6 +176,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_45 | 5326289c01455ab2 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 45 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ifAllSome",
"fan_in": 0,
"n_deps_direct": 2,
"n_deps_transitive": 18,
"n_lines": 16,
"n_chars": 607,
"n_subproofs": 3,
"n_tactics": 11,
"cyclomatic": 2,
"n_automation": 3,
"n_rewrites": 1,
"n_structural": 3,
"automation_only": false,
"max_nesting... | 16 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -176,6 +176,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_46 | ce7ded915b8abf84 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 46 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_bvaddChecked",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 13,
"n_lines": 12,
"n_chars": 505,
"n_subproofs": 2,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_nesti... | 11 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_47 | 3401556d4726ad84 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 47 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_bvsubChecked",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 13,
"n_lines": 12,
"n_chars": 505,
"n_subproofs": 2,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_nesti... | 11 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_48 | 57072392289b001a | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 48 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_bvmulChecked",
"fan_in": 0,
"n_deps_direct": 3,
"n_deps_transitive": 13,
"n_lines": 12,
"n_chars": 505,
"n_subproofs": 2,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_nesti... | 11 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -155,6 +155,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_49 | 606f4644968b7f99 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 49 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_decimal_lessThan",
"depth": 1,
"n_commands": 0,
"n_lines": 1,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by simp_wf_decimal_cmp h₁ h₂ Decimal.lessThan wf_bvslt",
"n_chars": 59,
"n_subproofs": 0,
"n_tactics": 1,
"cy... | [
{
"name": "wf_bvslt",
"text": "public theorem wf_bvslt {εs : SymEntities} {t₁ t₂ : Term} {n : Nat}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = .bitvec n)\n (h₄ : t₂.typeOf = .bitvec n) :\n (bvslt t₁ t₂).WellFormed εs ∧ (bvslt t₁ t₂).typeOf = .bool\n:= by simp_wf_bv_cmp h₁ h₂... | [
{
"name": "wf_decimal_lessThan",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 359,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_nes... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -202,6 +202,14 @@
(bvsdiv t₁ t₂).WellFormed εs ∧ (bvsdiv t₁ t₂).typeOf = .bitvec n
:= by simp_wf_bv_arith h₁ h₂ h₃ h₄ Factory.bvsdiv Op.WellTyped.bvsdiv_wt
+public theorem wf_bvslt {εs : SymEntities} {t₁ t₂ : Term} {n : Nat}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = .bitvec n)
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_50 | 8a7b8e7430d61c19 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 50 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 2 | [
{
"theorem_name": "wf_decimal_lessThanOrEqual",
"depth": 1,
"n_commands": 0,
"n_lines": 1,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by simp_wf_decimal_cmp h₁ h₂ Decimal.lessThanOrEqual wf_bvsle",
"n_chars": 66,
"n_subproofs": 0,
"n_tactic... | [
{
"name": "wf_bvsle",
"text": "public theorem wf_bvsle {εs : SymEntities} {t₁ t₂ : Term} {n : Nat}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = .bitvec n)\n (h₄ : t₂.typeOf = .bitvec n) :\n (bvsle t₁ t₂).WellFormed εs ∧ (bvsle t₁ t₂).typeOf = .bool\n:= by simp_wf_bv_cmp h₁ h₂... | [
{
"name": "wf_decimal_lessThanOrEqual",
"fan_in": 1,
"n_deps_direct": 1,
"n_deps_transitive": 1,
"n_lines": 7,
"n_chars": 387,
"n_subproofs": 0,
"n_tactics": 1,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"... | 1 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -202,6 +202,14 @@
(bvsdiv t₁ t₂).WellFormed εs ∧ (bvsdiv t₁ t₂).typeOf = .bitvec n
:= by simp_wf_bv_arith h₁ h₂ h₃ h₄ Factory.bvsdiv Op.WellTyped.bvsdiv_wt
+public theorem wf_bvsle {εs : SymEntities} {t₁ t₂ : Term} {n : Nat}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = .bitvec n)
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_51 | cc7ec39bc7f1d204 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 51 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_decimal_lessThan",
"depth": 1,
"n_commands": 0,
"n_lines": 1,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by simp_wf_decimal_cmp h₁ h₂ Decimal.lessThan wf_bvslt",
"n_chars": 59,
"n_subproofs": 0,
"n_tactics": 1,
"cy... | [
{
"name": "wf_bvslt",
"text": "public theorem wf_bvslt {εs : SymEntities} {t₁ t₂ : Term} {n : Nat}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = .bitvec n)\n (h₄ : t₂.typeOf = .bitvec n) :\n (bvslt t₁ t₂).WellFormed εs ∧ (bvslt t₁ t₂).typeOf = .bool\n:= by simp_wf_bv_cmp h₁ h₂... | [
{
"name": "wf_decimal_greaterThan",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 379,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -202,6 +202,14 @@
(bvsdiv t₁ t₂).WellFormed εs ∧ (bvsdiv t₁ t₂).typeOf = .bitvec n
:= by simp_wf_bv_arith h₁ h₂ h₃ h₄ Factory.bvsdiv Op.WellTyped.bvsdiv_wt
+public theorem wf_bvslt {εs : SymEntities} {t₁ t₂ : Term} {n : Nat}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = .bitvec n)
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_52 | 07f3e2cbe937b9f1 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 52 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 2 | [
{
"theorem_name": "wf_decimal_lessThanOrEqual",
"depth": 1,
"n_commands": 0,
"n_lines": 1,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by simp_wf_decimal_cmp h₁ h₂ Decimal.lessThanOrEqual wf_bvsle",
"n_chars": 66,
"n_subproofs": 0,
"n_tactic... | [
{
"name": "wf_bvsle",
"text": "public theorem wf_bvsle {εs : SymEntities} {t₁ t₂ : Term} {n : Nat}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = .bitvec n)\n (h₄ : t₂.typeOf = .bitvec n) :\n (bvsle t₁ t₂).WellFormed εs ∧ (bvsle t₁ t₂).typeOf = .bool\n:= by simp_wf_bv_cmp h₁ h₂... | [
{
"name": "wf_decimal_greaterThanOrEqual",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 2,
"n_lines": 9,
"n_chars": 414,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -202,6 +202,14 @@
(bvsdiv t₁ t₂).WellFormed εs ∧ (bvsdiv t₁ t₂).typeOf = .bitvec n
:= by simp_wf_bv_arith h₁ h₂ h₃ h₄ Factory.bvsdiv Op.WellTyped.bvsdiv_wt
+public theorem wf_bvsle {εs : SymEntities} {t₁ t₂ : Term} {n : Nat}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = .bitvec n)
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_53 | 2b7b16f539fb2e9a | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 53 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ipaddr_isIpv4",
"fan_in": 3,
"n_deps_direct": 1,
"n_deps_transitive": 3,
"n_lines": 8,
"n_chars": 271,
"n_subproofs": 0,
"n_tactics": 3,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_nestin... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_54 | 7d08f2444dd7d8b7 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 54 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ipaddr_isIpv6",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 5,
"n_lines": 9,
"n_chars": 296,
"n_subproofs": 1,
"n_tactics": 4,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_nestin... | 4 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -151,6 +151,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_55 | 3c4d9996e3a32b29 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 55 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 18 | [
{
"theorem_name": "wf_not",
"depth": 1,
"n_commands": 0,
"n_lines": 16,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only [typeOf_term_app] a... | [
{
"name": "wf_arg",
"text": "public theorem wf_arg {εs : SymEntities} {t₁ : Term}\n (h₁ : Term.WellFormed εs t₁) :\n ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t\n:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁\n\n",
"fan_in": 18,
"n_lines": 6,
"n_chars": 213,
"n_subproofs": 0,
"n_... | [
{
"name": "wf_ipaddr_subnetWidth",
"fan_in": 1,
"n_deps_direct": 6,
"n_deps_transitive": 19,
"n_lines": 24,
"n_chars": 963,
"n_subproofs": 8,
"n_tactics": 18,
"cyclomatic": 1,
"n_automation": 4,
"n_rewrites": 3,
"n_structural": 2,
"automation_only": false,
"ma... | 16 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -176,6 +176,11 @@
$h1:ident $t2:ident, $h3:ident]
))
+public theorem wf_arg {εs : SymEntities} {t₁ : Term}
+ (h₁ : Term.WellFormed εs t₁) :
+ ∀ (t : Term), t ∈ [t₁] → Term.WellFormed εs t
+:= by intros t₁ h₃; simp at h₃; subst h₃; exact h₁
+
public theorem wf_args {εs : SymEntities} {t₁ t₂ : Term}
... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_56 | e959928ff1566948 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 56 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 6 | [
{
"theorem_name": "wf_eq_simplify",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n fun_cases Factory.eq.simplify t₁ t₂\n <;> simp_all only [Term.prim.injEq, TermPrim.bool.injEq,\n Bool.and_eq_true, Bool... | [
{
"name": "wf_not",
"text": "public theorem wf_not {εs : SymEntities} {t : Term}\n (h₁ : t.WellFormed εs)\n (h₂ : t.typeOf = .bool) :\n (not t).WellFormed εs ∧ (not t).typeOf = .bool\n:= by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only ... | [
{
"name": "wf_ipaddr_range",
"fan_in": 2,
"n_deps_direct": 6,
"n_deps_transitive": 23,
"n_lines": 24,
"n_chars": 1241,
"n_subproofs": 5,
"n_tactics": 18,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 3,
"n_structural": 0,
"automation_only": false,
"max_nes... | 20 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -198,6 +198,27 @@
intros t h₃ ; simp at h₃
rcases h₃ with h₃ | h₃ | h₃ <;> subst h₃ <;> assumption
+public theorem wf_not {εs : SymEntities} {t : Term}
+ (h₁ : t.WellFormed εs)
+ (h₂ : t.typeOf = .bool) :
+ (not t).WellFormed εs ∧ (not t).typeOf = .bool
+:= by
+ simp [Factory.not]
+ split
+ case h_1 =>... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_57 | 2f3a494716bf6626 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 57 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 6 | [
{
"theorem_name": "wf_eq_simplify",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n fun_cases Factory.eq.simplify t₁ t₂\n <;> simp_all only [Term.prim.injEq, TermPrim.bool.injEq,\n Bool.and_eq_true, Bool... | [
{
"name": "wf_not",
"text": "public theorem wf_not {εs : SymEntities} {t : Term}\n (h₁ : t.WellFormed εs)\n (h₂ : t.typeOf = .bool) :\n (not t).WellFormed εs ∧ (not t).typeOf = .bool\n:= by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only ... | [
{
"name": "wf_ipaddr_rangeV4",
"fan_in": 2,
"n_deps_direct": 4,
"n_deps_transitive": 27,
"n_lines": 11,
"n_chars": 423,
"n_subproofs": 2,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": false,
"max_nes... | 24 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -198,6 +198,27 @@
intros t h₃ ; simp at h₃
rcases h₃ with h₃ | h₃ | h₃ <;> subst h₃ <;> assumption
+public theorem wf_not {εs : SymEntities} {t : Term}
+ (h₁ : t.WellFormed εs)
+ (h₂ : t.typeOf = .bool) :
+ (not t).WellFormed εs ∧ (not t).typeOf = .bool
+:= by
+ simp [Factory.not]
+ split
+ case h_1 =>... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_58 | 5c3c34de3de00dd0 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 58 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 6 | [
{
"theorem_name": "wf_eq_simplify",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n fun_cases Factory.eq.simplify t₁ t₂\n <;> simp_all only [Term.prim.injEq, TermPrim.bool.injEq,\n Bool.and_eq_true, Bool... | [
{
"name": "wf_not",
"text": "public theorem wf_not {εs : SymEntities} {t : Term}\n (h₁ : t.WellFormed εs)\n (h₂ : t.typeOf = .bool) :\n (not t).WellFormed εs ∧ (not t).typeOf = .bool\n:= by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only ... | [
{
"name": "wf_ipaddr_rangeV6",
"fan_in": 2,
"n_deps_direct": 4,
"n_deps_transitive": 27,
"n_lines": 11,
"n_chars": 423,
"n_subproofs": 2,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 0,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": false,
"max_nes... | 24 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -198,6 +198,27 @@
intros t h₃ ; simp at h₃
rcases h₃ with h₃ | h₃ | h₃ <;> subst h₃ <;> assumption
+public theorem wf_not {εs : SymEntities} {t : Term}
+ (h₁ : t.WellFormed εs)
+ (h₂ : t.typeOf = .bool) :
+ (not t).WellFormed εs ∧ (not t).typeOf = .bool
+:= by
+ simp [Factory.not]
+ split
+ case h_1 =>... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_59 | 1e7a61364198dc37 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 59 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 3 | [
{
"theorem_name": "wf_ite_simplify",
"depth": 1,
"n_commands": 0,
"n_lines": 14,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only [ite.simplify, Bool.or_eq_true, decide_eq_true_eq]\n split <;> try simp [h₂]\n split <;> try simp [h₃, h₅]\n ... | [
{
"name": "wf_and",
"text": "public theorem wf_and {εs : SymEntities} {t₁ t₂ : Term}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = .bool)\n (h₄ : t₂.typeOf = .bool) :\n (and t₁ t₂).WellFormed εs ∧ (and t₁ t₂).typeOf = .bool\n:= by\n simp [Factory.and]\n split\n case isTrue ... | [
{
"name": "wf_ipaddr_inRange",
"fan_in": 2,
"n_deps_direct": 2,
"n_deps_transitive": 4,
"n_lines": 12,
"n_chars": 611,
"n_subproofs": 2,
"n_tactics": 6,
"cyclomatic": 1,
"n_automation": 2,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nest... | 2 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -164,6 +164,26 @@
intros t h₃ ; simp at h₃
cases h₃ <;> rename_i h₃ <;> subst h₃ <;> assumption
+public theorem wf_and {εs : SymEntities} {t₁ t₂ : Term}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = .bool)
+ (h₄ : t₂.typeOf = .bool) :
+ (and t₁ t₂).WellFormed εs ∧ (and t₁ t₂).t... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_60 | 3f91eaa2748ef6af | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 60 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 3 | [
{
"theorem_name": "wf_ite_simplify",
"depth": 1,
"n_commands": 0,
"n_lines": 14,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only [ite.simplify, Bool.or_eq_true, decide_eq_true_eq]\n split <;> try simp [h₂]\n split <;> try simp [h₃, h₅]\n ... | [
{
"name": "wf_and",
"text": "public theorem wf_and {εs : SymEntities} {t₁ t₂ : Term}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = .bool)\n (h₄ : t₂.typeOf = .bool) :\n (and t₁ t₂).WellFormed εs ∧ (and t₁ t₂).typeOf = .bool\n:= by\n simp [Factory.and]\n split\n case isTrue ... | [
{
"name": "wf_ipaddr_inRangeV",
"fan_in": 1,
"n_deps_direct": 2,
"n_deps_transitive": 5,
"n_lines": 14,
"n_chars": 680,
"n_subproofs": 2,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_nes... | 3 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -164,6 +164,26 @@
intros t h₃ ; simp at h₃
cases h₃ <;> rename_i h₃ <;> subst h₃ <;> assumption
+public theorem wf_and {εs : SymEntities} {t₁ t₂ : Term}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = .bool)
+ (h₄ : t₂.typeOf = .bool) :
+ (and t₁ t₂).WellFormed εs ∧ (and t₁ t₂).t... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_61 | d6bbf5d93d72e621 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 61 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 4 | [
{
"theorem_name": "wf_app",
"depth": 1,
"n_commands": 0,
"n_lines": 32,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.app]\n split\n case h_1 =>\n simp [UnaryFunction.argType] at h₂\n simp [UnaryFunction.WellFormed] at h₃\n ... | [
{
"name": "wf_eq",
"text": "public theorem wf_eq {εs : SymEntities} {t₁ t₂ : Term}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = t₂.typeOf) :\n (eq t₁ t₂).WellFormed εs ∧ (eq t₁ t₂).typeOf = .bool\n:= by\n fun_cases Factory.eq t₁ t₂\n · replace h₁ := wf_term_some_implies h₁\n... | [
{
"name": "wf_ipaddr_isInRange",
"fan_in": 0,
"n_deps_direct": 6,
"n_deps_transitive": 38,
"n_lines": 11,
"n_chars": 652,
"n_subproofs": 2,
"n_tactics": 5,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 1,
"automation_only": false,
"max_n... | 35 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -235,6 +235,21 @@
· simp only [typeOf_term_app, and_true]
exact Term.WellFormed.app_wf (wf_args h₁ h₂) (Op.WellTyped.eq_wt h₃)
+public theorem wf_eq {εs : SymEntities} {t₁ t₂ : Term}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = t₂.typeOf) :
+ (eq t₁ t₂).WellFormed εs ∧ (eq t₁... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_62 | 4f5ce83f0d50a4c0 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 62 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 4 | [
{
"theorem_name": "wf_app",
"depth": 1,
"n_commands": 0,
"n_lines": 32,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.app]\n split\n case h_1 =>\n simp [UnaryFunction.argType] at h₂\n simp [UnaryFunction.WellFormed] at h₃\n ... | [
{
"name": "wf_eq",
"text": "public theorem wf_eq {εs : SymEntities} {t₁ t₂ : Term}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = t₂.typeOf) :\n (eq t₁ t₂).WellFormed εs ∧ (eq t₁ t₂).typeOf = .bool\n:= by\n fun_cases Factory.eq t₁ t₂\n · replace h₁ := wf_term_some_implies h₁\n... | [
{
"name": "wf_ipaddr_inRangeLit",
"fan_in": 2,
"n_deps_direct": 6,
"n_deps_transitive": 37,
"n_lines": 13,
"n_chars": 758,
"n_subproofs": 3,
"n_tactics": 8,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 1,
"n_structural": 1,
"automation_only": false,
"max_... | 34 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -235,6 +235,21 @@
· simp only [typeOf_term_app, and_true]
exact Term.WellFormed.app_wf (wf_args h₁ h₂) (Op.WellTyped.eq_wt h₃)
+public theorem wf_eq {εs : SymEntities} {t₁ t₂ : Term}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = t₂.typeOf) :
+ (eq t₁ t₂).WellFormed εs ∧ (eq t₁... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_63 | 784fd477b2250805 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 63 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 4 | [
{
"theorem_name": "wf_app",
"depth": 1,
"n_commands": 0,
"n_lines": 32,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.app]\n split\n case h_1 =>\n simp [UnaryFunction.argType] at h₂\n simp [UnaryFunction.WellFormed] at h₃\n ... | [
{
"name": "wf_eq",
"text": "public theorem wf_eq {εs : SymEntities} {t₁ t₂ : Term}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = t₂.typeOf) :\n (eq t₁ t₂).WellFormed εs ∧ (eq t₁ t₂).typeOf = .bool\n:= by\n fun_cases Factory.eq t₁ t₂\n · replace h₁ := wf_term_some_implies h₁\n... | [
{
"name": "wf_ipaddr_isLoopback",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 38,
"n_lines": 7,
"n_chars": 288,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"max_ne... | 35 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -235,6 +235,21 @@
· simp only [typeOf_term_app, and_true]
exact Term.WellFormed.app_wf (wf_args h₁ h₂) (Op.WellTyped.eq_wt h₃)
+public theorem wf_eq {εs : SymEntities} {t₁ t₂ : Term}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = t₂.typeOf) :
+ (eq t₁ t₂).WellFormed εs ∧ (eq t₁... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_64 | 0c2d452502f201a3 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 64 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 4 | [
{
"theorem_name": "wf_app",
"depth": 1,
"n_commands": 0,
"n_lines": 32,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp [Factory.app]\n split\n case h_1 =>\n simp [UnaryFunction.argType] at h₂\n simp [UnaryFunction.WellFormed] at h₃\n ... | [
{
"name": "wf_eq",
"text": "public theorem wf_eq {εs : SymEntities} {t₁ t₂ : Term}\n (h₁ : t₁.WellFormed εs)\n (h₂ : t₂.WellFormed εs)\n (h₃ : t₁.typeOf = t₂.typeOf) :\n (eq t₁ t₂).WellFormed εs ∧ (eq t₁ t₂).typeOf = .bool\n:= by\n fun_cases Factory.eq t₁ t₂\n · replace h₁ := wf_term_some_implies h₁\n... | [
{
"name": "wf_ipaddr_isMulticast",
"fan_in": 0,
"n_deps_direct": 1,
"n_deps_transitive": 38,
"n_lines": 7,
"n_chars": 292,
"n_subproofs": 0,
"n_tactics": 2,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": true,
"max_n... | 35 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -235,6 +235,21 @@
· simp only [typeOf_term_app, and_true]
exact Term.WellFormed.app_wf (wf_args h₁ h₂) (Op.WellTyped.eq_wt h₃)
+public theorem wf_eq {εs : SymEntities} {t₁ t₂ : Term}
+ (h₁ : t₁.WellFormed εs)
+ (h₂ : t₂.WellFormed εs)
+ (h₃ : t₁.typeOf = t₂.typeOf) :
+ (eq t₁ t₂).WellFormed εs ∧ (eq t₁... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_65 | 585b5225db20f749 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 65 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_ite_simplify",
"depth": 1,
"n_commands": 0,
"n_lines": 14,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only [ite.simplify, Bool.or_eq_true, decide_eq_true_eq]\n split <;> try simp [h₂]\n split <;> try simp [h₃, h₅]\n ... | [
{
"name": "wf_args_ternary",
"text": "theorem wf_args_ternary {εs : SymEntities} {t₁ t₂ t₃ : Term}\n (h₁ : Term.WellFormed εs t₁)\n (h₂ : Term.WellFormed εs t₂)\n (h₃ : Term.WellFormed εs t₃) :\n ∀ (t : Term), t ∈ [t₁, t₂, t₃] → Term.WellFormed εs t\n:= by\n intros t h₃ ; simp at h₃\n rcases h₃ with h... | [
{
"name": "wf_datetime_offset",
"fan_in": 0,
"n_deps_direct": 6,
"n_deps_transitive": 18,
"n_lines": 13,
"n_chars": 761,
"n_subproofs": 5,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
"max_ne... | 15 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -174,6 +174,15 @@
intros t h₃ ; simp at h₃
cases h₃ <;> rename_i h₃ <;> subst h₃ <;> assumption
+theorem wf_args_ternary {εs : SymEntities} {t₁ t₂ t₃ : Term}
+ (h₁ : Term.WellFormed εs t₁)
+ (h₂ : Term.WellFormed εs t₂)
+ (h₃ : Term.WellFormed εs t₃) :
+ ∀ (t : Term), t ∈ [t₁, t₂, t₃] → Term.WellFormed ε... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_66 | 045cfc3f1579c7e6 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 66 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 1 | [
{
"theorem_name": "wf_ite_simplify",
"depth": 1,
"n_commands": 0,
"n_lines": 14,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n simp only [ite.simplify, Bool.or_eq_true, decide_eq_true_eq]\n split <;> try simp [h₂]\n split <;> try simp [h₃, h₅]\n ... | [
{
"name": "wf_args_ternary",
"text": "theorem wf_args_ternary {εs : SymEntities} {t₁ t₂ t₃ : Term}\n (h₁ : Term.WellFormed εs t₁)\n (h₂ : Term.WellFormed εs t₂)\n (h₃ : Term.WellFormed εs t₃) :\n ∀ (t : Term), t ∈ [t₁, t₂, t₃] → Term.WellFormed εs t\n:= by\n intros t h₃ ; simp at h₃\n rcases h₃ with h... | [
{
"name": "wf_datetime_durationSince",
"fan_in": 0,
"n_deps_direct": 5,
"n_deps_transitive": 17,
"n_lines": 13,
"n_chars": 789,
"n_subproofs": 5,
"n_tactics": 7,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 0,
"n_structural": 0,
"automation_only": false,
... | 14 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -174,6 +174,15 @@
intros t h₃ ; simp at h₃
cases h₃ <;> rename_i h₃ <;> subst h₃ <;> assumption
+theorem wf_args_ternary {εs : SymEntities} {t₁ t₂ t₃ : Term}
+ (h₁ : Term.WellFormed εs t₁)
+ (h₂ : Term.WellFormed εs t₂)
+ (h₃ : Term.WellFormed εs t₃) :
+ ∀ (t : Term), t ∈ [t₁, t₂, t₃] → Term.WellFormed ε... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
ablate_411c859f5153_67 | f244254a20dd8cf3 | lean | lean | github.com/cedar-policy/cedar-spec | 795ddccff61c83aeb5d6a7ccd22abf5e00164c73 | cedar-lean/Cedar/Thm/SymCC/Term/WF.lean | WF | 67 | lemma_delete | null | null | false | 0.5 | 1 | 1 | false | 0 | inf | 0 | inf | 42 | 82 | 6 | [
{
"theorem_name": "wf_eq_simplify",
"depth": 1,
"n_commands": 0,
"n_lines": 10,
"is_leaf": true,
"centrality": 0,
"method": "deleted-dep",
"proof_text": " by\n fun_cases Factory.eq.simplify t₁ t₂\n <;> simp_all only [Term.prim.injEq, TermPrim.bool.injEq,\n Bool.and_eq_true, Bool... | [
{
"name": "wf_not",
"text": "public theorem wf_not {εs : SymEntities} {t : Term}\n (h₁ : t.WellFormed εs)\n (h₂ : t.typeOf = .bool) :\n (not t).WellFormed εs ∧ (not t).typeOf = .bool\n:= by\n simp [Factory.not]\n split\n case h_1 =>\n simp [typeOf_bool, wf_bool]\n case h_2 t' ty =>\n simp only ... | [
{
"name": "wf_datetime_toDate",
"fan_in": 0,
"n_deps_direct": 7,
"n_deps_transitive": 18,
"n_lines": 18,
"n_chars": 858,
"n_subproofs": 8,
"n_tactics": 13,
"cyclomatic": 1,
"n_automation": 1,
"n_rewrites": 2,
"n_structural": 1,
"automation_only": false,
"max_n... | 15 | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | /-
Copyright Cedar Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | @@ -183,6 +183,27 @@
intros t h₃ ; simp at h₃
rcases h₃ with h₃ | h₃ | h₃ <;> subst h₃ <;> assumption
+public theorem wf_not {εs : SymEntities} {t : Term}
+ (h₁ : t.WellFormed εs)
+ (h₂ : t.typeOf = .bool) :
+ (not t).WellFormed εs ∧ (not t).typeOf = .bool
+:= by
+ simp [Factory.not]
+ split
+ case h_1 =>... | {
"repo": "cedar-spec",
"git_repo": "github.com/cedar-policy/cedar-spec",
"revision": "795ddccff61c83aeb5d6a7ccd22abf5e00164c73",
"lean_toolchain": "leanprover/lean4:v4.31.0",
"proof_assistant": "lean",
"ablator": "ablators/lean (corollary-delete-lemmas-leaves-all)",
"ablator_flags": [
"--corollary-de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.