2014-11-03 23:50:41 +00:00
|
|
|
import logic data.unit
|
|
|
|
|
|
|
|
set_option pp.universes true
|
|
|
|
|
2015-04-22 02:33:21 +00:00
|
|
|
section
|
2014-11-03 23:50:41 +00:00
|
|
|
parameter (A : Type)
|
|
|
|
|
2015-04-22 02:33:21 +00:00
|
|
|
section
|
2014-11-03 23:50:41 +00:00
|
|
|
parameter (B : Type)
|
|
|
|
|
|
|
|
structure point :=
|
|
|
|
mk :: (x : A) (y : B)
|
|
|
|
|
|
|
|
check point
|
|
|
|
check point.mk
|
|
|
|
check point.x
|
|
|
|
end
|
|
|
|
|
|
|
|
check point
|
|
|
|
check point.mk
|
|
|
|
check point.x
|
|
|
|
end
|