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

Quelle  ImplicitUniverses.lean   Sprache: Lean

 

module
import Mathlib.Tactic.SuccessIfFailWithMsg

/--
error: Type mismatch
  _y
has type
  Type u_2
of sort `Type (u_2 + 1)` but is expected to have type
  Type u_1
of sort `Type (u_1 + 1)`
-/

#guard_msgs in
noncomputable example (_x _y : Type*) : sorry := by
  exact _x = _y

/--
error: Type mismatch
  Prop
has type
  Type
of sort `Type 1` but is expected to have type
  Sort u_1
of sort `Type u_1`
-/

#guard_msgs in
noncomputable example (_x : Sort*) : sorry := by
  exact _x = Prop

/--
error: Type mismatch
  y
has type
  Type u_2
of sort `Type (u_2 + 1)` but is expected to have type
  Type u_1
of sort `Type (u_1 + 1)`
-/

#guard_msgs in
noncomputable example : sorry := by
  exact ∀ x y : Type*, x = y

/--
error: Type mismatch
  Prop
has type
  Type
of sort `Type 1` but is expected to have type
  Sort u_1
of sort `Type u_1`
-/

#guard_msgs in
noncomputable example : sorry := by
  exact ∀ x : Sort*, x = Prop

Messung
CHZG
100100100100

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

*© Formatika GbR, Deutschland