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

Quelle  AesopCat.lean   Sprache: Lean

 

module

public import Mathlib.CategoryTheory.Category.Basic

@[expose] public section

structure Foo where
  x : Nat
  w : x = 37 := by cat_disch

/-- warning: declaration uses `sorry` -/
#guard_msgs in
example : Foo where
  x := sorry

/--
error: could not synthesize default value for field 'w' of 'Foo' using tactics
---
error: Tactic `aesop` failed, failed to prove the goal after exhaustive search.
Initial goal:
  ⊢ 35 = 37
Remaining goals after safe rules:
  ⊢ False
-/

#guard_msgs in
example : Foo where
  x := 35

Messung
CHZG
9410010097

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

*© Formatika GbR, Deutschland