Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/MathlibTest/     Datei vom 15.10.2026 mit Größe 677 B image not shown  

Quelle  tryAtEachStep.lean   Sprache: Lean

 

module

public import Mathlib.Tactic.Common
public import Mathlib.Tactic.TacticAnalysis.Declarations

-- Disable timing in tests to avoid non-deterministic output
set_option linter.tacticAnalysis.tryAtEachStep.showTiming false
set_option linter.tacticAnalysis.tryAtEachStepAesop true

/--
info: `rfl` can be replaced with `aesop`

Note: This linter can be disabled with `set_option linter.tacticAnalysis.tryAtEachStepAesop false`
-/

#guard_msgs in
theorem foo : 2 + 2 = 4 := by
  rfl

-- Set the fraction sufficiently high that nothing will ever run.
set_option linter.tacticAnalysis.tryAtEachStep.fraction 1_000_000_000_000

#guard_msgs in
theorem bar : 2 + 2 = 4 := by
  rfl

Messung
CHZG
100100100100

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

*© Formatika GbR, Deutschland