Skip to content

Commit f3a262f

Browse files
committed
Merge branch 'master' of github.com:leanprover-community/mathlib4 into pseudo-eval
2 parents 9b34e51 + 1134593 commit f3a262f

File tree

486 files changed

+6276
-4511
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

486 files changed

+6276
-4511
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11

22
---
3-
<!-- The text above the `---` will become the commit message when your
4-
PR is merged. Please leave a blank newline before the `---`, otherwise
5-
GitHub will format the text above it as a title.
3+
<!-- Your PR title will become the first line of the commit message.
4+
5+
In this box, the text above the `---` (if not empty) will be appended
6+
to the commit message, and can be used to give additional context or
7+
details. Please leave a blank newline before the `---`, otherwise GitHub
8+
will format the text above it as a title.
69
710
For details on the "pull request lifecycle" in mathlib, please see:
811
https://leanprover-community.github.io/contribute/index.html

.github/build.in.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
# Checkout the master branch into a subdirectory
8080
- name: Checkout master branch
81-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
81+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
8282
with:
8383
# Recall that on the `leanprover-community/mathlib4-nightly-testing` repository,
8484
# we don't maintain a `master` branch at all.
@@ -88,7 +88,7 @@ jobs:
8888

8989
# Checkout the PR branch into a subdirectory
9090
- name: Checkout PR branch
91-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
91+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
9292
with:
9393
ref: "${{ PR_BRANCH_REF }}"
9494
path: pr-branch
@@ -552,7 +552,7 @@ jobs:
552552
runs-on: ubuntu-latest # Note these steps run on disposable GitHub runners, so no landrun sandboxing is needed.
553553
steps:
554554

555-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
555+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
556556
with:
557557
ref: "${{ PR_BRANCH_REF }}"
558558

