This commit is contained in:
Leonardo de Moura 2020-12-23 09:41:42 -08:00
parent 74686a149a
commit caa3136558

View file

@ -25,7 +25,9 @@ def Prod.str : Nat × Nat → String :=
fun (a, b) => "(" ++ toString a ++ ", " ++ toString b ++ ")"
structure Point where
x y z : Nat
x : Nat
y : Nat
z : Nat
def Point.addX : Point → Point → Nat :=
fun { x := a, .. } { x := b, .. } => a+b