lean4-htt/tests/lean/1668.lean
2022-10-01 07:17:57 -07:00

18 lines
278 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

structure Point where
x : Nat
y : Nat
deriving Repr
structure PPoint (α : Type) where
x : α
y : α
deriving Repr
def origin : Point :=
{ x := Nat.zero, y := Nat.zero }
def natOrigin : PPoint Nat :=
{ x := Nat.zero, y := Nat.zero }
#eval origin
#eval natOrigin