Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/MathlibTest/Tactic/Grind/     Datei vom 15.10.2026 mit Größe 1 kB image not shown  

Quelle  Lint.lean   Sprache: Lean

 

module

import Mathlib
import Lean.Elab.Tactic.Grind.LintExceptions

-- These each instantiate 24 further lemmas (pretty much the same ones), but they seem reasonable.
-- We'll make an exception for this one,
-- but if we accumulate too many we can raise the threshold below.
#grind_lint skip Path.symm_apply
#grind_lint skip Set.Icc.convexComb_symm

-- This check verifies that `grind` annotations in Mathlib do not trigger run-away instantiations.
-- If this test fails, please follow the "Try this:" suggestions
-- which will explain the excessive instantiations.
-- Please modify newly introduced `grind` annotations to use the
-- `grind_pattern ... where ...` syntax to add side conditions that will prevent the run-away.
-- See https://lean-lang.org/doc/reference/latest/The--grind--tactic/E___matching/ for details.
#grind_lint check (min := 20) in module Mathlib

-- (Note: the above #grind_lint take about 20s as of 2025-11-21.
-- If it becomes too slow, we may need to split this file and lint different submodules separately,
-- to get parallelism.)

Messung
CHZG
9510010098

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland