Skip to content

[Merged by Bors] - chore: split Tactic.NormNum.Basic#7002

Closed
kim-em wants to merge 30 commits intomasterfrom
split_norm_num
Closed

[Merged by Bors] - chore: split Tactic.NormNum.Basic#7002
kim-em wants to merge 30 commits intomasterfrom
split_norm_num

Conversation

@kim-em
Copy link
Copy Markdown
Contributor

@kim-em kim-em commented Sep 7, 2023

This was accumulating a lot of different plugins. This split makes it easier to track which tactics rely on which plugins.

Summary of changes:

  • Tactic.NormNum.Basic has had contents split out into separate files:
    • Eq
    • Ineq
    • Inv
    • Pow
    • OfScientific
  • Tactic.NormNum.CharZero has been rolled into the new Tactic.NormNum.Inv
  • Tactic.NormNum.OrderedRing has been rolled into the new Tactic.NormNum.Ineq
  • Tactic.NormNum imports all the new plug-in files
  • Tactic.Ring only imports the norm_num plugins it needs
  • CancelDenoms moved to CancelDenoms.Core with only the imports needed by the tactic
  • and replaced with a new CancelDenoms that imports CancelDenoms.Core and some additional imports for plugins that are useful when using cancel_denoms
  • Linarith.Preprocessing only imports CancelDenoms.Core, rather than CancelDenoms
  • add imports to Linarith that are not needed for the implementation, but make it more powerful
  • SimpleGraph.Density requires an additional import because it has been removed earlier.
  • test/GCongr/inequalities.lean needs the OfScientific plugin.

Open in Gitpod

@kim-em kim-em added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels Sep 7, 2023
@ghost ghost added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Sep 7, 2023
@ghost ghost removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Sep 7, 2023
@ghost
Copy link
Copy Markdown

ghost commented Sep 7, 2023

@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Sep 7, 2023
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Sep 7, 2023
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Sep 8, 2023
@jcommelin
Copy link
Copy Markdown
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Sep 8, 2023
bors bot pushed a commit that referenced this pull request Sep 8, 2023
This was accumulating a lot of different plugins. This split makes it easier to track which tactics rely on which plugins. 

Summary of changes:
* `Tactic.NormNum.Basic` has had contents split out into separate files:
  * `Eq`
  * `Ineq`
  * `Inv`
  * `Pow`
  * `OfScientific`
* `Tactic.NormNum.CharZero` has been rolled into the new `Tactic.NormNum.Inv`
* `Tactic.NormNum.OrderedRing` has been rolled into the new `Tactic.NormNum.Ineq`
* `Tactic.NormNum` imports all the new plug-in files
* `Tactic.Ring` only imports the `norm_num` plugins it needs
* `CancelDenoms` moved to `CancelDenoms.Core` with only the imports needed by the tactic
* and replaced with a new `CancelDenoms` that imports `CancelDenoms.Core` and some additional imports for plugins that are useful when using `cancel_denoms`
* `Linarith.Preprocessing` only imports `CancelDenoms.Core`, rather than `CancelDenoms`
* add imports to `Linarith` that are not needed for the implementation, but make it more powerful
* `SimpleGraph.Density` requires an additional import because it has been removed earlier.
* `test/GCongr/inequalities.lean` needs the `OfScientific` plugin.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link
Copy Markdown

