2014-10-08 01:02:15 +00:00
|
|
|
import logic
|
2014-10-09 06:44:09 +00:00
|
|
|
namespace foo
|
2014-10-08 01:02:15 +00:00
|
|
|
definition subsingleton (A : Type) := ∀⦃a b : A⦄, a = b
|
|
|
|
class subsingleton
|
|
|
|
|
|
|
|
protected definition prop.subsingleton [instance] (P : Prop) : subsingleton P :=
|
|
|
|
λa b, !proof_irrel
|
2014-10-09 06:44:09 +00:00
|
|
|
end foo
|