mathlib4 icon indicating copy to clipboard operation
mathlib4 copied to clipboard

Adapt `classical` to new semantics

Open gebner opened this issue 3 years ago • 0 comments
trafficstars

We've recently changed classical in mathlib to so that it no longer overrides the existing decidable instances. mathlib4 should be adapterd. https://github.com/leanprover-community/mathlib/pull/14122

import Mathlib.Tactic.Basic

example : (by classical; exact decide (0 = 1) : Bool) = decide (0 = 1) := rfl -- this should work

gebner avatar Jul 18 '22 15:07 gebner