Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LeanPlot/ToFloat.lean
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ instance instToFloatInt : ToFloat Int where
instance [Coe α Float] : ToFloat α where
toFloat a := ↑a

/-! ### `Rat` instance
/-! ## `Rat` instance

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verso was complaining about jumping to the wrong indentation level


Lean 4 ships with a rational number type `Rat` in `Init.Data.Rat`.
The conversion takes the numerator/denominator and performs a floating-point
Expand Down
29 changes: 20 additions & 9 deletions lake-manifest.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,41 @@
{"version": "1.1.0",
{"version": "1.2.0",
"packagesDir": ".lake/packages",
"packages":
[{"url": "https://github.com/leanprover/verso",
"type": "git",
"subDir": null,
"scope": "leanprover",
"rev": "6f0c12be90063de6d4e5ca14867ad7243064ad99",
"rev": "8bcbd2b8723307c329c12997a0c16a6ac174d3e9",
"name": "verso",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inputRev": "v4.30.0",
"inherited": false,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover-community/ProofWidgets4",
"type": "git",
"subDir": null,
"scope": "leanprover-community",
"rev": "627a9728700546ebc9cc274821ad7c0b420c2e35",
"rev": "a84b3e2475d5c5ab979567b1ad8aea21b764bcf8",
"name": "proofwidgets",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inputRev": "v0.0.99",
"inherited": false,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover/illuminate",
"type": "git",
"subDir": null,
"scope": "",
"rev": "99ada816d9929a51132d5b5dc4f43c51f16d67d8",
"name": "illuminate",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inherited": true,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover-community/plausible",
"type": "git",
"subDir": null,
"scope": "",
"rev": "160af9e8e7d4ae448f3c92edcc5b6a8522453f11",
"rev": "a456461b368b71d2accd95234832cd9c174b5437",
"name": "plausible",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand All @@ -35,7 +45,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "38ac5945d744903ffcc473ce1030223991b11cf6",
"rev": "6a3fb240133bcb7e1a066fdc784b3fdc304e3fc5",
"name": "MD4Lean",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand All @@ -45,11 +55,12 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "eb77622e97e942ba2cfe02f60637705fc2d9481b",
"rev": "ce893b9042128037e2d3c0158b9567fab9fae268",
"name": "subverso",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inherited": true,
"configFile": "lakefile.lean"}],
"name": "LeanPlot",
"lakeDir": ".lake"}
"lakeDir": ".lake",
"fixedToolchain": false}
2 changes: 2 additions & 0 deletions lakefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ root = "TestExport"
[[require]]
name = "proofwidgets"
scope = "leanprover-community"
rev = "v0.0.99"

[[require]]
name = "verso"
scope = "leanprover"
rev = "v4.30.0"

@zaporter zaporter Jun 17, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verso is getting this error on main:

info: verso: cloning https://github.com/leanprover/verso
info: verso: checking out revision '6f0c12be90063de6d4e5ca14867ad7243064ad99'
error: verso: executable '«verso-literate»' has the same root module 'Main' as executable 'verso'

Pinning fixes this, but I'm not sure if you want to add pins that have to be updated every version...

2 changes: 1 addition & 1 deletion lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:v4.27.0-rc1
leanprover/lean4:v4.30.0