Skip to content

Commit 0e03035

Browse files
kim-emleanprover-community-mathlib4-botchenson2018mathlib4-botgithub-actions[bot]
authored
chore: bump toolchain to v4.26.0-rc1 (#171)
Co-authored-by: leanprover-community-mathlib4-bot <leanprover-community-mathlib4-bot@users.noreply.github.com> Co-authored-by: Chris Henson <chrishenson.net@gmail.com> Co-authored-by: mathlib4-bot <github-mathlib4-bot@leanprover.zulipchat.com> Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d11dbb6 commit 0e03035

10 files changed

Lines changed: 24 additions & 40 deletions

File tree

Cslib/Computability/Languages/Language.lean

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,6 @@ theorem mem_biSup {I : Type*} (s : Set I) (l : I → Language α) (x : List α)
3939
· apply mem_iUnion₂.mpr
4040
grind
4141

42-
-- This section will be removed once the following PR gets into mathlib:
43-
-- https://github.com/leanprover-community/mathlib4/pull/30913
44-
section from_mathlib4_30913
45-
46-
/-- The subtraction of two languages is their difference. -/
47-
instance : Sub (Language α) where
48-
sub := SDiff.sdiff
49-
50-
theorem sub_def (l m : Language α) : l - m = (l \ m : Set (List α)) :=
51-
rfl
52-
53-
theorem mem_sub (l m : Language α) (x : List α) : x ∈ l - m ↔ x ∈ l ∧ x ∉ m :=
54-
Iff.rfl
55-
56-
instance : OrderedSub (Language α) where
57-
tsub_le_iff_right _ _ _ := sdiff_le_iff'
58-
59-
end from_mathlib4_30913
60-
6142
theorem le_one_iff_eq : l ≤ 1 ↔ l = 0 ∨ l = 1 :=
6243
subset_singleton_iff_eq
6344

Cslib/Foundations/Data/FinFun.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ theorem fromFun_inter [Zero β] [DecidableEq α]
126126
@[scoped grind =]
127127
theorem fromFun_comm [Zero β] [DecidableEq α]
128128
[∀ y : β, Decidable (y = 0)] {f : α → β} {support1 support2 : Finset α} :
129-
(f ↾₀ support1) ↾₀ support2 = (f ↾₀ support2) ↾₀ support1 := by grind
129+
(f ↾₀ support1) ↾₀ support2 = (f ↾₀ support2) ↾₀ support1 := by
130+
grind only [= coe_eq_fn, = fromFun_fn, ←= ext]
130131

131132
end FinFun
132133

Cslib/Foundations/Data/Nat/Segment.lean

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,9 @@ private lemma base_zero_strictMono (hm : StrictMono f) :
193193
theorem segment'_eq_segment (hm : StrictMono f) :
194194
segment' f = segment f := by
195195
classical
196-
ext k ; unfold segment'
196+
ext k; unfold segment'
197197
rcases (show k < f 0 ∨ k ≥ f 0 by omega) with h_k | h_k
198-
· have : k - f 0 = 0 := by grind
199-
grind
198+
· grind
200199
unfold segment; congr 1
201200
simp only [count_eq_card_filter_range]
202201
suffices h : ∃ g, BijOn g

Cslib/Languages/LambdaCalculus/LocallyNameless/Fsub/Subtype.lean

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ lemma narrow_aux
8585
subst eq
8686
have p : ∀ δ, Γ ++ ⟨X, Binding.sub δ⟩ :: Δ ~ ⟨X, Binding.sub δ⟩ :: (Γ ++ Δ) :=
8787
by grind [perm_middle]
88-
by_cases X = X' <;> grind [Sub.weaken, sublist_append_of_sublist_right]
88+
by_cases X = X'
89+
· grind only [= append_assoc, = Option.or_some, = dlookup_append, weaken, = dlookup_cons_eq,
90+
→ wf, =_ singleton_append, =_ cons_append, = mem_append, = Option.or_eq_some_iff,
91+
= Option.mem_some, =_ append_assoc, trans_tvar, cases Or]
92+
· grind [Sub.weaken, sublist_append_of_sublist_right]
8993
case all => apply Sub.all (free_union Var) <;> grind
9094
#adaptation_note
9195
/--

Cslib/Languages/LambdaCalculus/LocallyNameless/Fsub/Typing.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ lemma narrow (sub : Sub Δ δ δ') (der : Typing (Γ ++ ⟨X, Binding.sub δ'⟩
9494
generalize eq : Γ ++ ⟨X, Binding.sub δ'⟩ :: Δ = Θ at der
9595
induction der generalizing Γ
9696
case var X' _ _ =>
97-
have : .sub δ' ∈ dlookup X (Γ ++ ⟨X, .sub δ'⟩ :: Δ) := by grind [List.mem_dlookup]
9897
grind [Env.Wf.narrow, List.perm_nodupKeys, => List.perm_dlookup]
9998
case' abs => apply abs (free_union Var)
10099
case' tabs => apply tabs (free_union Var)

docs/lakefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ packagesDir = "../.lake/packages"
66
[[require]]
77
scope = "leanprover"
88
name = "doc-gen4"
9-
rev = "v4.25.1"
9+
rev = "v4.26.0-rc1"
1010

1111
[[require]]
1212
name = "cslib"

docs/lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.25.1
1+
leanprover/lean4:v4.26.0-rc1

lake-manifest.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "leanprover-community",
8-
"rev": "0df2e3c2047ada0d7a2e33dbc6ba2788a44a6062",
8+
"rev": "6a54a80825b060ab20dc31751ebdce78b3a3b518",
99
"name": "mathlib",
1010
"manifestFile": "lake-manifest.json",
11-
"inputRev": "v4.25.1",
11+
"inputRev": "v4.26.0-rc1",
1212
"inherited": false,
1313
"configFile": "lakefile.lean"},
1414
{"url": "https://github.com/leanprover-community/plausible",
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "leanprover-community",
18-
"rev": "0203092c2e5e26edf967000f0e177cf31c72e17a",
18+
"rev": "ec4a54b5308c1f46b4b52a9c62fb67d193aa0972",
1919
"name": "plausible",
2020
"manifestFile": "lake-manifest.json",
2121
"inputRev": "main",
@@ -35,7 +35,7 @@
3535
"type": "git",
3636
"subDir": null,
3737
"scope": "leanprover-community",
38-
"rev": "3611075024b3529e5798e53c733671039f06f0bd",
38+
"rev": "7ff87023a8e1b358d2d01c1bc56b040a60609577",
3939
"name": "importGraph",
4040
"manifestFile": "lake-manifest.json",
4141
"inputRev": "main",
@@ -45,17 +45,17 @@
4545
"type": "git",
4646
"subDir": null,
4747
"scope": "leanprover-community",
48-
"rev": "135329b50b116dcc2c021c318c365e82a048856f",
48+
"rev": "894c511d39bf442636bcba085245a1cf2bbdf665",
4949
"name": "proofwidgets",
5050
"manifestFile": "lake-manifest.json",
51-
"inputRev": "v0.0.80",
51+
"inputRev": "v0.0.81",
5252
"inherited": true,
5353
"configFile": "lakefile.lean"},
5454
{"url": "https://github.com/leanprover-community/aesop",
5555
"type": "git",
5656
"subDir": null,
5757
"scope": "leanprover-community",
58-
"rev": "a2e4d9e9aebdbdce1ce6b6f0a19dd49e0120c990",
58+
"rev": "c00943d5ff28c6dc623dbc24f8d659a9d3a3d29a",
5959
"name": "aesop",
6060
"manifestFile": "lake-manifest.json",
6161
"inputRev": "master",
@@ -65,7 +65,7 @@
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "9bff22d64abde45944c7b1f55bce6c89dd8307e6",
68+
"rev": "1be06a278c3c249edafb722bfb278622024929d8",
6969
"name": "Qq",
7070
"manifestFile": "lake-manifest.json",
7171
"inputRev": "master",
@@ -75,7 +75,7 @@
7575
"type": "git",
7676
"subDir": null,
7777
"scope": "leanprover-community",
78-
"rev": "ffad3f5b7ebe1ac3e09779ec8a863a5138c1246c",
78+
"rev": "c278d4e94fe43bc38da4966795dc0c72538e68ab",
7979
"name": "batteries",
8080
"manifestFile": "lake-manifest.json",
8181
"inputRev": "main",
@@ -85,10 +85,10 @@
8585
"type": "git",
8686
"subDir": null,
8787
"scope": "leanprover",
88-
"rev": "cd188c6ecfbf6c00cf639e4d4fb18bf773ce8c2c",
88+
"rev": "00fad25fa9bedece1f1f988ab9c180dfe3d535b3",
8989
"name": "Cli",
9090
"manifestFile": "lake-manifest.json",
91-
"inputRev": "v4.25.1",
91+
"inputRev": "v4.26.0-rc1",
9292
"inherited": true,
9393
"configFile": "lakefile.toml"}],
9494
"name": "cslib",

lakefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ weak.linter.allScriptsDocumented = false
1616
[[require]]
1717
name = "mathlib"
1818
scope = "leanprover-community"
19-
rev = "v4.25.1"
19+
rev = "v4.26.0-rc1"
2020

2121
[[lean_lib]]
2222
name = "Cslib"

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.25.1
1+
leanprover/lean4:v4.26.0-rc1

0 commit comments

Comments
 (0)