Main intro file

This commit is contained in:
Pranshu Sharma 2025-05-20 21:11:57 +10:00
commit 00a8b5b605

16
intro.lean Normal file
View file

@ -0,0 +1,16 @@
def hello : String := "Hello"
def add1 (n : Nat) : Nat := n + 1
def maximum (n : Nat) (k : Nat) : Nat :=
if n < k then
k
else n
def PStr : Type := String
def OnePlusOneIsTwo : Prop := 1 + 1 = 2
theorem onePlusOneIsTwo : OnePlusOneIsTwo := rfl