@@ -688,15 +688,6 @@ jobs:
688688
echo "number=${{ steps.PR_from_push.outputs.number || github.event.pull_request.number }}" | tee -a "$GITHUB_OUTPUT"
689689
echo "pr_labels=${{ steps.PR_from_push.outputs.pr_labels || join(github.event.pull_request.labels.*.name, ',') }}" | tee -a "$GITHUB_OUTPUT"
690690
691-
- if: contains(steps.PR.outputs.pr_labels, 'bench-after-CI')
692-
name: If `bench-after-CI` is present, add a `!bench` comment.
693-
uses: GrantBirki/comment@608e41b19bc973020ec0e189ebfdae935d7fe0cc # v2.1.1
694-
with:
695-
token: ${{ secrets.AUTO_MERGE_TOKEN }}
696-
issue-number: ${{ steps.PR.outputs.number }}
697-
body: |
698-
!bench
699-
700691
- id: remove_labels
701692
name: Remove "awaiting-CI"
702693
# we use curl rather than octokit/request-action so that the job won't fail
@@ -713,7 +704,7 @@ jobs:
713704
# unfortunately we cannot query only for 'auto-merge-after-CI' events
714705
# so we have to process this with jq in the next step
715706
id: get-timeline
716-
uses: octokit/graphql-action@8ad880e4d437783ea2ab17010324de1075228110 # v2.3.2
707+
uses: octokit/graphql-action@abaeca7ba4f0325d63b8de7ef943c2418d161b93 # v3.0.0
717708
with:
718709
query: |
719710
query($owner: String!, $name: String!, $number: Int!) {

.github/workflows/PR_summary.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717

1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2121
with:
2222
ref: ${{ github.event.pull_request.head.sha }}
2323
fetch-depth: 0
2424
path: pr-branch
2525

2626
# Checkout the master branch into a subdirectory
2727
- name: Checkout master branch
28-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2929
with:
3030
# When testing the scripts, comment out the "ref: master"
3131
ref: master
@@ -60,7 +60,7 @@ jobs:
6060
fi
6161
6262
- name: Set up Python
63-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
63+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
6464
with:
6565
python-version: 3.12
6666

.github/workflows/actionlint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
13+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
1414

1515
- name: suggester / actionlint
16-
uses: reviewdog/action-actionlint@f00ad0691526c10be4021a91b2510f0a769b14d0 # v1.68.0
16+
uses: reviewdog/action-actionlint@83e4ed25b168066ad8f62f5afbb29ebd8641d982 # v1.69.1
1717
with:
1818
tool_name: actionlint
1919
fail_level: error
@@ -22,7 +22,7 @@ jobs:
2222
name: check workflows generated by build.in.yml
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2626

2727
- name: update workflows
2828
run: |

.github/workflows/add_label_from_diff.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
if: github.repository == 'leanprover-community/mathlib4'
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2626
with:
2727
ref: ${{ github.event.pull_request.head.sha }}
2828
fetch-depth: 0

.github/workflows/auto_assign_reviewers.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
name: assign automatically proposed reviewers
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
14+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
1515
with:
1616
ref: master
1717
sparse-checkout: |
1818
scripts/assign_reviewers.py
1919
2020
- name: Set up Python
21-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
21+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2222
with:
2323
python-version: '3.x'
2424

.github/workflows/bench_summary_comment.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/bors.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888

8989
# Checkout the master branch into a subdirectory
9090
- name: Checkout master branch
91-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
91+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
9292
with:
9393
# Recall that on the `leanprover-community/mathlib4-nightly-testing` repository,
9494
# we don't maintain a `master` branch at all.
@@ -98,7 +98,7 @@ jobs:
9898

9999
# Checkout the PR branch into a subdirectory
100100
- name: Checkout PR branch
101-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
101+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
102102
with:
103103
ref: "${{ github.sha }}"
104104
path: pr-branch
@@ -562,7 +562,7 @@ jobs:
562562
runs-on: ubuntu-latest # Note these steps run on disposable GitHub runners, so no landrun sandboxing is needed.
563563
steps:
564564

565-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
565+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
566566
with:
567567
ref: "${{ github.sha }}"
568568

@@ -698,15 +698,6 @@ jobs:
698698
echo "number=${{ steps.PR_from_push.outputs.number || github.event.pull_request.number }}" | tee -a "$GITHUB_OUTPUT"
699699
echo "pr_labels=${{ steps.PR_from_push.outputs.pr_labels || join(github.event.pull_request.labels.*.name, ',') }}" | tee -a "$GITHUB_OUTPUT"
700700
701-
- if: contains(steps.PR.outputs.pr_labels, 'bench-after-CI')
702-
name: If `bench-after-CI` is present, add a `!bench` comment.
703-
uses: GrantBirki/comment@608e41b19bc973020ec0e189ebfdae935d7fe0cc # v2.1.1
704-
with:
705-
token: ${{ secrets.AUTO_MERGE_TOKEN }}
706-
issue-number: ${{ steps.PR.outputs.number }}
707-
body: |
708-
!bench
709-
710701
- id: remove_labels
711702
name: Remove "awaiting-CI"
712703
# we use curl rather than octokit/request-action so that the job won't fail
@@ -723,7 +714,7 @@ jobs:
723714
# unfortunately we cannot query only for 'auto-merge-after-CI' events
724715
# so we have to process this with jq in the next step
725716
id: get-timeline
726-
uses: octokit/graphql-action@8ad880e4d437783ea2ab17010324de1075228110 # v2.3.2
717+
uses: octokit/graphql-action@abaeca7ba4f0325d63b8de7ef943c2418d161b93 # v3.0.0
727718
with:
728719
query: |
729720
query($owner: String!, $name: String!, $number: Int!) {

.github/workflows/build.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494

9595
# Checkout the master branch into a subdirectory
9696
- name: Checkout master branch
97-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
97+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
9898
with:
9999
# Recall that on the `leanprover-community/mathlib4-nightly-testing` repository,
100100
# we don't maintain a `master` branch at all.
@@ -104,7 +104,7 @@ jobs:
104104

105105
# Checkout the PR branch into a subdirectory
106106
- name: Checkout PR branch
107-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
107+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
108108
with:
109109
ref: "${{ github.sha }}"
110110
path: pr-branch
@@ -568,7 +568,7 @@ jobs:
568568
runs-on: ubuntu-latest # Note these steps run on disposable GitHub runners, so no landrun sandboxing is needed.
569569
steps:
570570

571-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
571+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
572572
with:
573573
ref: "${{ github.sha }}"
574574

@@ -704,15 +704,6 @@ jobs:
704704
echo "number=${{ steps.PR_from_push.outputs.number || github.event.pull_request.number }}" | tee -a "$GITHUB_OUTPUT"
705705
echo "pr_labels=${{ steps.PR_from_push.outputs.pr_labels || join(github.event.pull_request.labels.*.name, ',') }}" | tee -a "$GITHUB_OUTPUT"
706706
707-
- if: contains(steps.PR.outputs.pr_labels, 'bench-after-CI')
708-
name: If `bench-after-CI` is present, add a `!bench` comment.
709-
uses: GrantBirki/comment@608e41b19bc973020ec0e189ebfdae935d7fe0cc # v2.1.1
710-
with:
711-
token: ${{ secrets.AUTO_MERGE_TOKEN }}
712-
issue-number: ${{ steps.PR.outputs.number }}
713-
body: |
714-
!bench
715-
716707
- id: remove_labels
717708
name: Remove "awaiting-CI"
718709
# we use curl rather than octokit/request-action so that the job won't fail
@@ -729,7 +720,7 @@ jobs:
729720
# unfortunately we cannot query only for 'auto-merge-after-CI' events
730721
# so we have to process this with jq in the next step
731722
id: get-timeline
732-
uses: octokit/graphql-action@8ad880e4d437783ea2ab17010324de1075228110 # v2.3.2
723+
uses: octokit/graphql-action@abaeca7ba4f0325d63b8de7ef943c2418d161b93 # v3.0.0
733724
with:
734725
query: |
735726
query($owner: String!, $name: String!, $number: Int!) {

.github/workflows/build_fork.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
# Checkout the master branch into a subdirectory
9494
- name: Checkout master branch
95-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
95+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
9696
with:
9797
# Recall that on the `leanprover-community/mathlib4-nightly-testing` repository,
9898
# we don't maintain a `master` branch at all.
@@ -102,7 +102,7 @@ jobs:
102102

103103
# Checkout the PR branch into a subdirectory
104104
- name: Checkout PR branch
105-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
105+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
106106
with:
107107
ref: "${{ github.event.pull_request.head.sha }}"
108108
path: pr-branch
@@ -566,7 +566,7 @@ jobs:
566566
runs-on: ubuntu-latest # Note these steps run on disposable GitHub runners, so no landrun sandboxing is needed.
567567
steps:
568568

569-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
569+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
570570
with:
571571
ref: "${{ github.event.pull_request.head.sha }}"
572572

@@ -702,15 +702,6 @@ jobs:
702702
echo "number=${{ steps.PR_from_push.outputs.number || github.event.pull_request.number }}" | tee -a "$GITHUB_OUTPUT"
703703
echo "pr_labels=${{ steps.PR_from_push.outputs.pr_labels || join(github.event.pull_request.labels.*.name, ',') }}" | tee -a "$GITHUB_OUTPUT"
704704
705-
- if: contains(steps.PR.outputs.pr_labels, 'bench-after-CI')
706-
name: If `bench-after-CI` is present, add a `!bench` comment.
707-
uses: GrantBirki/comment@608e41b19bc973020ec0e189ebfdae935d7fe0cc # v2.1.1
708-
with:
709-
token: ${{ secrets.AUTO_MERGE_TOKEN }}
710-
issue-number: ${{ steps.PR.outputs.number }}
711-
body: |
712-
!bench
713-
714705
- id: remove_labels
715706
name: Remove "awaiting-CI"
716707
# we use curl rather than octokit/request-action so that the job won't fail
@@ -727,7 +718,7 @@ jobs:
727718
# unfortunately we cannot query only for 'auto-merge-after-CI' events
728719
# so we have to process this with jq in the next step
729720
id: get-timeline
730-
uses: octokit/graphql-action@8ad880e4d437783ea2ab17010324de1075228110 # v2.3.2
721+
uses: octokit/graphql-action@abaeca7ba4f0325d63b8de7ef943c2418d161b93 # v3.0.0
731722
with:
732723
query: |
733724
query($owner: String!, $name: String!, $number: Int!) {

0 commit comments

Comments
 (0)