Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] unexpected lia failure

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] unexpected lia failure


Chronological Thread 
  • From: Laurent Thery <Laurent.Thery AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] unexpected lia failure
  • Date: Sun, 19 Sep 2021 16:26:50 +0200
  • Ironport-hdrordr: A9a23:o1Og468ma+o8YO4z+/tuk+DTI+orL9Y04lQ7vn2ZOiY6TiX+rbHLoB17726QtN9/YhsdcLy7Scq9qDbnhPxICOoqUItKPjOMhILAFugL0WKh+V3d8kbFmdK1u50AT0EzMrHNMWQ=



Hi,

lia translates the modulo (you can see when using the preprocessing tactic Zify.zify) but seems to lack positivity info about that Z.rem function.


On 9/19/21 16:21, Abhishek Anand wrote:
strange that the following (generalize N.modulo by nf) works:

Require Import NArith.
Require Import Psatz.
Axiom nf : N -> N -> N.
Lemma liatest (n m:N) (p: N.lt N0 m): N.le N0 (nf n m).
  lia.


--
Laurent



Archive powered by MHonArc 2.6.19+.

Top of Page