Skip to content

Commit 1ef24d6

Browse files
authored
Merge pull request #14 from LeanMachineLearning/bump
Update dependencies
2 parents 3a835f9 + 4fba917 commit 1ef24d6

9 files changed

Lines changed: 28 additions & 160 deletions

File tree

‎FFI.lean‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
module -- shake: keep-all --deprecated_module: ignore
22

3-
public import FFI.FMA
43
public import FFI.Float
54
public import FFI.Float32
6-
public import FFI.Model.Float
7-
public import FFI.Model.Float32

‎FFI/FMA.lean‎

Lines changed: 0 additions & 57 deletions
This file was deleted.

‎FFI/Float.lean‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,11 @@ module
77

88
prelude
99
public import Init.Data.Float.Float
10-
public import FFI.Model.Float
1110

1211
@[expose] public section
1312

1413
namespace Float
1514

16-
/--
17-
Computes the fused multiply-add `x * y + z` of three floating-point numbers. This operation is
18-
performed with a single rounding, which can be more accurate than performing the multiplication and
19-
addition separately.
20-
21-
This function has a logical model in terms of `Float.Model`. It is implemented in compiled code by
22-
the C function `fma`.
23-
-/
24-
@[extern "fma"] def fma : Float → Float → Float → Float :=
25-
fun x y z => .ofModel (x.toModel.fma y.toModel z.toModel)
26-
2715
/-- `log (1 + x)`, the C99 `log1p`, accurate for small `x` where `log (1 + x)` loses the leading
2816
digits of the result to the rounding of `1 + x`. -/
2917
@[extern "log1p"] opaque log1p (x : Float) : Float

‎FFI/Float32.lean‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,11 @@ module
77

88
prelude
99
public import Init.Data.Float.Float32
10-
public import FFI.Model.Float32
1110

1211
@[expose] public section
1312

1413
namespace Float32
1514

16-
/--
17-
Computes the fused multiply-add `x * y + z` of three floating-point numbers. This operation is performed with a single rounding, which can be more accurate than performing the multiplication and addition separately.
18-
19-
This function has a logical model in terms of `Float32.Model`. It is implemented in compiled code
20-
by the C function `fmaf`.
21-
-/
22-
@[extern "fmaf"] def fma : Float32 → Float32 → Float32 → Float32 :=
23-
fun x y z => .ofModel (x.toModel.fma y.toModel z.toModel)
24-
2515
/-- `log (1 + x)`, the C99 `log1p`, accurate for small `x` where `log (1 + x)` loses the leading
2616
digits of the result to the rounding of `1 + x`. -/
2717
@[extern "log1pf"] opaque log1p (x : Float32) : Float32

‎FFI/Model/Float.lean‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎FFI/Model/Float32.lean‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎RandomDo/Measurable.lean‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ lemma measurable_ofFn (n : ℕ) : Measurable (List.ofFn : (Fin n → α) → Lis
5353
@[fun_prop]
5454
lemma measurable_finCons {n : ℕ} :
5555
Measurable fun q : α × (Fin n → α) ↦ (Fin.cons q.1 q.2 : Fin (n + 1) → α) := by
56-
refine measurable_pi_lambda _ fun i ↦ ?_
56+
refine Measurable.of_eval fun i ↦ ?_
5757
refine Fin.cases ?_ (fun j ↦ ?_) i
5858
· simp only [Fin.cons_zero]; fun_prop
5959
· simp only [Fin.cons_succ]; fun_prop

‎lake-manifest.json‎

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{"version": "1.2.0",
1+
{"version": "1.3.0",
22
"packagesDir": ".lake/packages",
33
"packages":
44
[{"url": "https://github.com/LeanMachineLearning/LML",
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "f86702d123689bc1739b65862132d4625a051843",
8+
"rev": "288183ac4ad486e094959709b0967c910df9ffa0",
99
"name": "LeanMachineLearning",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": "main",
@@ -15,27 +15,27 @@
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "leanprover-community",
18-
"rev": "cf65d43b4f5e1a79482e8c488d121853b9d7ca05",
18+
"rev": "41d048456026a1e519fbc9f74b3734eccc4c8556",
1919
"name": "mathlib",
2020
"manifestFile": "lake-manifest.json",
21-
"inputRev": "cf65d43b4f5e1a79482e8c488d121853b9d7ca05",
21+
"inputRev": "41d048456026a1e519fbc9f74b3734eccc4c8556",
2222
"inherited": true,
2323
"configFile": "lakefile.lean"},
2424
{"url": "https://github.com/leanprover/verso",
2525
"type": "git",
2626
"subDir": null,
2727
"scope": "",
28-
"rev": "3bdedf29bada13d8103e6c979001c51dcee210c8",
28+
"rev": "01a09f320122475119588526857a07d218aef600",
2929
"name": "verso",
3030
"manifestFile": "lake-manifest.json",
31-
"inputRev": "v4.33.0",
31+
"inputRev": "v4.35.0-rc4",
3232
"inherited": true,
3333
"configFile": "lakefile.lean"},
3434
{"url": "https://github.com/leanprover-community/plausible",
3535
"type": "git",
3636
"subDir": null,
3737
"scope": "leanprover-community",
38-
"rev": "d9598f07b1bc701f1e3aae163d2681c1fd978793",
38+
"rev": "aef59637faa9e85fa2486acaaf906ce3f572af7c",
3939
"name": "plausible",
4040
"manifestFile": "lake-manifest.json",
4141
"inputRev": "main",
@@ -45,7 +45,7 @@
4545
"type": "git",
4646
"subDir": null,
4747
"scope": "leanprover-community",
48-
"rev": "ba67e212be1197b84c1f1f6299488a10a3002713",
48+
"rev": "234d9e074fbd6e911b920baf32db5291c3125be0",
4949
"name": "LeanSearchClient",
5050
"manifestFile": "lake-manifest.json",
5151
"inputRev": "main",
@@ -55,7 +55,7 @@
5555
"type": "git",
5656
"subDir": null,
5757
"scope": "leanprover-community",
58-
"rev": "d8823026ac7ef130c253089d95685f9877b95323",
58+
"rev": "80a81552bef492cc13d69cc7abddb61c29abbba3",
5959
"name": "importGraph",
6060
"manifestFile": "lake-manifest.json",
6161
"inputRev": "main",
@@ -65,7 +65,7 @@
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "a8acbfd87375ff4abe14ce09db5b7664d383bc7f",
68+
"rev": "d5ad4a0b79fa7f9818fe1380d05a3f6143823c09",
6969
"name": "proofwidgets",
7070
"manifestFile": "lake-manifest.json",
7171
"inputRev": "main",
@@ -75,7 +75,7 @@
7575
"type": "git",
7676
"subDir": null,
7777
"scope": "leanprover-community",
78-
"rev": "18889deb9e83ea7420ef51c160d6f88552e744e3",
78+
"rev": "04879b1e1de744d5c9777c8cf63fa55a8f652e5e",
7979
"name": "aesop",
8080
"manifestFile": "lake-manifest.json",
8181
"inputRev": "master",
@@ -85,7 +85,7 @@
8585
"type": "git",
8686
"subDir": null,
8787
"scope": "leanprover-community",
88-
"rev": "507746ab8f4b643ccdacb2ec4cdb5853fa9f8ab3",
88+
"rev": "e7c4cdd2f1bf9df361ef7f621b4d6867012ab65e",
8989
"name": "Qq",
9090
"manifestFile": "lake-manifest.json",
9191
"inputRev": "master",
@@ -95,17 +95,27 @@
9595
"type": "git",
9696
"subDir": null,
9797
"scope": "leanprover-community",
98-
"rev": "d54dddc581e08be364c278052863524bff7a99a9",
98+
"rev": "9bfcda9fca2e9438b8a77b6e61e5880f69a82540",
9999
"name": "batteries",
100100
"manifestFile": "lake-manifest.json",
101101
"inputRev": "main",
102102
"inherited": true,
103103
"configFile": "lakefile.toml"},
104+
{"url": "https://github.com/leanprover/lean4-cli",
105+
"type": "git",
106+
"subDir": null,
107+
"scope": "leanprover",
108+
"rev": "82c11b9717083154aefc5fe8d4cba4bbf046298f",
109+
"name": "Cli",
110+
"manifestFile": "lake-manifest.json",
111+
"inputRev": "v4.35.0-rc4",
112+
"inherited": true,
113+
"configFile": "lakefile.toml"},
104114
{"url": "https://github.com/leanprover/illuminate",
105115
"type": "git",
106116
"subDir": null,
107117
"scope": "",
108-
"rev": "6bc815869cba1f19515715dc6b47795acd521f1c",
118+
"rev": "86aa7e62f42b2a82daf9692b191febde1f3d65f9",
109119
"name": "illuminate",
110120
"manifestFile": "lake-manifest.json",
111121
"inputRev": "main",
@@ -125,22 +135,12 @@
125135
"type": "git",
126136
"subDir": null,
127137
"scope": "",
128-
"rev": "3a75ede05278806fd3249bb0c97a6fb5777a4f7d",
138+
"rev": "892d6dc520270b5fb8c1291dd1b131e8c16255ed",
129139
"name": "subverso",
130140
"manifestFile": "lake-manifest.json",
131141
"inputRev": "main",
132142
"inherited": true,
133-
"configFile": "lakefile.lean"},
134-
{"url": "https://github.com/leanprover/lean4-cli",
135-
"type": "git",
136-
"subDir": null,
137-
"scope": "leanprover",
138-
"rev": "ab3a82db9fea14cf0fd7f5a2de650f4b534640af",
139-
"name": "Cli",
140-
"manifestFile": "lake-manifest.json",
141-
"inputRev": "v4.34.0-rc2",
142-
"inherited": true,
143-
"configFile": "lakefile.toml"}],
143+
"configFile": "lakefile.lean"}],
144144
"name": "RandomDo",
145145
"lakeDir": ".lake",
146146
"fixedToolchain": false}

‎lean-toolchain‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.34.0-rc2
1+
leanprover/lean4:v4.35.0-rc4

0 commit comments

Comments
 (0)