bump v4.22.0

This commit is contained in:
Jon Eugster
2025-08-30 00:44:07 +02:00
parent fe719fcfd3
commit 3558f5bfb6
6 changed files with 25 additions and 24 deletions

View File

@@ -34,7 +34,7 @@ $(d + f) + (h + (a + c)) + (g + e + b) = a + b + c + d + e + f + g + h$. -/
Statement (a b c d e f g h : ) :
(d + f) + (h + (a + c)) + (g + e + b) = a + b + c + d + e + f + g + h := by
Hint "Solve this level in one line with `simp only [add_assoc, add_left_comm, add_comm]`"
simp only [add_assoc, add_left_comm, add_comm]
simp only [add_left_comm, add_comm]
Conclusion
"

View File

@@ -53,6 +53,7 @@ and goal
TacticDoc contrapose
NewTactic contrapose
NewHiddenTactic contrapose!
/-- `succ_ne_succ m n` is the proof that `m ≠ n → succ m ≠ succ n`. -/
TheoremDoc MyNat.succ_ne_succ as "succ_ne_succ" in "Peano"

View File

@@ -10,7 +10,7 @@ Introduction "If the goal is not *exactly* a hypothesis, we can sometimes
use rewrites to fix things up."
/-- Assuming $0+x=(0+y)+2$, we have $x=y+2$. -/
Statement (x : ) (h : 0 + x = 0 + y + 2) : x = y + 2 := by
Statement (x y : ) (h : 0 + x = 0 + y + 2) : x = y + 2 := by
Hint "You can use `rw [zero_add] at {h}` to rewrite at `{h}` instead
of at the goal."
rw [zero_add] at h

View File

@@ -12,7 +12,7 @@ Try this one by yourself; if you need help then click on \"Show more help!\".
"
/-- $x+1=y+1 \implies x=y$. -/
Statement (x : ) : x + 1 = y + 1 x = y := by
Statement (x y : ) : x + 1 = y + 1 x = y := by
Hint (hidden := true) "Start with `intro h` to assume the hypothesis."
intro h
Hint (hidden := true) "Now `repeat rw [← succ_eq_add_one] at h` is the quickest way to

View File

@@ -5,37 +5,37 @@
"type": "git",
"subDir": null,
"scope": "leanprover-community",
"rev": "308445d7985027f538e281e18df29ca16ede2ba3",
"rev": "79e94a093aff4a60fb1b1f92d9681e407124c2ca",
"name": "mathlib",
"manifestFile": "lake-manifest.json",
"inputRev": "v4.21.0",
"inputRev": "v4.22.0",
"inherited": false,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover-community/lean4game.git",
"type": "git",
"subDir": "server",
"scope": "hhu-adam",
"rev": "274cc77ee8acc0fb3e1a78d969d4efd7a1029270",
"rev": "84a8bdaff4bc2cec689053eae52fe4d5e744bd73",
"name": "GameServer",
"manifestFile": "lake-manifest.json",
"inputRev": "v4.21.0",
"inputRev": "v4.22.0",
"inherited": false,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover-community/plausible",
"type": "git",
"subDir": null,
"scope": "leanprover-community",
"rev": "c4aa78186d388e50a436e8362b947bae125a2933",
"rev": "b100ad4c5d74a464f497aaa8e7c74d86bf39a56f",
"name": "plausible",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inputRev": "v4.22.0",
"inherited": true,
"configFile": "lakefile.toml"},
{"url": "https://github.com/leanprover-community/LeanSearchClient",
"type": "git",
"subDir": null,
"scope": "leanprover-community",
"rev": "6c62474116f525d2814f0157bb468bf3a4f9f120",
"rev": "99657ad92e23804e279f77ea6dbdeebaa1317b98",
"name": "LeanSearchClient",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
@@ -45,57 +45,57 @@
"type": "git",
"subDir": null,
"scope": "leanprover-community",
"rev": "d07bd64f1910f1cc5e4cc87b6b9c590080e7a457",
"rev": "eb164a46de87078f27640ee71e6c3841defc2484",
"name": "importGraph",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inputRev": "v4.22.0",
"inherited": true,
"configFile": "lakefile.toml"},
{"url": "https://github.com/leanprover-community/ProofWidgets4",
"type": "git",
"subDir": null,
"scope": "leanprover-community",
"rev": "6980f6ca164de593cb77cd03d8eac549cc444156",
"rev": "1253a071e6939b0faf5c09d2b30b0bfc79dae407",
"name": "proofwidgets",
"manifestFile": "lake-manifest.json",
"inputRev": "v0.0.62",
"inputRev": "v0.0.68",
"inherited": true,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover-community/aesop",
"type": "git",
"subDir": null,
"scope": "leanprover-community",
"rev": "8ff27701d003456fd59f13a9212431239d902aef",
"rev": "1256a18522728c2eeed6109b02dd2b8f207a2a3c",
"name": "aesop",
"manifestFile": "lake-manifest.json",
"inputRev": "master",
"inputRev": "v4.22.0",
"inherited": true,
"configFile": "lakefile.toml"},
{"url": "https://github.com/leanprover-community/quote4",
"type": "git",
"subDir": null,
"scope": "leanprover-community",
"rev": "e9c65db4823976353cd0bb03199a172719efbeb7",
"rev": "917bfa5064b812b7fbd7112d018ea0b4def25ab3",
"name": "Qq",
"manifestFile": "lake-manifest.json",
"inputRev": "master",
"inputRev": "v4.22.0",
"inherited": true,
"configFile": "lakefile.toml"},
{"url": "https://github.com/leanprover-community/batteries",
"type": "git",
"subDir": null,
"scope": "leanprover-community",
"rev": "8d2067bf518731a70a255d4a61b5c103922c772e",
"rev": "240676e9568c254a69be94801889d4b13f3b249f",
"name": "batteries",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inputRev": "v4.22.0",
"inherited": true,
"configFile": "lakefile.toml"},
{"url": "https://github.com/leanprover/lean4-cli",
"type": "git",
"subDir": null,
"scope": "leanprover",
"rev": "7c6aef5f75a43ebbba763b44d535175a1b04c9e0",
"rev": "c682c91d2d4dd59a7187e2ab977ac25bd1f87329",
"name": "Cli",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
@@ -105,10 +105,10 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "7dc27b87606f94ad0931a09f63330028d653d325",
"rev": "ea54e8c30bddfd8caa73e27a84ff97b4318f386d",
"name": "i18n",
"manifestFile": "lake-manifest.json",
"inputRev": "v4.21.0",
"inputRev": "v4.22.0",
"inherited": true,
"configFile": "lakefile.lean"}],
"name": "Game",

View File

@@ -1 +1 @@
leanprover/lean4:v4.21.0
leanprover/lean4:v4.22.0