Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Logic and universe polymorphism

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Logic and universe polymorphism


chronological Thread 
  • From: Bas Spitters <spitters AT cs.ru.nl>
  • To: coq-club AT pauillac.inria.fr
  • Subject: [Coq-Club] Logic and universe polymorphism
  • Date: Fri, 25 Sep 2009 12:04:51 +0200
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

With the introduction of universe polymorphism there seems to be a duplication of code:
"and" is just a special case of "prod"
...


This is awkward. For instance, if I define:
--
Infix "and" := prod (at level 80, right associativity).
(* This should replace iff in the standard library *)
Definition iff := fun A B : Type => (A -> B) and (B -> A).
Notation "A <-> B" := (iff A B) :type_scope.
--


A tactic like "apply <-" will not work for the new <->



What would be the best way to solve this?


Bas




Archive powered by MhonArc 2.6.16.

Top of Page