Skip to content

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

Open
ChernikovP wants to merge 2 commits intofthomas:masterfrom
ChernikovP:numeric_inference
Open

Fix case when numeric inference kicks out before minimal tautology inference#894
ChernikovP wants to merge 2 commits intofthomas:masterfrom
ChernikovP:numeric_inference

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