Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Recursive Notation in Coq

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Recursive Notation in Coq


Chronological Thread 
  • From: Dominique Larchey-Wendling <dominique.larchey-wendling AT loria.fr>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Recursive Notation in Coq
  • Date: Tue, 28 Jul 2020 14:39:12 +0200 (CEST)

Dear all,

If a notations wizard could help me at defining
the following recursive notation in Coq, I would
be very grateful.

x ⪯ y ⪯ .. ⪯ z := red x y /\ y ⪯ .. ⪯ z

where red : _ -> _ -> Prop

ie

a ⪯ b ⪯ c ⪯ d would be (red a b) /\ (red b c /\ red c d).

Sequences must have length >=2 (otherwise they would be meaningless)

Thank you very much for some insights,

Dominique



Archive powered by MHonArc 2.6.19+.

Top of Page