bors bot commented Sep 8, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title chore: split Tactic.NormNum.Basic [Merged by Bors] - chore: split Tactic.NormNum.Basic Sep 8, 2023
@bors bors bot closed this Sep 8, 2023
@bors bors bot deleted the split_norm_num branch September 8, 2023 11:01
Julian added a commit that referenced this pull request Sep 11, 2023
* fix-lint: (463 commits)
  chore: lint-style.py was calling str.replace incorrectly
  chore: module doc for #find_home, #minimize_imports, import early (#7095)
  chore: reduce imports to Data.Rat.Cast.CharZero (#7091)
  chore: cleanup imports of Data/Rat/Cast/Defs (#7092)
  chore: linarith only needs ring1 (#7090)
  refactor(Data/Int/Bitwise): use `<<<` and `>>>` notation (#6789)
  chore: delete redundant commented-out positivity test (#7085)
  chore: fix docstrings, names and aligns about paracompacity of emetric spaces (#7064)
  feat(Data/Finsupp): add notation (#6367)
  refactor: re-home some meta code (#6921)
  fix: don't use `False` as a bool, use `false` (#7059)
  chore: fix reference to `compactCovering` in docstring (#7065)
  fix: fix link in docstring of IsWellFounded (#7063)
  chore: tidy various files (#7041)
  feat: roots in an algebra (#6740)
  chore: revert ProofWidgets bump in #7044 and #7056 (#7069)
  feat: super factorial (#6768)
  feat(LinearAlgebra/Matrix/Trace): add Matrix.trace_diagonal (#7061)
  chore: complete ProofWidgets bump (#7056)
  feat: More `Finset.sup'` lemmas (#7021)
  feat: self_lt_pow (#7058)
  chore: move some files to `MeasureTheory/MeasurableSpace/` (#7045)
  chore(RingTheory/Nilpotent): untwine two universes (#7057)
  feat: von Neumann Mean Ergodic Theorem (#6053)
  feat: (sSup, Iic) and (Ici, sInf) are Galois connections (#6951)
  feat: derivative along a vector (#7038)
  feat: check for some common git problems in CI (#7043)
  chore: bump ProofWidgets (#7044)
  feat(Topology/Algebra): add `DiscreteTopology Mˣ` (#7028)
  chore: simplify `by rfl` (#7039)
  chore: tidy various files (#7035)
  refactor(LinearAlgebra/CliffordAlgebra/Conjugation): expose implementation details of 'reverse' (#6783)
  feat: add `DiscreteTopology.of_continuous_injective` (#7029)
  feat: restore the module docstring code snippet (#7030)
  feat: flesh out the API for `realPart` and `imaginaryPart` (#7023)
  chore: missing simps lemmas for `Multiplicative` defs (#7016)
  feat: characterize isLittleO on principal filters (#7008)
  doc: cleanup documentation on Basis.constr (#7007)
  feat: cleanup API around differentiable functions (#7004)
  feat: add Nat.digits_append_digits (#6999)
  feat: definition of the homology of a short complex (#6994)
  chore: implement porting notes about Polish spaces (#6991)
  feat(Algebra/Category/ModuleCat): composition of restriction of scalar functors (#6915)
  feat: compute the integral of sqrt (1 - x ^ 2) (#6905)
  chore(*/TensorProduct): missing functorial lemmas (#6781)
  feat: a functor from a small category to a filtered category factors through a small filtered category (#6212)
  feat: expand API on locally integrable functions (#7006)
  chore: split Tactic.NormNum.Basic (#7002)
  feat: a few lemmas on continuous functions (#7005)
  feat: ZMod.castHom_self (#7013)
  ...
kodyvajjha pushed a commit that referenced this pull request Sep 22, 2023
This was accumulating a lot of different plugins. This split makes it easier to track which tactics rely on which plugins. 

Summary of changes:
* `Tactic.NormNum.Basic` has had contents split out into separate files:
  * `Eq`
  * `Ineq`
  * `Inv`
  * `Pow`
  * `OfScientific`
* `Tactic.NormNum.CharZero` has been rolled into the new `Tactic.NormNum.Inv`
* `Tactic.NormNum.OrderedRing` has been rolled into the new `Tactic.NormNum.Ineq`
* `Tactic.NormNum` imports all the new plug-in files
* `Tactic.Ring` only imports the `norm_num` plugins it needs
* `CancelDenoms` moved to `CancelDenoms.Core` with only the imports needed by the tactic
* and replaced with a new `CancelDenoms` that imports `CancelDenoms.Core` and some additional imports for plugins that are useful when using `cancel_denoms`
* `Linarith.Preprocessing` only imports `CancelDenoms.Core`, rather than `CancelDenoms`
* add imports to `Linarith` that are not needed for the implementation, but make it more powerful
* `SimpleGraph.Density` requires an additional import because it has been removed earlier.
* `test/GCongr/inequalities.lean` needs the `OfScientific` plugin.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants