Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
5 changes: 5 additions & 0 deletions Goose.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Prelude
import Anoma
import AVM
import Applib
import Apps
2 changes: 1 addition & 1 deletion Prelude/SomeType.lean
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ private axiom SomeType.eqTypeRep.{u} {A B : SomeType.{u}} : A.typeTypeRep.rep =
instance SomeType.instLawfulBEq : LawfulBEq SomeType where
eq_of_beq := by
intro a b eq
simp [BEq.beq, hasBEq] at eq
simp [BEq.beq] at eq
exact SomeType.eqTypeRep eq

instance {A : SomeType} : TypeRep A.type := A.typeTypeRep
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ Example Anoma applications implemented with the GOOSE framework are available in

1. `cd docbuild`
2. `lake update doc-gen4`
3. `lake build AVM:docs`
3. `lake build Goose:docs`

After executing the above commands, the documentation will be available in `docbuild/.lake/build/doc`. To view it, change into the `docbuild/.lake/build/doc` directory and run `python3 -m http.server`.
58 changes: 29 additions & 29 deletions docbuild/lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"type": "git",
"subDir": null,
"scope": "leanprover",
"rev": "05a43fcf9c484d69252bbc3556ca0fdb2417048a",
"rev": "58b48e75bd19f785927e06912dea610e5e48f1fa",
"name": "«doc-gen4»",
"manifestFile": "lake-manifest.json",
"inputRev": "v4.21.0",
"inputRev": "v4.22.0",
"inherited": false,
"configFile": "lakefile.lean"},
{"type": "path",
Expand All @@ -18,11 +18,21 @@
"inherited": false,
"dir": "../",
"configFile": "lakefile.toml"},
{"url": "https://github.com/leanprover-community/ProofWidgets4",
"type": "git",
"subDir": null,
"scope": "",
"rev": "0c1d7d3d202757dc00e5ac4e6dac32a8e70d173a",
"name": "proofwidgets",
"manifestFile": "lake-manifest.json",
"inputRev": "v0.0.69",
"inherited": false,
"configFile": "lakefile.lean"},
{"url": "https://github.com/mhuisi/lean4-cli",
"type": "git",
"subDir": null,
"scope": "",
"rev": "7c6aef5f75a43ebbba763b44d535175a1b04c9e0",
"rev": "6667b921594697980586296511fab6a359e802d1",
"name": "Cli",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand All @@ -32,7 +42,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "1cf274454c624e4b94c79f14b6db70d9fe0bdd51",
"rev": "d3195374a885cf2b0bfa66063deb493686029f95",
"name": "UnicodeBasic",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand All @@ -45,14 +55,14 @@
"rev": "dbfe2b7630c5f7c5c1cf71e7747ffc0a30337f69",
"name": "BibtexQuery",
"manifestFile": "lake-manifest.json",
"inputRev": "master",
"inputRev": "dbfe2b7630c5f7c5c1cf71e7747ffc0a30337f69",
"inherited": true,
"configFile": "lakefile.toml"},
{"url": "https://github.com/acmepjz/md4lean",
"type": "git",
"subDir": null,
"scope": "",
"rev": "b16338c5c66f57ef5510d4334eb6fa4e2c6c8cd8",
"rev": "feac4e0c356b0928657bf3b54fa83ae952f53257",
"name": "MD4Lean",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand All @@ -62,27 +72,27 @@
"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": true,
"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",
Expand All @@ -92,50 +102,40 @@
"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",
"name": "proofwidgets",
"manifestFile": "lake-manifest.json",
"inputRev": "v0.0.62",
"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": "e96b5eca4fcfe2e0e96a1511a6cd5747515aba82",
"name": "batteries",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inputRev": "v4.22.0-rc4",
"inherited": true,
"configFile": "lakefile.toml"}],
"name": "docbuild",
Expand Down
3 changes: 1 addition & 2 deletions docbuild/lakefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ path = "../"
[[require]]
scope = "leanprover"
name = "doc-gen4"
rev = "v4.21.0"

rev = "v4.22.0"
2 changes: 1 addition & 1 deletion docbuild/lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:v4.21.0
leanprover/lean4:v4.22.0
32 changes: 16 additions & 16 deletions lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@
"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/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",
Expand All @@ -35,57 +35,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",
Expand Down
11 changes: 7 additions & 4 deletions lakefile.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
name = "goose"
version = "0.1.0"
defaultTargets = ["Prelude", "Anoma", "AVM", "Applib", "Apps", "Tests"]
defaultTargets = ["Prelude", "Anoma", "AVM", "Applib", "Apps", "Goose", "Tests"]

[[require]]
name = "mathlib"
scope = "leanprover-community"
rev = "v4.21.0"
rev = "v4.22.0"

[leanOptions]
relaxedAutoImplicit = false

[[lean_lib]]
name = "AVM"
name = "Prelude"

[[lean_lib]]
name = "Anoma"

[[lean_lib]]
name = "Prelude"
name = "AVM"

[[lean_lib]]
name = "Applib"

[[lean_lib]]
name = "Apps"

[[lean_lib]]
name = "Goose"

[[lean_lib]]
name = "Tests"
2 changes: 1 addition & 1 deletion lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:v4.21.0
leanprover/lean4:v4.22.0