Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  dup_decls_report.lean   Sprache: Lean

 

/-
Copyright (c) 2026 Bryan Gin-ge Chen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bryan Gin-ge Chen
-/

import Mathlib

/-!
# Report of duplicate declarations across Mathlib

This script imports all of `Mathlib` and runs `Mathlib.Tactic.DuplicateDecls`
for theorems, instances, and definitions, logging the results.

Note: this file deliberately does not use the module system, since
`lintDuplicateDeclarations` inspects values, not just types.
-/


-- We don't `open Lean`, since that would shorten `Lean.*` names in the report.
open Mathlib.Tactic.DuplicateDecls

-- Each scan below traverses the entire environment, which exceeds the default heartbeat limit.
set_option maxHeartbeats 0

run_meta do Lean.logInfo "=== Duplicate theorems ==="
run_meta do Lean.logInfo m!"{← lintDuplicateDeclarations .theorems}"
run_meta do Lean.logInfo "=== Duplicate instances ==="
run_meta do Lean.logInfo m!"{← lintDuplicateDeclarations .instances}"
run_meta do Lean.logInfo "=== Duplicate defs ==="
run_meta do Lean.logInfo m!"{← lintDuplicateDeclarations .defs}"

Messung
CHZG
9310010097

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

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,088
#Domains=862,513