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

Fix case when numeric inference kicks out before minimal tautology inference #894

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ChernikovP
Copy link

Attempt to address #613.

Basically, numeric inference kicks in before minimal tautology.

scala> implicitly[Inference[Positive And Less[10], Positive]]
val res0: /* ... */ = Inference(false,conjunctionEliminationL(greaterInferenceNat(0, 0)))

or even simpler:

scala> implicitly[Inference[Positive, Positive]]
val res1: /* ... */  = Inference(false,greaterInferenceNat(0, 0))

@codecov
Copy link

codecov bot commented Dec 29, 2020

Codecov Report

Merging #894 (3d1b04c) into master (ac4a55f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #894   +/-   ##
=======================================
  Coverage   91.52%   91.52%           
=======================================
  Files          48       48           
  Lines         531      531           
  Branches       12        8    -4     
=======================================
  Hits          486      486           
  Misses         45       45           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac4a55f...3d1b04c. Read the comment docs.

@mergify mergify bot added the core label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant