chars int64 40 24k | content_type stringclasses 9
values | id stringlengths 13 64 | source stringclasses 5
values | subset stringclasses 31
values | text stringlengths 40 24k |
|---|---|---|---|---|---|
14,177 | project_config | 0b4fccea2a8dc957d077d1c3936fe26349c930c222238287272129ec1d48e2e5 | local_context_file | context_text_records | # This file tracks the formalisation status of theorems from Freek Wiedijk's "Formalizing 100
# Theorems" list at https://www.cs.ru.nl/~freek/100/
#
# See yaml_check.py for documentation about the allowed fields in this file.
# The structure of this file is checked by `scripts/yaml_check.py` in this repo
# and by `make... |
289 | project_config | 61b267cc4358bb3e83d7f72ae371df1e858b3bfc5f8508e604277c6a81dbe64c | local_context_file | context_text_records | {
"name": "Mathlib4 dev container",
"build": {
"dockerfile": "Dockerfile"
},
"onCreateCommand": "lake exe cache get!",
"hostRequirements": {
"cpus": 4,
"memory": "8gb"
},
"customizations": {
"vscode": {
"extensions": ["leanprover.lean4"]
}
}
} |
241 | documentation_markdown | 1017a731f985450cbecd9d6eec62af8f209d404247a1ace279a3deef81c97db1 | local_context_file | context_text_records | # DownstreamTest
This directory is used for testing that a basic downstream project can be built using mathlib,
and that the mathlib cache works.
There is no `lean-toolchain` file, because CI will copy it from the main repo during testing. |
158 | project_config | 4cf4c262ea7b55879610ba21fc3c4cbac90b2845f6a059128c356d0844c9739a | local_context_file | context_text_records | name = "DownstreamTest"
version = "0.1.0"
defaultTargets = ["DownstreamTest"]
[[require]]
name = "mathlib"
path = "../"
[[lean_lib]]
name = "DownstreamTest" |
23,953 | project_config | fab087b1c8493c05804a72db527854c294c1aac5417a38b569d1dea5dba5d4dd | local_context_file | context_text_records | {"ignoreImport":
["Aesop",
"Batteries.Classes.SetNotation",
"Batteries.CodeAction",
"Batteries.Data.Fin.Basic",
"Batteries.Data.Json",
"Batteries.Tactic.Alias",
"Batteries.Tactic.Basic",
"Batteries.Tactic.Change",
"Batteries.Tactic.Ext",
"Batteries.Tactic.Ext.Attr",
"Batteries.Tactic.GeneralizeProo... |
4,594 | project_config | 2577b1aae35ee63a6e6db90848cdbb71db5689574e09952decb80521ccdfa952 | local_context_file | context_text_records | "Mathlib.Analysis.InnerProductSpace.Defs": ["Mathlib.Data.Complex.Basic"],
"Mathlib.Analysis.Distribution.SchwartzSpace": ["Mathlib.Tactic.MoveAdd"],
"Mathlib.Analysis.Convex.Star": ["Mathlib.Algebra.Order.Module.Synonym"],
"Mathlib.Analysis.Convex.Basic":
["Mathlib.Algebra.Order.BigOperators.Ring.Finset"],
"... |
1,863 | text_context | 5ccc8921d5ea59581f87945a85de12fe21766dcaf0308ac4f6108a1985fc89db | local_context_file | context_text_records | -- Manual exceptions for the text-based linters.
-- The entries in this file could be necessary in the long term.
-- The linter for the string "adaptation note" fires in the implementation of the linter,
-- and in the implementation of the #adaptation_note tactic: this is as expected.
Mathlib/Tactic/AdaptationNote.lea... |
6,816 | project_config | 3b4e0cf333e8bc8b70120c96cb244239225361f6fa06c58785665212eb27b00f | local_context_file | context_text_records | # This file contains basic information about significant downstream repositories.
# It is used by the `downstream-tags.py` script to check whether a given tag exists on the
# downstream repositories.
#
# Optional fields:
# path: subdirectory containing the Lean project (if not at repository root)
# zulip-contact: Z... |
9,265 | project_config | 76bd5fa409850d68fcb2a4bf6972d9055d08925ea8f223187eb34f0892714edf | local_context_file | context_text_records | [["docBlame", "CongrMetaM"],
["docBlame", "CongrState"],
["docBlame", "Cont"],
["docBlame", "ContT"],
["docBlame", "LawfulMonadCont"],
["docBlame", "MonadCont"],
["docBlame", "MonadWriter"],
["docBlame", "Writer"],
["docBlame", "eqns"],
["docBlame", "eqnsAttribute"],
["docBlame", "Bifunctor.bimap"],
["docBla... |
14,440 | documentation_markdown | a4f5fe55018442624d57ee1ba5f5fd807a26ae49166718bf833203b767060074 | local_context_file | context_text_records | # Miscellaneous scripts for working on mathlib
This directory contains miscellaneous scripts that are useful for working on or with mathlib.
When adding a new script, please make sure to document it here, so other readers have a chance
to learn about it as well!
## Where does a new script belong?
A script belongs in... |
23,972 | text_context | f54f417baf3088c8c27016bdc1b21af65c5d2769bb58cf0c75683752cfc6075c | local_context_file | context_text_records | AbelRuffini.not_solvable_by_rad'
abs_add'
abs_le_of_sq_le_sq'
abs_lt_of_sq_lt_sq'
abs_norm'
abs_norm_sub_norm_le'
Absorbent.zero_mem'
ack_strict_mono_left'
Action.inhabited'
AddAction.orbitZMultiplesEquiv_symm_apply'
AddChar.div_apply'
AddChar.inv_apply'
AddChar.neg_apply'
AddChar.sub_apply'
AddChar.zmodChar_apply'
Add... |
23,966 | text_context | df8c7dcf2e2c8d640c3b9577dbbdbfdd768d3b5b70bbd461f78b3669544ae91c | local_context_file | context_text_records | CochainComplex.shiftFunctor_obj_d'
CochainComplex.shiftFunctor_obj_X'
Codisjoint.ne_bot_of_ne_top'
coe_comp_nnnorm'
coe_nnnorm'
CofiniteTopology.isOpen_iff'
comap_norm_atTop'
CommGrpCat.coe_comp'
CommGrpCat.coe_id'
CommMon.comp'
CommMon.id'
commProb_def'
CommRingCat.equalizer_ι_isLocalHom'
Commute.mul_self_sub_mul_self... |
23,976 | text_context | 87b20d574b861ccfe59313644483ff20d163f4290852011f238cbd335d974d60 | local_context_file | context_text_records | FractionalIdeal.coeIdeal_le_coeIdeal'
FractionalIdeal.coeIdeal_ne_zero'
FractionalIdeal.inv_zero'
FreeAbelianGroup.induction_on'
FreeGroup.map.id'
FreeMagma.lift_comp_of'
FreeMagma.map_mul'
FreeMagma.traverse_mul'
FreeMagma.traverse_pure'
FreeSemigroup.lift_comp_of'
FreeSemigroup.map_mul'
FreeSemigroup.traverse_mul'
Fr... |
23,980 | text_context | b086c7d63cd08b28f1102314150313ce44dae06c921eae303c65d424d04a891f | local_context_file | context_text_records | Measurable.ennreal_tsum'
MeasurableEquiv.withDensity_ofReal_map_symm_apply_eq_integral_abs_deriv_mul'
measurable_findGreatest'
measurable_id'
measurable_id''
Measurable.inf'
Measurable.iSup'
Measurable.lintegral_kernel_prod_left'
Measurable.lintegral_kernel_prod_right'
Measurable.lintegral_kernel_prod_right''
Measurabl... |
23,985 | text_context | ddcc70fe3902c98934b73e9523136d010155aae889cdbff0703cf4432c6c99f0 | local_context_file | context_text_records | OmegaCompletePartialOrder.ContinuousHom.forall_forall_merge'
OmegaCompletePartialOrder.ScottContinuous.continuous'
one_le_div'
one_le_finprod'
one_le_pow_of_one_le'
one_le_thickenedIndicator_apply'
one_le_two'
one_lt_div'
one_lt_finprod'
one_lt_pow'
one_lt_zpow
one_ne_zero'
OnePoint.continuousAt_infty'
OnePoint.isOpen_... |
10,163 | text_context | 898bef2a43279abb53fafb958afa9939d8b96c93ec314c627064e805227046ca | local_context_file | context_text_records | Submodule.disjoint_span_singleton'
Submodule.eq_top_iff'
Submodule.hasSMul'
Submodule.inhabited'
Submodule.isScalarTower'
Submodule.ker_liftQ_eq_bot'
Submodule.le_sInf'
Submodule.linearProjOfIsCompl_apply_right'
Submodule.map_smul'
Submodule.map_smul''
Submodule.map_toAddSubmonoid'
Submodule.mem_annihilator'
Submodule.... |
2,128 | documentation_markdown | 65f284f766bf11ff73903fa7c5f42dbb584a8ec3e41dce81b1f18b7bafd452ce | local_context_file | context_text_records | ---
<!-- Your PR title will become the first line of the commit message.
In this box, the text above the `---` (if not empty) will be appended
to the commit message, and can be used to give additional context or
details. Please leave a blank newline before the `---`, otherwise GitHub
will format the text above it as a... |
113 | documentation_markdown | 53226220601d34eb7407f77429e93ee96e3bdbb69d4acd80bf36985d9d25eed7 | local_context_file | context_text_records | Please see [our contribution guide](https://leanprover-community.github.io/contribute/index.html) on our website. |
614 | project_config | bbed82654952d4f6622c28e4535c441294b81553ec3bf1bf2b33b018610e4ad0 | local_context_file | context_text_records | version: 2 # Specifies the version of the Dependabot configuration file format
updates:
# Configuration for dependency updates
- package-ecosystem: "github-actions" # Specifies the ecosystem to check for updates
directories:
- "/.github/workflows"
schedule:
# Check for updates to GitHub Actio... |
82 | project_config | a1c965a7d666944044122eb69c9bccde1c8aa96830cb82c3f53c8fd7c9dfa0eb | local_context_file | context_text_records | self-hosted-runner:
labels:
- bors
- pr
- doc-gen
- lean4checker |
520 | project_config | 5a9d91a52cfd74bf720ed9dcc5fc3c667e96f9d8b7ea45a6eae50d566853f5ce | local_context_file | context_text_records | {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.rulers" : [100],
"files.encoding": "utf8",
"files.eol": "\n",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"githubPullRequests.ignoredPullRequestBranches": [
"master"
],
"git... |
484 | project_config | ec12f91c0ec7dfc90b77604f30819ff15bf09578c50008057b2bd50fad347772 | local_context_file | context_text_records | {
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"leanprover.lean4"
],
// List of ext... |
778 | documentation_markdown | 004a95a13bc769bca42b50689e836ed9cf42dceba27002e3d54b7f2d37ec590d | local_context_file | context_text_records | # Order
This folder contains order theory in a broad sense.
## Order hierarchy
The basic order hierarchy is split across a series of subfolders that each depend on the previous:
* `Order.Preorder` for preorders, partial orders, lattices, linear orders
* `Order.BooleanAlgebra` for Heyting/bi-Heyting/co-Heyting/Boolea... |
552 | documentation_markdown | 80cad359c9497df4293f2dabf002796560be02f8c8295cad5cd4031eb0eb5e20 | local_context_file | context_text_records | Mathport prelude
===
This directory used to contain instructions for `mathport`,
helping it to translate `mathlib` and align declarations and tactics with `mathlib4`.
If you still need to use mathport, you will need to move back to the `v3-eol` tag of mathlib,
which still contains mathport infrastructure, and migrate... |
608 | documentation_markdown | 20fac22b9fc2398aed68cea31440fb088bd1ae1af624df776b3ff8b5f398d770 | local_context_file | context_text_records | # Algebra
This folder contains algebra in a broad sense.
## Algebraic hierarchy
The basic algebraic hierarchy is split across a series of subfolders that each depend on the
previous:
* `Algebra.Notation` for basic algebraic notation
* `Algebra.Group` for semigroups, monoids, groups
* `Algebra.GroupWithZero` for mono... |
582 | documentation_markdown | 9d59e711ea12355aa5234b776a4ce8ab9138b99fcdc162508566d46b86084f2e | local_context_file | context_text_records | # Convex analysis
This subfolder is destined to contain convexity results that require a norm or an inner product.
See the `Mathlib.Geometry.Convex` folder for the results that do not need a norm or an inner product.
## Topics
The topics currently covered are:
* Strongly convex functions, uniformly convex functions... |
524 | documentation_markdown | 989704211fa3ec6ff95dfad1de64e2b5bce70b2dcc8371ccd14a318650dc9bc8 | local_context_file | context_text_records | # Topological and analytic theory of convex cones
This subfolder is destined to contain results about convex cones that require a topology, a norm or
an inner product.
See the `Mathlib.Geometry.Convex.Cone` folder for the purely algebraic theory of convex cones.
## Topics
The convex cone topics currently covered ar... |
242 | documentation_markdown | 10f64922b4991b11fef48f8e82562342af91e6f6252c454e376e23af434c2f55 | local_context_file | context_text_records | # Probabilistic combinatorics
This folder is dedicated to probabilistic combinatorics,
namely results about sampling combinatorial objects randomly.
## Topics
The topics currently covered are:
* Binomial random graphs (just the definition) |
305 | documentation_markdown | e8be57d122ac5933737487da0a10576dda9a6547a210f65ff995675aeda34f71 | local_context_file | context_text_records | # Geometric group theory
This subfolder is destined to contain the formalisation of geometric group theory.
Geometric group theory is the study of finitely generated groups through their actions on geometric spaces.
## Topics
The geometric group theory topics currently covered are:
* Growth of groups |
273 | documentation_markdown | 916183a5b14e770db139e24a4f1514e49cc029c04bcd81f7134f928ae37c9892 | local_context_file | context_text_records | # Convex geometry
This subfolder is destined to contain convexity results that do not require a norm nor an inner product.
See the `Mathlib.Analysis.Convex` folder for the results that need a norm or an inner product.
## Topics
The topics currently covered are:
* Cones |
631 | documentation_markdown | 1261ef1d0d5c39db67b6d63e76ca0c559170f431366bd47605fabeb582e7514a | local_context_file | context_text_records | # Growth of groups
This subfolder is destined to contain results about the growth of groups.
If $G$ is a finitely generated group, say $G = \langle S\rangle$ for some finite symmetric set $S$, then the growth of $G$ is defined to be the function $n \mapsto |S^n|$ where $S^n$ denotes pointwise multiplication of $n$ co... |
363 | documentation_markdown | 955a3badb4650d024eaa314ad038049241135b802bf2dadc88f244c96deb6503 | local_context_file | context_text_records | # Algebraic theory of convex cones
This subfolder is destined to contain results about convex cones that do not require a topology,
a norm nor an inner product.
See the `Mathlib.Analysis.Convex.Cone` folder for the topological results.
## Topics
The convex cone topics currently covered are:
* Convex cones
* Pointed... |
360 | documentation_markdown | 2b6a9eb140838874191a5a5284e567af4c05c38220af1a55dd44e8e639a0f475 | local_context_file | context_text_records | # Basic algebraic notation
This subfolder contains definitions and very minimal theory related to the basic algebraic operators
like `0`, `1`, `+`, `-`, `*`, `/`, `+ᵥ`, `•`, `-ᵥ`.
The files in this subfolder should stay extremely early in the import hierarchy, and in particular
are forbidden from importing anything f... |
436 | documentation_markdown | f4a7c7ad193308b6b20078bd356653bd052b65a3cdb6c86c99b9d4337b4497cb | local_context_file | context_text_records | This directory contains source files for [Penrose diagrams](https://penrose.cs.cmu.edu/):
* Domain files (`.dsl`) describe the objects available in a given domain.
* Style files (`.sty`) specify how diagrams involving the objects from a given domain should be
drawn.
* Substance files (`.sub`) describe specific diagra... |
557 | documentation_markdown | 8ca6db69f64f65da9df23cc69d399a243eaec51c1dfe4fc64f8870f21189c40d | local_context_file | context_text_records | # "Formalizing 100 Theorems" in Lean
In this folder, we keep proofs of theorems on Freek Wiedijk's [100 theorems list](https://www.cs.ru.nl/~freek/100/) which don't fit naturally elsewhere in mathlib or in other Lean repositories.
See [this page](https://leanprover-community.github.io/100.html) for more information a... |
3,215 | documentation_markdown | d92a79348f4aae3b4286699459c263369489108a70bdfb1d0752e60f09b08d62 | local_context_file | context_text_records | # IMO problems
We have a collection of solutions to IMO problems in mathlib, stored under `/Archive/Imo/`.
These are part of mathlib for three purposes:
* The [IMO Grand Challenge](https://imo-grand-challenge.github.io/) will need training data, and exemplars,
and this is a reasonable place to collect Lean samples ... |
1,887 | documentation_markdown | c6288ff8a2f37c44d1e5f952c92f674288969747a718210760320a69c1883490 | local_context_file | context_text_records | # Mathlib4 benchmark suite
This directory contains the mathlib4 benchmark suite.
It is built around [radar](https://github.com/leanprover/radar)
and benchmark results can be viewed
on the [Lean FRO radar instance](https://radar.lean-lang.org/repos/mathlib4).
To execute the entire suite, run `scripts/bench/run` in the... |
191 | documentation_markdown | 3ab9aba2ad1a14c11f03ba4ccd644764177a910b86c41e320a9b7401d2364d58 | local_context_file | context_text_records | # The `lint` benchmark
This benchmark runs `lake exe runLinter Mathlib`.
It measures the following metrics:
- `lint//instructions`
- `lint//maxrss`
- `lint//task-clock`
- `lint//wall-clock` |
277 | documentation_markdown | 5b5ab8fde6e72f64317aafaa4e9d4f2caa169afddc22b5aab71c85a6052dcd58 | local_context_file | context_text_records | # The `open-mathlib` benchmark
This benchmark approximates `import Mathlib` in the editor by running `lake lean Mathlib.lean`.
It measures the following metrics:
- `open-mathlib//instructions`
- `open-mathlib//maxrss`
- `open-mathlib//task-clock`
- `open-mathlib//wall-clock` |
166 | documentation_markdown | 365de6d52ad158c6518e4045d995bedd1f0cbb24885d855061b22507042afc52 | local_context_file | context_text_records | # The `size` benchmark
This benchmark measures a few deterministic values.
- `size/.lean//files`
- `size/.lean//lines`
- `size/.olean//files`
- `size/.olean//bytes` |
2,505 | project_config | bd999fa57f6d7ac06966c151f04418f7d82afab5eef10b8117748a91e9ec7381 | local_context_file | context_text_records | name: docker
on:
schedule:
- cron: '0 0 * * *' # Runs at 00:00 UTC every day
workflow_dispatch:
env:
# Possibly change this to `hub.docker.com` in the future
REGISTRY: ghcr.io
REPO_NAME: ${{ github.repository }}
jobs:
build-and-push-docker-images:
if: github.repository == 'leanprover-community/mat... |
6,981 | project_config | a4c4c46b8b518448632903e293478bb15dce3a7dcbfb336ec911a13935543db5 | local_context_file | context_text_records | name: Remove unnecessary set_option lines
on:
schedule:
# Run several hours before the technical debt report which runs Mondays at 04:00 UTC
- cron: "20 23 * * 0" # At 23:20 UTC on Sunday.
workflow_dispatch:
inputs:
dry_run:
description: 'If true, only scan and report without modifying fi... |
23,996 | project_config | 82c6215726248e23089e8984b91550426c1f14b90c44002d643e31204f96ed75 | local_context_file | context_text_records | # Reusable workflow invoked by build.yml, bors.yml, build_fork.yml, and ci_dev.yml.
on:
workflow_call:
inputs:
concurrency_group:
type: string
required: true
tools_branch_ref:
type: string
required: false
default: ''
pr_branch_ref:
type: string
... |
18,208 | project_config | bba2318c5e253af0f9addaa8249ebba7d2bd5a26cf194ad336230f8beb38f4c9 | local_context_file | context_text_records | fi
status=${PIPESTATUS[0]}
if grep -q "cannot parse arguments" ".lake/lint_output_attempt_${attempt}.txt"; then
echo ""
echo "=============================================================================="
echo "ERROR: Your branch uses an older version o... |
1,431 | project_config | c777c31468f44aab9669de70c1717dd69e1c887d1f82ae02b172fe5b95f315e6 | local_context_file | context_text_records | name: continuous integration (mathlib forks)
on:
pull_request_target:
branches-ignore:
# ignore tmp branches used by bors
- 'staging.tmp*'
- 'trying.tmp*'
- 'staging*.tmp'
- 'nolints'
paths-ignore:
# pull_request_target uses the workflow from the target branch:
# PR ... |
514 | project_config | 348191f9ad1bc67544937814cc2d88ce5bca5e4aadf72e93cbfdc8c8062b5477 | local_context_file | context_text_records | name: Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4'
steps:
- name: Create GitHub Release
uses: softprops/a... |
9,693 | project_config | df220e3c98f89cf52b5463107cc6b932c116799a1259b6ae1480a7fcb735e2e0 | local_context_file | context_text_records | # Sanity checks for mathlib-ci usage in workflow files
#
# 1. Prevent CI breakages caused by stale or mistyped `CI_SCRIPTS_DIR` paths
# in workflow files by validating references against a fresh checkout of
# `leanprover-community/mathlib-ci`.
# On workflow changes, this job scans `.github/workflows/*.{yml,yam... |
4,740 | project_config | 2e7a39081e4a33a73b6145661682829277116e7a38bc136598e8bdc08f33e8a4 | local_context_file | context_text_records | name: Zulip emoji CI status
on:
workflow_run:
workflows: ["continuous integration", "continuous integration (mathlib forks)"]
types: [requested, completed]
# Limit permissions for GITHUB_TOKEN for the entire workflow
permissions:
contents: read
pull-requests: read
# All other permissions are implicitl... |
2,250 | project_config | 3224eccb87b02adc18a223181e552d39c93c7ae9d3fd3e0c29ed545bfff70a13 | local_context_file | context_text_records | on:
pull_request_target:
types: [labeled, unlabeled]
# Limit permissions for GITHUB_TOKEN for the entire workflow
permissions:
contents: read # minimum permissions for actions/checkout & actions/setup-python
# All other permissions are implicitly 'none'
jobs:
# When a PR is (un)labelled with awaiting-auth... |
13,995 | project_config | a700ea777b5279a123a459d989d7e5f5b87c437e3dab81b22156c8b074706a84 | local_context_file | context_text_records | name: Post PR summary comment
on:
pull_request_target:
# Limit permissions for GITHUB_TOKEN for the entire workflow
permissions:
contents: read
pull-requests: write # Only allow PR comments/labels
# All other permissions are implicitly 'none'
jobs:
build:
name: "post-or-update-summary-comment"
run... |
3,306 | project_config | 0e1c70601a719fc2796bb4f317141b8ad10d24d70095700fe67ca8f187efbbe6 | local_context_file | context_text_records | name: Maintainer merge
# triggers the action when
on:
# the PR receives a comment
issue_comment:
types: [created, edited]
# the PR receives a review
pull_request_review:
# whether or not it is accompanied by a comment
types: [submitted]
# the PR receives a review comment
pull_request_review_com... |
2,437 | project_config | f9e3d840fe893f657d07d6722744808a2760612808760c65587d17e6dd8f1b9f | local_context_file | context_text_records | name: splice-bot (workflow_run)
on:
workflow_run:
workflows: ["splice-bot"]
types: [completed]
permissions: {}
jobs:
run-splice-bot:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Mint splicebot t... |
22,912 | project_config | 68f093f90d383f1922d5b3d54e72847bd59a379507c40f4b4b86f89013d8f1ea | local_context_file | context_text_records | name: Post to zulip if the nightly-testing branch is failing.
on:
workflow_run:
workflows: ["continuous integration"]
types:
- completed
jobs:
handle_failure:
if: ${{ github.repository == 'leanprover-community/mathlib4-nightly-testing' &&
github.event.workflow_run.conclusion == 'fai... |
14,861 | project_config | 9a1ce3b67f22ebd330519ebbda5563bf09b0c07f2191a21338e8ba1ef6f0e1f0 | local_context_file | context_text_records | name: Bump toolchain and merge pr-testing branches
# This workflow combines the former `nightly_bump_toolchain.yml` and `discover-lean-pr-testing.yml`
# into a single workflow. This ensures that when the toolchain is bumped, any relevant
# lean-pr-testing branches are merged in the same push, avoiding spurious CI fail... |
3,798 | project_config | a7b677e19ddf538b0feb258f0ec6afff52b184d6c5fa9a951b7307d732010f07 | local_context_file | context_text_records | # This workflow allows any user to add or remove one of the labels in the array `labelArray`
# by commenting on the PR or issue.
# The script reacts to lines in the comment whose entire content is, up to whitespace,
# the label name, optionally preceded by `-`.
# For each label, the bot follows the instruction of the *... |
11,353 | project_config | 80121c7a708cc1af1041393d7a7181b22a7fab119ce4fdd6dba767c294a351dc | local_context_file | context_text_records | name: Remove outdated deprecated declarations
on:
schedule:
- cron: "5 4 15 * *" # At 04:05, on the 15th of every month
workflow_dispatch:
inputs:
raw_from_date:
description: 'starting date for deprecations to remove: YYYY-MM-DD or valid input for date -d, like "5 years ago"'
required: ... |
1,440 | project_config | 114d8564b42a020641d04d378223ddc44fb1add7ea348701802612e308cca33e | local_context_file | context_text_records | name: Weekly Technical Debt Counters
on:
schedule:
- cron: '0 4 * * 1' # Run at 04:00 UTC every Monday
workflow_dispatch:
jobs:
run-script:
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4'
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500... |
919 | project_config | c6fcbb9cc74bd10f4f20cc9b40e0932e18e2d7fcb50c52184d0db7c3b8d32fda | local_context_file | context_text_records | name: Export workflow telemetry
on:
workflow_run:
workflows:
# The *names* of the workflows to collect telemetry for
- "continuous integration"
- "continuous integration (mathlib forks)"
- "continuous integration (staging)"
types: [completed]
permissions:
actions: read
contents: ... |
2,173 | project_config | e77ba84ad8227c690fffdd800b1aeb07148bc069f69880b271937e6d4e73f93d | local_context_file | context_text_records | name: Zulip emoji merge update
on:
push:
branches:
- master
- nightly-testing
- bump/*
jobs:
zulip-emoji-merged:
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4' ||
github.repository == 'leanprover-community/mathlib4-nightly-testing'
steps:... |
4,776 | project_config | 99fe24bf6c0d3d67008c79a83679e7b0b59367957f9d742c154b8930f0e3d3e1 | local_context_file | context_text_records | name: Check PR titles
on:
pull_request_target:
types:
- opened
- reopened
- edited
# Limit permissions for GITHUB_TOKEN for the entire workflow
permissions:
contents: read
pull-requests: write # Only allow PR comments/labels
# All other permissions are implicitly 'none'
jobs:
check_t... |
604 | project_config | 4b406c929a4eca8da0102bd59c3b2f2333da25d41b25bd524cfd84ab4c105513 | local_context_file | context_text_records | name: Cross off linked issues
on:
# the closed event type causes unchecked checkbox references to be checked / marked complete
# the reopened event type causes checked checkbox references to be unchecked / marked incomplete
issues:
types: [closed, reopened]
# the action works on pull request events as wel... |
4,381 | project_config | d30314e4c99fb2407138b737fb879e3cb7b35d3b9d2fc290eef238e0d0b884d9 | local_context_file | context_text_records | # Commit Verification CI
# Verifies transient and automated commits in PRs
#
# - Transient commits (prefix: "transient: ") must have zero net effect
# - Automated commits (prefix: "x: <command>") must match command output
# - Uploads a workflow artifact with verification status and a comment to be posted on the PR
nam... |
1,815 | project_config | 820c18cf562248f4daa8cf68a84729c329f5edde897bf3124840c33592621b24 | local_context_file | context_text_records | name: Dependent Issues
on:
schedule:
- cron: '*/15 * * * *' # run every 15 minutes
workflow_dispatch:
jobs:
cancel:
name: 'Cancel Previous Runs (dependent issues)'
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4'
# timeout-minutes: 3
steps:
- uses: st... |
1,323 | project_config | 65faf34028b67487318d5d3e728ef759ccf183229279b93ac323b22330df8364 | local_context_file | context_text_records | name: Weekly Long File Report
on:
schedule:
- cron: '0 4 * * 1' # Run at 04:00 UTC every Monday
workflow_dispatch:
jobs:
run-script:
if: github.repository == 'leanprover-community/mathlib4'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe000... |
3,334 | project_config | 8bae61effd8fd0d99cc976ad18d15e01b87781ee945fd165d1e51ce34438a51f | local_context_file | context_text_records | name: Add "closed-pr" emoji in Zulip
# adds a reaction to Zulip messages that refer to a PR that was closed, but not merged
# triggers the action when
on:
pull_request_target:
# the pull request is closed or reopened, to add or remove the emoji
types: [closed, reopened]
# Limit permissions for GITHUB_TOKEN ... |
2,221 | project_config | f2cc2e20e15e94463fe0cf2f02922fde7911a50693edd2d233ce102e185776da | local_context_file | context_text_records | name: update nolints
on:
schedule:
- cron: "0 0 * * 0" # At 00:00 UTC on Sunday.
workflow_dispatch:
jobs:
build:
name: Build, lint and update nolints and style exceptions
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4'
permissions:
contents: read
i... |
913 | project_config | fed4877126b5b76ced447ac33288c53a90400f88b0b4cf8f88b6858e7e754790 | local_context_file | context_text_records | name: Run pre-commit and in-place update PR on push
on:
push:
branches-ignore:
# ignore tmp branches used by bors
- 'staging.tmp*'
- 'trying.tmp*'
- 'staging*.tmp'
- 'nolints'
# ignore staging and trying branches used by bors, these are handled by bors.yml
- 'staging'
... |
3,801 | project_config | 8faa28fe4f70b74afbff319e81be403fb5a4851b82083b5acdb5659ecab14f45 | local_context_file | context_text_records | name: Late importers report
on:
schedule:
- cron: '0 4 * * 1' # Run at 04:00 UTC every Monday
workflow_dispatch:
env:
TOP_MODULE: Mathlib
jobs:
late-importers:
name: Build
runs-on: pr
if: github.repository == 'leanprover-community/mathlib4'
steps:
- name: cleanup
run: |
... |
414 | project_config | 03faf8c65fea182de8c67d080020fc5e7fa63d1cd9e3e477f155f3e3fb99806c | local_context_file | context_text_records | on:
pull_request
name: lint and suggest
jobs:
lint_and_suggest:
if: github.repository == 'leanprover-community/mathlib4' && github.event.pull_request.draft == false
name: Lint and suggest
runs-on: ubuntu-latest
steps:
- uses: leanprover-community/lint-style-action@a7e7428fa44f9635d6eb8e01919... |
7,246 | project_config | 715688d88b23de9dd8eee759c7a069c2d64d83b13a6260c8208ecb82e1c9f149 | local_context_file | context_text_records | name: Monitor Dependency Update Failures
on:
workflow_run:
workflows: ["continuous integration"]
types:
- completed
branches:
- 'update-dependencies-**'
jobs:
monitor-failures:
runs-on: ubuntu-latest
if: ${{ github.repository == 'leanprover-community/mathlib4' && github.event.workf... |
11,193 | project_config | 80269b3d138664a12c78dc428f0ce3c9122396b4be2a58b6875a50da117190d0 | local_context_file | context_text_records | name: Maintainer merge (workflow_run)
# triggers the action when
on:
workflow_run:
workflows: ["Maintainer merge"]
types:
- completed
jobs:
ping_zulip:
name: Ping maintainers on Zulip
runs-on: ubuntu-latest
if: ${{ github.repository == 'leanprover-community/mathlib4' && github.event.work... |
9,362 | project_config | 56b85efa34e7b89965ffb44b7043ee89336124246db41f348b5a3d081444ce10 | local_context_file | context_text_records | name: Add "ready-to-merge" and "delegated" label (workflow_run)
on:
workflow_run:
workflows: ['Add "ready-to-merge" and "delegated" label']
types:
- completed
permissions:
actions: read
contents: read
jobs:
add_ready_to_merge_label:
name: Add ready-to-merge or delegated label
runs-on: ... |
18,107 | project_config | 50ce63a725689619599c33f3965bac3e843c5fbc8ae293a774ee9b3ae5a579a7 | local_context_file | context_text_records | name: Daily CI Workflow
# This workflow runs daily on `master` and the latest `nightly-testing-YYYY-MM-DD` tag,
# running some expensive CI checks that we don't want to run on every PR.
# It reports results via Zulip.
# This script requires that the ZULIP_API_KEY secret is available in both
# `leanprover-community/mat... |
3,935 | project_config | 4c5829c569903580bf37d3afe67cd1ebbc41449461e4bdc50736cd4ea58a9efb | local_context_file | context_text_records | name: Weekly linting report
on:
schedule:
- cron: '0 5 * * 1' # Run at 05:00 UTC every Monday
workflow_dispatch:
env:
TOP_MODULE: Mathlib
jobs:
weekly-lints:
name: Build
runs-on: pr
if: github.repository == 'leanprover-community/mathlib4'
steps:
- name: cleanup
run: |
f... |
3,095 | project_config | 351042067154927fa4ecb8024fc52bcbc43f18e3d0deb4e7c0091190dc773ede | local_context_file | context_text_records | # This job merges every commit to `master` into `nightly-testing`, resolving merge conflicts in favor of `nightly-testing`.
name: Merge master to nightly
on:
schedule:
- cron: '30 0 * * *' # At 00:30 UTC every day.
workflow_dispatch:
jobs:
merge-to-nightly:
runs-on: ubuntu-latest
if: github.reposi... |
8,270 | project_config | 0edb6bd71589795150e6332b0f03292e006ac887c87123fee14ba5b594b183f1 | local_context_file | context_text_records | name: Update Mathlib Dependencies
on:
schedule:
- cron: '0 * * * *' # This will run every hour
workflow_dispatch:
jobs:
update-dependencies:
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4'
permissions:
pull-requests: read
id-token: write
env:
... |
1,925 | project_config | 8e9b18e7469102c04451e7de8951ac0da7a4bb3bccd3ad0b9da95cd82f619ac5 | local_context_file | context_text_records | name: ci dev
on:
workflow_dispatch:
inputs:
tools_branch_ref:
description: ref for tools checkout (defaults to 'this commit')
required: false
type: string
default: ''
pr_branch_ref:
description: ref for building-branch checkout (defaults to 'this commit')
... |
1,708 | project_config | 64acf190c7fcd34ab61b365b64d5210a86e6b26daa4727301ccfa76311231cfe | local_context_file | context_text_records | name: continuous integration (staging)
on:
push:
branches:
- staging
- trying
concurrency:
# label each workflow run; only the latest with each label will run
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.run_id }}
# cancel any running workflow with the same label
cancel-in-prog... |
2,145 | project_config | 17d7ae82cafa033ccc9976b4070961e80bd555b0be66ae590df2d2e525ccd248 | local_context_file | context_text_records | # Commit Verification CI (workflow run)
# Verifies transient and automated commits in PRs
#
# - Downloads the workflow artifact uploaded by commit_verification.yml
# - Posts a summary comment categorizing commits for reviewers
name: Commit Verification (workflow_run)
on:
workflow_run:
workflows: ["Commit Verifi... |
415 | project_config | c5f6c1bb9a20f5c5702e0c81b49d9103c2793d2d7699aee658ae6a784a82f861 | local_context_file | context_text_records | name: splice-bot
on:
pull_request_review_comment:
types: [created]
permissions: {}
jobs:
call-splice-bot:
if: ${{ contains(github.event.comment.body, 'splice-bot') }}
uses: leanprover-community/SpliceBot/.github/workflows/splice.yaml@a463ae17022e8eb5929a208c1b136aeebcaf77e1 # master
with:
#... |
4,606 | project_config | 9666d1f1c7eda3d27d14f03c10ac086a4f1facc4b8b0ffdc92912f606082ade9 | local_context_file | context_text_records | name: Add "ready-to-merge" and "delegated" label
# triggers the action when
on:
# the PR receives a comment
issue_comment:
types: [created]
# the PR receives a review
pull_request_review:
# whether or not it is accompanied by a comment
types: [submitted]
# the PR receives a review comment
pull_... |
5,366 | project_config | a3ea671e9fc518bce37f29beed4414fb5fa6d6e7b53c675e33bef83cc60524fe | local_context_file | context_text_records | name: Label New Contributors
# Written with ChatGPT: https://chat.openai.com/share/3777ceb1-d722-4705-bacd-ba3f04b387be
on:
pull_request_target:
types:
- opened
# Limit permissions for GITHUB_TOKEN for the entire workflow
permissions:
contents: read
pull-requests: write # Only allow PR comments/labe... |
1,426 | project_config | 2177df13b222338860049ec90fbaac1c919d15bc85ce51525492cf2d30118a88 | local_context_file | context_text_records | name: bot fix style
# triggers the action when
on:
issue_comment:
# the PR receives a comment, or a comment is edited
types: [created, edited]
pull_request_review:
# triggers on a review, whether or not it is accompanied by a comment
types: [submitted]
pull_request_review_comment:
# triggers ... |
2,938 | project_config | 513f422ec8ea445d931c6b2feae60a99f051e28fda7a3ba46d8823254c710413 | local_context_file | context_text_records | name: Autolabel PRs
on:
pull_request_target:
types: [opened]
push:
paths:
- scripts/autolabel.lean
- .github/workflows/add_label_from_diff.yaml
# Limit permissions for GITHUB_TOKEN for the entire workflow
permissions:
contents: read
pull-requests: write # Only allow PR comments/labels
#... |
1,211 | project_config | 3dbc2b57728f05affb2b3ba01d0ca6c67d7452eaddf64fa08a08cef2cb296d37 | local_context_file | context_text_records | name: Merge conflicts
on:
schedule:
- cron: '*/15 * * * *' # run every 15 minutes
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4'
permissions:
id-token: write
steps:
- name: Generate app token
id: app-token
... |
1,020 | project_config | dfa903de8f09f30872062ffb2800b62ec4b89426124fa4f798dafdb65d1b6d85 | local_context_file | context_text_records | name: Check workflows
on:
pull_request:
paths:
- '.github/**'
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: suggester / actionlint
uses: reviewdog/action-actionlint@6fb... |
1,722 | project_config | ffc830786729d7a1d1af3fa6558dd6031a8335267a9eacb9c6c8f41121567fde | local_context_file | context_text_records | name: continuous integration
on:
push:
branches-ignore:
# ignore tmp branches used by bors
- 'staging.tmp*'
- 'trying.tmp*'
- 'staging*.tmp'
# ignore staging and trying branches used by bors, these are handled by bors.yml
- 'staging'
- 'trying'
# ignore branches me... |
811 | project_config | b1d1b68db0f37d1fe6ec1b9dc0505727f2f7e7d2bbf461cf4d58c54020fd62be | local_context_file | context_text_records | name: Daily master tag
on:
schedule:
# Run daily at 10:00 UTC (after nightly-testing has settled)
- cron: '0 10 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
tag:
runs-on: ubuntu-latest
if: github.repository == 'leanprover-community/mathlib4'
steps:
- uses: actions/ch... |
2,509 | documentation_markdown | aa152d9fc6be5bb9471b25dcb867695e44b4d021d42f2070b2525e600b423413 | local_context_file | context_text_records | # get-mathlib-ci
This action is the source of truth for how workflows in this repository check out
`leanprover-community/mathlib-ci`.
## Policy
Any workflow that needs `mathlib-ci` should use this action instead of writing its
own `actions/checkout` block for `leanprover-community/mathlib-ci`.
The default `ref` in ... |
1,922 | project_config | 0ccb311d93ef8ea4eab2cde8eef43cbb59be19dacf480628270d7b2d5b31e0c9 | local_context_file | context_text_records | # Source of truth for `mathlib-ci` checkout settings in this repository.
# Workflows should use this action instead of duplicating the checkout block
# and hardcoded ref in multiple places.
name: Get mathlib-ci
description: Checkout leanprover-community/mathlib-ci at a shared ref.
inputs:
ref:
description: Git re... |
1,704 | documentation_markdown | 71b886eaa81ca7657dbdb5fdd91cba0bc550776cd42d73cf5939479585703b8e | local_context_file | context_text_records | # Plausible
A property testing framework for Lean 4 that integrates into the tactic framework.
## Usage
If you are using built in types Plausible is usually able to handle them already:
```lean
import Plausible
example (xs ys : Array Nat) : xs.size = ys.size → xs = ys := by
/-
===================
Found a counte... |
166 | project_config | bbd8682c9d594e23e29750a31f24ad97c5e4010625c99b5d6044ea27f7a95769 | local_context_file | context_text_records | name = "plausible"
version = "0.1.0"
defaultTargets = ["Plausible"]
testRunner = "PlausibleTest"
[[lean_lib]]
name = "PlausibleTest"
[[lean_lib]]
name = "Plausible" |
4,913 | documentation_markdown | da886be7d2947ac57ba56b51451a53e133ae82e9533dd1293971d5b03009d007 | local_context_file | context_text_records | # ProofWidgets4 releases
This file contains work-in-progress notes for the upcoming release, as well as previous releases.
Please check the [releases](https://github.com/leanprover-community/ProofWidgets4/releases) page
for the build artifacts.
v0.0.95
-------
* Add pre-built JS files to the repository.
This remov... |
6,858 | documentation_markdown | 99b7c8550ff531efc277c4a447e576cea832f35e730c864b56c968a62404eaeb | local_context_file | context_text_records | # ProofWidgets
ProofWidgets is a library of user interface components for [Lean 4](https://leanprover.github.io/). It
supports:
- symbolic visualizations of mathematical objects and data structures
- data visualization
- interfaces for tactics and tactic modes
- alternative and domain-specific goal state displays
- us... |
23,992 | project_config | 63e8eab35b99c249b726612b5712d22366c663167c41fa331d824a5725c2a988 | local_context_file | context_text_records | {
"name": "@leanprover-community/proofwidgets4",
"version": "0.2.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@leanprover-community/proofwidgets4",
"version": "0.2.0",
"license": "Apache-2.0",
"dependencies": {
"@leanprover/infoview": "~0.11.0",
... |
23,952 | project_config | e137cab7aed06e1500baaa3a4b06834165983e35380d5b79a99cc7693948aa54 | local_context_file | context_text_records | "glibc"
],
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@rollup/rollup-linux-arm64-musl": {
"version": "4.59.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.59.0.tgz",
"integ... |
23,985 | project_config | f8eae5f6c9413cc701fac8abd1e24cd64e0521b6ed3cc2cf2d6b449a64a418e4 | local_context_file | context_text_records | "resolved": "https://registry.npmjs.org/@types/three/-/three-0.183.1.tgz",
"integrity": "sha512-f2Pu5Hrepfgavttdye3PsH5RWyY/AvdZQwIVhrc4uNtvF7nOWJacQKcoVJn0S4f0yYbmAE6AR+ve7xDcuYtMGw==",
"license": "MIT",
"dependencies": {
"@dimforge/rapier3d-compat": "~0.12.0",
"@tweenjs/tween.js": "~... |
23,952 | project_config | 27fad271ceffbc40f5252f6204ec1b6a6691e56f98f4af22673b6cadcc3f2270 | local_context_file | context_text_records | "d3-color": "1 - 3",
"d3-interpolate": "1 - 3"
},
"engines": {
"node": ">=12"
}
},
"node_modules/d3-selection": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz",
"integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw... |
23,991 | project_config | 6ab8a09923028a3d54eaa9a4c6abd673f562fcf177df268c646ecedf194ac455 | local_context_file | context_text_records | "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==",
"license": "MIT",
"dependencies": {
"call-bind": "^1.0.8",
"call-bound": "^1.0.3",
"get-intrinsic": "^1.2.6"
},
"engines": {
"node": ">= 0.4"
},
... |
23,989 | project_config | e71955be98dc0216a25c4317439d608a0a420240659813a5c6ee8b6565336092 | local_context_file | context_text_records | "license": "MIT"
},
"node_modules/possible-typed-array-names": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",
"integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.