Skip to content

Commit 7869fa1

Browse files
committed
Add Example.lean for matrix operations and update dependencies to v4.29.0-rc6
1 parent 05697da commit 7869fa1

4 files changed

Lines changed: 29 additions & 28 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import Mathlib.Data.Matrix.Basic
2+
3+
def matrix1 : Matrix (Fin 2) (Fin 3) Nat := ![![1, 2, 3], ![4, 5, 6]]
4+
def matrix2 : Matrix (Fin 3) (Fin 2) Nat := ![![1, 2], ![3, 4], ![5, 6]]
5+
6+
#eval matrix1
7+
#eval matrix1 * matrix2

lake-manifest.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,17 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "leanprover-community",
8-
"rev": "8f9d9cff6bd728b17a24e163c9402775d9e6a365",
8+
"rev": "58f63c64f7207514bdd291f66d1b67e62e6f8a20",
99
"name": "mathlib4",
1010
"manifestFile": "lake-manifest.json",
11-
"inputRev": "v4.28.0",
11+
"inputRev": "master",
1212
"inherited": false,
1313
"configFile": "lakefile.lean"},
14-
{"url": "https://github.com/leanprover-community/batteries",
15-
"type": "git",
16-
"subDir": null,
17-
"scope": "leanprover-community",
18-
"rev": "78a9bfe6b811fece2e00bf2c92e30729eeb8dc4e",
19-
"name": "batteries",
20-
"manifestFile": "lake-manifest.json",
21-
"inputRev": "main",
22-
"inherited": false,
23-
"configFile": "lakefile.toml"},
2414
{"url": "https://github.com/leanprover-community/plausible",
2515
"type": "git",
2616
"subDir": null,
2717
"scope": "leanprover-community",
28-
"rev": "55c8532eb21ec9f6d565d51d96b8ca50bd1fbef3",
18+
"rev": "e84e3e16aea6b72cc5d311ca1bb25caad417e162",
2919
"name": "plausible",
3020
"manifestFile": "lake-manifest.json",
3121
"inputRev": "main",
@@ -45,7 +35,7 @@
4535
"type": "git",
4636
"subDir": null,
4737
"scope": "leanprover-community",
48-
"rev": "85b59af46828c029a9168f2f9c35119bd0721e6e",
38+
"rev": "f207d9fcf0cef00ba79962a33ef156061914d9c7",
4939
"name": "importGraph",
5040
"manifestFile": "lake-manifest.json",
5141
"inputRev": "main",
@@ -55,17 +45,17 @@
5545
"type": "git",
5646
"subDir": null,
5747
"scope": "leanprover-community",
58-
"rev": "be3b2e63b1bbf496c478cef98b86972a37c1417d",
48+
"rev": "2e58165a9dcdca9837b666528f974299ee1a51cc",
5949
"name": "proofwidgets",
6050
"manifestFile": "lake-manifest.json",
61-
"inputRev": "v0.0.87",
51+
"inputRev": "v0.0.92",
6252
"inherited": true,
6353
"configFile": "lakefile.lean"},
6454
{"url": "https://github.com/leanprover-community/aesop",
6555
"type": "git",
6656
"subDir": null,
6757
"scope": "leanprover-community",
68-
"rev": "f642a64c76df8ba9cb53dba3b919425a0c2aeaf1",
58+
"rev": "c3361708f266893de5d1769192b60d4b1831f2bb",
6959
"name": "aesop",
7060
"manifestFile": "lake-manifest.json",
7161
"inputRev": "master",
@@ -75,20 +65,30 @@
7565
"type": "git",
7666
"subDir": null,
7767
"scope": "leanprover-community",
78-
"rev": "b8f98e9087e02c8553945a2c5abf07cec8e798c3",
68+
"rev": "221e8088e3a066b8676dc471ff10638cf1c10835",
7969
"name": "Qq",
8070
"manifestFile": "lake-manifest.json",
8171
"inputRev": "master",
8272
"inherited": true,
8373
"configFile": "lakefile.toml"},
74+
{"url": "https://github.com/leanprover-community/batteries",
75+
"type": "git",
76+
"subDir": null,
77+
"scope": "leanprover-community",
78+
"rev": "77a5160a74772214ef37caba2847cfe9ab600285",
79+
"name": "batteries",
80+
"manifestFile": "lake-manifest.json",
81+
"inputRev": "main",
82+
"inherited": true,
83+
"configFile": "lakefile.toml"},
8484
{"url": "https://github.com/leanprover/lean4-cli",
8585
"type": "git",
8686
"subDir": null,
8787
"scope": "leanprover",
88-
"rev": "4f10f47646cb7d5748d6f423f4a07f98f7bbcc9e",
88+
"rev": "3de531c1135f5e3a01f3ac04830996fda476b28e",
8989
"name": "Cli",
9090
"manifestFile": "lake-manifest.json",
91-
"inputRev": "v4.28.0",
91+
"inputRev": "v4.29.0-rc6",
9292
"inherited": true,
9393
"configFile": "lakefile.toml"}],
9494
"name": "ProgramAnalysis",

lakefile.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ name = "ProgramAnalysis"
99
name = "programanalysis"
1010
root = "Main"
1111

12-
[[require]]
13-
name = "batteries"
14-
scope = "leanprover-community"
15-
rev = "main"
16-
1712
[[require]]
1813
name = "mathlib4"
19-
scope = "leanprover-community"
20-
rev = "v4.28.0"
14+
scope = "leanprover-community"

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.28.0
1+
leanprover/lean4:v4.29.0-rc6

0 commit comments

Comments
 (0)