Skip to Content.
Sympa Menu

coq-club - [Coq-Club] firstorder accessing unwanted axioms in Psatz

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] firstorder accessing unwanted axioms in Psatz


Chronological Thread 
  • From: Caitlin D'Abrera <Caitlin.Dabrera AT anu.edu.au>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: [Coq-Club] firstorder accessing unwanted axioms in Psatz
  • Date: Fri, 25 Jan 2019 06:14:25 +0000
  • Accept-language: en-AU, en-US
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=Caitlin.Dabrera AT anu.edu.au; spf=Pass smtp.mailfrom=Caitlin.Dabrera AT anu.edu.au; spf=Pass smtp.helo=postmaster AT AUS01-ME1-obe.outbound.protection.outlook.com
  • Ironport-phdr: 9a23:wwtlORABh5bstSgZUjT9UyQJP3N1i/DPJgcQr6AfoPdwSPX5psbcNUDSrc9gkEXOFd2Cra4c26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNyA3/nzLisJ+j6xboQ6uqBNkzoHOfI2ZKOBzcr/Bcd8HQ2dKQ8ZfVzZGAoO5d4YCEfAOPedEr4n5plsOqwa1CwevCO7z0TBInGH53bcg3O88FgzLwhYvH9MSsHTQrdX1Mr0eX+6vw6bT1zXMcelW1i3m5YfSdBAhvOuAUqxtfsrM00UgDR7Fg0yWpIf4MT2V0eENvHKa7+pmTe+vhG8nqx1xojiy3cggkJXGhoUQyl3C6C53w541KMW3RUJne9KoDYdcuiOAO4drTM4vQntktSInxrEepJK2fDQGxI45yxLDZfGLaZaE7g/+WOqLPDt1hHxodKqxhxms8kWs1ujxW8yw3VtKoCpIl8fAumwO2hPN78WKSPRw80e81juK2A3T5PxLLV0ymKHGMZAu2KQwmYAWsUnbHi/5hkH2jKiOe0g49Oem9vjrbqj/qpGbOIF4lxjyMqM1lcOhG+g4NRUOX3SA9uS7yb3j+1D2TK9Sjv0slanZrI7VKtgHpq64BA9V1Jwv6xGiDze61NQYmn4HLFFfdB2biIjpPknCIPH+Dfihn1ShiDhmy+zcMrH8HpnALGLPnKrvcLt88UJRzBc/wcha551OC7EBJPzzWlX2tNzdFhI0LRa7w+f7CNV514MeX3iDDKGDP6zJq1+H+PgvLPOXaYAPvjb9NuIp6ODzgn8kg1MSZ7Sp0YMNaH+kBvRmP1mZYX30j9gdFmcKpxMyQ/DuiF2fSjFefG2yXqI55jEjEo2qF4bDRoa3gLyAxii3BJNWZnoVQmyLRD3jcJzBUPMRYgqTJNVgm3oKT/LpH4QmzFSlsBLw47thNOvdvCMC48HNzt9wssbalA029Do8I4u02XuAVWg8ykgBRiMy3aY5jUV30FqZ2IBxheEeGNBOofpUBFRpfaXAxvB3XoihEjnKec2EHQ7/E4eWRAopR9d0+OcgJkN0GtGslBfGhnD4CrkI0bGHGdo97/CFhiSjF4NG03/DkZIZoRw+WMIWbz+vgLM5+gTOQYfUwR3AyvSaMJ8E1SuIz1+tiGqDuEYED1xZbJ6dBDU6SxKTqt70oETfU7WpFLIrdBNbztKPIbdLbduvikhaQPDkO5LVZGfjwmo=

Hi all, 

I have noticed some peculiar behaviour with tactics like firstorder and was hoping for an explanation.

I had been using firstorder with expressions that involve standard library nat as well as my own definitions. I noticed the following:
  1) When I had "Require Import Psatz", sometimes firstorder would use a bunch of axioms (as displayed with "Print Assumptions my_lem.") As far as I can see, all the axioms are easily provable with e.g. nat and lt, gt, plus, etc.
  2) If I don't import Psatz, firstorder either doesn't alter the goal or it does without using the aforementioned axioms.

MWE: https://gist.github.com/caitlindabrera/0a9c43c919352101718dadc08f32609a.

I don't want to be relying on these axioms, particularly because I don't need them. I've found a workaround for my current context: use "Require Import Lia" instead of Psatz, which allows firstorder to work with similar strength as before but without having access to Raxioms. 

I am still puzzled though; why would Psatz use the axioms in Raxioms when they're so obviously provable (and I think all proven elsewhere for nat)? R seems to be modelling reals (not nat) so why is it being called upon in my context, which doesn't use reals, at all?

Best regards,
Caitlin





Archive powered by MHonArc 2.6.18.

Top of Page