Skip to content

Patterns: where guards, and where restrictions in proofs - #2822

Draft
Negabinary wants to merge 2 commits into
prover-mainfrom
where-patterns
Draft

Negabinary wants to merge 2 commits into
prover-mainfrom
where-patterns

Patterns: `where` guards, and `where` restrictions in proofs

9e5fb4b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 20, 2026 in 1s

51.53% (+0.16%) compared to 498d6d1

View this Pull Request on Codecov

51.53% (+0.16%) compared to 498d6d1

Details

Codecov Report

❌ Patch coverage is 71.92192% with 187 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.53%. Comparing base (498d6d1) to head (9e5fb4b).

Files with missing lines Patch % Lines
src/web/app/editors/result/Theorems.re 34.00% 33 Missing ⚠️
src/web/app/editors/stepper/Obligations.re 70.52% 28 Missing ⚠️
src/language/dynamics/transition/PatternMatch.re 70.83% 21 Missing ⚠️
src/language/proof/Induction.re 53.48% 20 Missing ⚠️
src/web/app/explainthis/ExplainThis.re 0.00% 12 Missing ⚠️
src/language/term/Pat.re 80.00% 8 Missing ⚠️
src/language/proof/ProofCheck.re 90.66% 7 Missing ⚠️
src/language/term/Abbreviate.re 0.00% 7 Missing ⚠️
src/menhirParser/AST.re 12.50% 7 Missing ⚠️
src/haz3lcore/tiles/Segment.re 63.63% 4 Missing ⚠️
... and 19 more
Additional details and impacted files
@@               Coverage Diff               @@
##           prover-main    #2822      +/-   ##
===============================================
+ Coverage        51.36%   51.53%   +0.16%     
===============================================
  Files              510      511       +1     
  Lines            62625    63169     +544     
===============================================
+ Hits             32169    32554     +385     
- Misses           30456    30615     +159     
Files with missing lines Coverage Δ
src/haz3lcore/lang/Form.re 94.54% <100.00%> (+0.01%) ⬆️
src/haz3lcore/lang/MakeTerm.re 81.91% <100.00%> (+0.10%) ⬆️
src/haz3lcore/lang/Precedence.re 96.22% <ø> (ø)
src/haz3lcore/pretty/ExpToSegment.re 70.04% <100.00%> (+0.12%) ⬆️
src/language/dynamics/Evaluator.re 91.73% <100.00%> (ø)
src/language/dynamics/Substitution.re 86.71% <100.00%> (+0.18%) ⬆️
src/language/grammar/FormId.re 84.13% <100.00%> (+0.11%) ⬆️
src/language/grammar/Token.re 87.69% <100.00%> (+0.09%) ⬆️
src/language/proof/Occurrence.re 74.59% <ø> (ø)
src/language/proof/ProofRule.re 53.84% <100.00%> (+1.99%) ⬆️
... and 39 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.