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

Near message error #1320

Open
mkerjean opened this issue Sep 16, 2024 · 2 comments
Open

Near message error #1320

mkerjean opened this issue Sep 16, 2024 · 2 comments
Labels
enhancement ✨ This issue/PR is about adding new features enhancing the library question ❓ There is an unanswered question here
Milestone

Comments

@mkerjean
Copy link
Collaborator

While trying to solve e <= M for e : numFieldtype and M \is_near (nbhs +oo), one gets the error message no applicable tactic. A message including the necessity for e to be real (is this what's happening ?), or to try with normr e, would help a lot, would it be hard to implement?

@mkerjean mkerjean added the enhancement ✨ This issue/PR is about adding new features enhancing the library label Sep 16, 2024
@affeldt-aist affeldt-aist added the question ❓ There is an unanswered question here label Sep 18, 2024
@affeldt-aist affeldt-aist added this to the 1.5.0 milestone Sep 18, 2024
@affeldt-aist
Copy link
Member

While trying to solve e <= M for e : numFieldtype and M \is_near (nbhs +oo), one gets the error message no applicable tactic. A message including the necessity for e to be real (is this what's happening ?),

I guess so, since nbhs_pinfty_ge is registered as a Hint but requires e to verify \is Num.real
for which e : R : numFieldType is not sufficient.

or to try with normr e, would help a lot, would it be hard to implement?

Do you mean by using as an intermediate step the lemma ler_norm?
But the latter requires a realDomainType so numFieldType is anyway not enough.
(I might be missing the point.)

@mkerjean
Copy link
Collaborator Author

mkerjean commented Oct 1, 2024

While trying to solve e <= M for e : numFieldtype and M \is_near (nbhs +oo), one gets the error message no applicable tactic. A message including the necessity for e to be real (is this what's happening ?),

I guess so, since nbhs_pinfty_ge is registered as a Hint but requires e to verify \is Num.real for which e : R : numFieldType is not sufficient.

or to try with normr e, would help a lot, would it be hard to implement?

Do you mean by using as an intermediate step the lemma ler_norm? But the latter requires a realDomainType so numFieldType is anyway not enough. (I might be missing the point.)

I was suggesting that the error message might say "try using normr e instead of e" or something like that, but I wasn't sure how nbhs_pinfty_ge and similar lemmas were used. As this is with an Hint, can the error message be more precise ? How can we do that ?

@affeldt-aist affeldt-aist modified the milestones: 1.5.0, 1.6.0 Oct 8, 2024
@affeldt-aist affeldt-aist modified the milestones: 1.6.0, 1.7.0 Oct 24, 2024
@affeldt-aist affeldt-aist modified the milestones: 1.7.0, 1.8.0 Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ This issue/PR is about adding new features enhancing the library question ❓ There is an unanswered question here
Projects
None yet
Development

No branches or pull requests

2 participants