Skip to content

Commit 14efe89

Browse files
committed
m,erge master
2 parents 9240c30 + 8ad5cdd commit 14efe89

323 files changed

Lines changed: 6244 additions & 3844 deletions

File tree

Some content is hidden

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

.github/build.in.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,11 @@ jobs:
267267
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
268268
with:
269269
name: mathlib4_artifact
270-
path: pr-branch/
270+
include-hidden-files: true
271+
# we exclude .git since there may be secrets in there
272+
path: |
273+
pr-branch/
274+
!pr-branch/.git/
271275
272276
# The cache secrets are available here, so we must not run any untrusted code.
273277
- name: upload cache

.github/workflows/bors.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,11 @@ jobs:
277277
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
278278
with:
279279
name: mathlib4_artifact
280-
path: pr-branch/
280+
include-hidden-files: true
281+
# we exclude .git since there may be secrets in there
282+
path: |
283+
pr-branch/
284+
!pr-branch/.git/
281285
282286
# The cache secrets are available here, so we must not run any untrusted code.
283287
- name: upload cache

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,11 @@ jobs:
284284
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
285285
with:
286286
name: mathlib4_artifact
287-
path: pr-branch/
287+
include-hidden-files: true
288+
# we exclude .git since there may be secrets in there
289+
path: |
290+
pr-branch/
291+
!pr-branch/.git/
288292
289293
# The cache secrets are available here, so we must not run any untrusted code.
290294
- name: upload cache

.github/workflows/build_fork.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,11 @@ jobs:
281281
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
282282
with:
283283
name: mathlib4_artifact
284-
path: pr-branch/
284+
include-hidden-files: true
285+
# we exclude .git since there may be secrets in there
286+
path: |
287+
pr-branch/
288+
!pr-branch/.git/
285289
286290
# The cache secrets are available here, so we must not run any untrusted code.
287291
- name: upload cache

.github/workflows/zulip_emoji_labelling.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
PR_NUMBER: ${{ github.event.number}}
4141
LABEL_STATUS: ${{ github.event.action }}
4242
LABEL_NAME: ${{ github.event.label.name }}
43+
PR_LABELS: ${{ toJSON(github.event.pull_request.labels.*.name) }}
4344
run: |
44-
printf $'Running the python script with pr "%s"\n' "$PR_NUMBER" "$LABEL_STATUS" "$LABEL"
45-
python scripts/zulip_emoji_reactions.py "$ZULIP_API_KEY" "$ZULIP_EMAIL" "$ZULIP_SITE" "$LABEL_STATUS" "$LABEL_NAME" "$PR_NUMBER"
45+
printf $'Running the python script with:\nPR number: "%s"\nlabel status: "%s"\nlabel: "%s"\nPR labels: "%s"\n' "$PR_NUMBER" "$LABEL_STATUS" "$LABEL" "$PR_LABELS"
46+
python scripts/zulip_emoji_reactions.py "$ZULIP_API_KEY" "$ZULIP_EMAIL" "$ZULIP_SITE" "$LABEL_STATUS" "$LABEL_NAME" "$PR_NUMBER" "$PR_LABELS"

Archive/Examples/Eisenstein.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ example : Irreducible (X ^ 4 - 10 * X ^ 2 + 1 : ℤ[X]) := by
3535
have hq_deg : q.natDegree = 2 := by unfold q; compute_degree!
3636
have hq_monic : q.Monic := by unfold q; monicity!
3737
have hfq : f = q ^ 2 - 12 * q + 12 := by ring
38-
-- On the other hand, `f %ₘ q = 12`, which is not a multiple of `9`.
38+
-- On the other hand, `f %ₘ q = 12`, which is not a multiple of `9`.
3939
apply generalizedEisenstein (K := ZMod 3) (q := q) (p := 2)
4040
· set q₃ : (ZMod 3)[X] := X ^ 2 + 1
4141
have hdeg_q₃ : q₃.natDegree = 2 := by unfold q₃; compute_degree!

Archive/Imo/Imo1982Q3.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ Copyright (c) 2024 Violeta Hernández Palacios. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Violeta Hernández Palacios, Alex Brodbelt
55
-/
6-
import Mathlib.Algebra.Order.BigOperators.Ring.Finset
7-
import Mathlib.Algebra.GeomSum
6+
import Mathlib.Algebra.Order.Field.GeomSum
87
import Mathlib.Data.NNReal.Basic
98

109
/-!

Archive/Imo/Imo2013Q5.lean

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ Copyright (c) 2021 David Renshaw. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: David Renshaw
55
-/
6-
import Mathlib.Algebra.GeomSum
6+
import Mathlib.Algebra.Order.BigOperators.Group.Finset
7+
import Mathlib.Algebra.Ring.GeomSum
8+
import Mathlib.Algebra.Ring.Regular
79
import Mathlib.Data.Real.Archimedean
810
import Mathlib.Tactic.Positivity
911
import Mathlib.Tactic.LinearCombination

Archive/MiuLanguage/DecisionSuf.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ theorem ind_hyp_suf (k : ℕ) (ys : Miustr) (hu : count U ys = succ k) (hdec : D
328328
-/
329329
theorem der_of_decstr {en : Miustr} (h : Decstr en) : Derivable en := by
330330
/- The next three lines have the effect of introducing `count U en` as a variable that can be used
331-
for induction -/
331+
for induction -/
332332
have hu : ∃ n, count U en = n := exists_eq'
333333
obtain ⟨n, hu⟩ := hu
334334
induction n generalizing en with

Archive/Wiedijk100Theorems/PerfectNumbers.lean

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Authors: Aaron Anderson
55
-/
66
import Mathlib.NumberTheory.ArithmeticFunction
77
import Mathlib.NumberTheory.LucasLehmer
8-
import Mathlib.Algebra.GeomSum
9-
import Mathlib.RingTheory.Multiplicity
108
import Mathlib.Tactic.NormNum.Prime
119

1210
/-!

0 commit comments

Comments
 (0)