Skip to Content.
Sympa Menu

coq-club - [Coq-Club] omega's term

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] omega's term


chronological Thread 
  • From: Yakov Zaytsev <yakov AT yakov.cc>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] omega's term
  • Date: Fri, 19 Mar 2010 15:30:33 +0300

Hello,

I used omega to solve this inequality

    Lemma zgtz : not (0 > 0).

Now I can't get what does resulting term mean

    Require Import Arith.
    (*Require Import Omega.*)
    Require Import Coq.ZArith.auxiliary. (* Zgt_left *)
    Require Import Coq.ZArith.Znat. (* inj_gt *)
    Parameter H: 0 > 0.
    Definition left := Zgt_left 0 0 (inj_gt 0 0 H).
    Definition zgtz := left (eq_refl Gt).

Left doesn't have arrow type, does it!? Why is zgtz well-typed then?

-- Yakov




Archive powered by MhonArc 2.6.16.

Top of Page