conversations
list | source
string | stack
string |
---|---|---|
[
{
"from": "human",
"value": "Add some simple logic inductive types for testing\n"
},
{
"from": "gpt",
"value": "module Logic\n\ninductive True : Type\n | I : True\nend\n\ninductive False : Type\nend\n\ndef not (P : Type) : Type :=\n P -> False\nend\n\ninductive And (P : Type) (Q : Type) : Type\n | Conj : P -> Q -> And P Q\nend\n\ninductive Or (P : Type) (Q : Type) : Type\n | OrIntroL : P -> Or P Q\n | OrIntroR : Q -> Or P Q\nend\n\ndef main : True := I end\n"
}
] | harbour | chosen |
README.md exists but content is empty.
- Downloads last month
- 38