Repository navigation
Conversation
This is now [managed by the mathlib4_docs repository](https://github.com/leanprover-community/mathlib4_docs/actions), as this is required to use the new github pages deployment mechanism. The downside of this approach is that we will have to restart doc builds manually every 90 days or so.
This adds Kyle Miller's elaborators for `Type*` and `Sort*` which provide implicit universe variables. It also includes a few tests. Co-authored-by: Kyle Miller <[email protected]>
Some of the tests for LibrarySearch functionality are nondetermininstic and were using `#guard_msgs` to check for specific output. This could [create spurious failures](https://github.com/leanprover-community/mathlib4/actions/runs/5810778556/job/15756601503). We switch to using `#guard_msgs (drop info)` for these tests, which still cleans up the stdout when running these tests without filtering out errors.
Add an option `lake exe graph --excludeMeta` which removes all nodes that start with `Mathlib.[Tactic|Lean|Util]`
Co-authored-by: Scott Morrison <[email protected]>
Co-authored-by: Scott Morrison <[email protected]>
| @@ -231,12 +237,13 @@ elab_rules : tactic | | |||
| if results.isEmpty then | |||
There was a problem hiding this comment.
Github doesn't let me comment or suggest on the appropriate line, but: should we check that (reducible) rfl doesn't close the goal by itself before looking at rewrite? (Note that even rw ... at h runs rfl on the goal and can close it, so checking it is indeed applicable in every case.) For example:
example : 0 = 0 by rw? -- Try this: rw [← @Nat.le_zero] -- "no goals"
(This is technically orthogonal to this PR, and maybe should be in a different one, but was born out of thinking about computeRfl.)
There was a problem hiding this comment.
Hmm... I'm not sure here. I agree the behaviour of rw? is confusing when you present it with a goal solvable by rfl, but I don't think this makes it rw?'s job to try rfl.
How about we don't modify this behaviour for now, but I'm happy to consider it separately.
|
The PR description doesn't seem to be accurate anymore (regarding bors d+ |
|
✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors merge |
This fixes a problem I encountered in another tactic, where the rewrites are not being tried with the original `MetavarContext`. Co-authored-by: Kevin Buzzard <[email protected]> Co-authored-by: Joachim Breitner <[email protected]> Co-authored-by: Chris Hughes <[email protected]> Co-authored-by: Eric Wieser <[email protected]> Co-authored-by: Anatole Dedecker <[email protected]> Co-authored-by: Thomas Browning <[email protected]> Co-authored-by: Oliver Nash <[email protected]> Co-authored-by: sgouezel <[email protected]> Co-authored-by: Alex J Best <[email protected]> Co-authored-by: Xavier Roblot <[email protected]> Co-authored-by: michaellee94 <[email protected]> Co-authored-by: Yuma Mizuno <[email protected]> Co-authored-by: Markus Himmel <[email protected]> Co-authored-by: Scott Morrison <[email protected]> Co-authored-by: Peiran Wu <[email protected]> Co-authored-by: Moritz Firsching <[email protected]> Co-authored-by: Yury G. Kudryashov <[email protected]> Co-authored-by: Ruben Van de Velde <[email protected]> Co-authored-by: Anne Baanen <[email protected]> Co-authored-by: Bolton Bailey <[email protected]> Co-authored-by: Frédéric Dupuis <[email protected]> Co-authored-by: Moritz Doll <[email protected]> Co-authored-by: kkytola <[email protected]> Co-authored-by: Joël Riou <[email protected]> Co-authored-by: damiano <[email protected]> Co-authored-by: Kyle Miller <[email protected]> Co-authored-by: Rémy Degenne <[email protected]> Co-authored-by: Jz Pan <[email protected]> Co-authored-by: Eric Rodriguez <[email protected]>
|
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. If you want to switch to GitHub's built-in merge queue, visit their help page. |
This fixes a problem I encountered in another tactic, where the rewrites are not being tried with the original
MetavarContext.