This commit is contained in:
mehbark 2025-04-08 21:49:57 -04:00
commit 2573d64897
6 changed files with 21 additions and 0 deletions

1
README.md Normal file
View file

@ -0,0 +1 @@
# simple-counterexamples

View file

View file

@ -0,0 +1,8 @@
structure EmptyM (_ : Type u) : Type v
instance : Monad EmptyM where
pure _ := ⟨⟩
bind _ _ := ⟨⟩
theorem runMEvil (runM : ∀α m, [Monad m] → m αα) : False :=
runM PEmpty EmptyM ⟨⟩ |>.elim

5
lake-manifest.json Normal file
View file

@ -0,0 +1,5 @@
{"version": "1.1.0",
"packagesDir": ".lake/packages",
"packages": [],
"name": "«simple-counterexamples»",
"lakeDir": ".lake"}

6
lakefile.toml Normal file
View file

@ -0,0 +1,6 @@
name = "simple-counterexamples"
version = "0.1.0"
defaultTargets = ["SimpleCounterexamples"]
[[lean_lib]]
name = "SimpleCounterexamples"

1
lean-toolchain Normal file
View file

@ -0,0 +1 @@
leanprover/lean4:v4.16.0-rc2