Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tptp4X found an error #26

Open
asr opened this issue Apr 2, 2016 · 4 comments
Open

tptp4X found an error #26

asr opened this issue Apr 2, 2016 · 4 comments

Comments

@asr
Copy link
Owner

asr commented Apr 2, 2016

From @jechev28 on October 8, 2015 23:52

When testing the file Test.agda the following error is generated:

$ apia --check --atp=vampire --atp=e Test.agda
apia: tptp4X found an error in the file /tmp/Test/24-foo.fof
Please report this as a bug
module Test where

postulate
  : Set
  r₀  :_+_ :-_  :infixl 6 _+_
infixl 4 _≡_
infix  8 -_

data _≡_ : Set where
  refl : (x : ℝ)  x ≡ x

postulate
  +-asso : (x y z : ℝ)  x + y + z ≡ x + (y + z)
  +-neut : (x : ℝ)  x + r₀ ≡ x
  +-inve : (x : ℝ)      x + (- x) ≡ r₀

{-# ATP axiom +-asso +-neut +-inve #-}

postulate foo : {x y z : ℝ}  x + z ≡ y + z  x ≡ y
{-# ATP prove foo +-inve #-}
@asr asr self-assigned this Apr 2, 2016
@asr
Copy link
Owner Author

asr commented Apr 2, 2016

I added the following test case:

$ cd /test/fail/errors
$ agda DuplicateFormulaTPTP4XError.agda
$ apia --check DuplicateFormulaTPTP4XError.agda
apia: tptp4X found an error/warning in the file /tmp/DuplicateFormulaTPTP4XError/22-foo.fof
Please report this as a bug

ERROR: Duplicate annotated formula name "n12_54442073"

This issue should be handle by EAagda.

@asr
Copy link
Owner Author

asr commented Sep 30, 2016

@jechev28 and @jorgeacv2, is this issue the problem reported in your thesis?

@jechev28
Copy link

jechev28 commented Oct 4, 2016

CC'ing @jorgeacv2. Yes, it is.

@asr
Copy link
Owner Author

asr commented Oct 5, 2016

This is not a bug, but EAgda could generate a warning about the duplication though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants