module
import Mathlib.Tactic.Change
set_option linter.style.setOption false
set_option pp.unicode.fun true
set_option autoImplicit true
/--
info: Try this:
[apply] change 0 = 1
---
info: Try this:
[apply] change (fun x ↦ x) 0 = 1
---
info: Try this:
[apply] change (fun x ↦ x) 0 = 1
---
error: The term
1 = 0
is not defeq to the goal:
(fun x ↦ x) 0 = 1
-/
#guard_msgs in
example : (fun x : Nat => x) 0 = 1 := by
change? 0 = _ -- change 0 = 1
change? -- change (fun x ↦ x) 0 = 1
change? _ -- change (fun x ↦ x) 0 = 1
change? 1 = 0
-- The term
-- 1 = 0
-- is not defeq to the goal:
-- (fun x ↦ x) 0 = 1
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland