[Merged by Bors] - feat(Tactic): add multiplication support for inclusion/dyadic_interval tactics - #43563
Conversation
Co-authored-by: Thomas R. Murrills <68410468+thorimur@users.noreply.github.com>
Co-authored-by: Thomas R. Murrills <68410468+thorimur@users.noreply.github.com>
Co-authored-by: Thomas R. Murrills <68410468+thorimur@users.noreply.github.com>
# Conflicts: # Mathlib/Tactic/Linter/DeprecatedSyntaxLinter.lean
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
…ication # Conflicts: # Mathlib/Tactic/Inclusion/Core/DiscrTreeExt.lean # Mathlib/Tactic/Inclusion/Core/Elab.lean # Mathlib/Tactic/Inclusion/Extension/Interval.lean # Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Basic.lean # Mathlib/Tactic/Inclusion/Extension/IntervalDyadicReal/Tactic.lean
PR summary 3dab67ecd3Import changes exceeding 2%
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Tactic.Inclusion.Extension.Interval | 336 | 389 | +53 (+15.77%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.Tactic.Inclusion.Extension.Interval |
53 |
Declarations diff (regex)
+ Interval.map_mulBound_le
+ Interval.mem_map_iff
+ Interval.mul
+ Interval.mulBound
+ Interval.mul_mem
+ mul_le_mul_of_nonpos_of_nonneg''
+ mul_mem
You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.
Declarations diff (Lean)
✅ Lean-aware diff — post-build, computed from the Lean environment (commit
3dab67e).
- +20 new declarations
- −0 removed declarations
+Inclusion.Interval.add.match_1.congr_eq_1
+Inclusion.Interval.add.match_1.congr_eq_2
+Inclusion.Interval.add.match_4.congr_eq_1
+Inclusion.Interval.add.match_4.congr_eq_2
+Inclusion.Interval.le_map_mulBound
+Inclusion.Interval.map_mulBound_le
+Inclusion.Interval.mem_map_iff
+Inclusion.Interval.mul
+Inclusion.Interval.mulBound
+Inclusion.Interval.mul_mem
+Inclusion.Interval.neg.match_1.congr_eq_1
+Inclusion.Interval.neg.match_1.congr_eq_2
+Inclusion.Interval.neg.match_3.congr_eq_1
+Inclusion.Interval.neg.match_3.congr_eq_2
+Inclusion.Interval.sub.match_1.congr_eq_1
+Inclusion.Interval.sub.match_1.congr_eq_2
+Inclusion.Interval.sub.match_3.congr_eq_1
+Inclusion.Interval.sub.match_3.congr_eq_2
+Inclusion.IntervalDyadicReal.mul_mem
+mul_le_mul_of_nonpos_of_nonneg''No changes to strong technical debt.
No changes to weak technical debt.
Current commit 3dab67ecd3
Reference commit 059a625dc0
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match our commit style conventions. |
inclusion/dyadic_interval tacticsinclusion/dyadic_interval tactics
|
Thanks! bors merge |
…rval` tactics (#43563) Also in the process of proving/golfing the `mul_mem` lemma some local grind tags were added which were then used to do a little bit of golfing for other proofs. Note: There is some intentional defeq abuse with the input and output type of `mulBound` This seems fine to me but alternatively there could be eight different functions in place of the single `mulBound` to avoid this. Co-authored-by: David Ledvinka <dledvinka.ledvinka@mail.utoronto.ca>
|
Pull request successfully merged into master. Build succeeded: |
inclusion/dyadic_interval tacticsinclusion/dyadic_interval tactics
Also in the process of proving/golfing the
mul_memlemma some local grind tags were added which were then used to do a little bit of golfing for other proofs.Note: There is some intentional defeq abuse with the input and output type of
mulBoundThis seems fine to me but alternatively there could be eight different functions in place of the singlemulBoundto avoid this.