Documentation

Lean.Meta.Tactic.Simp.BuiltinSimprocs.Char

Return some c if e is a Char.ofNat-application that encodes the character c.

Instances For

    Returns .done for Char values.

    These values should not be unfolded in the symbolic evaluator.

    In regular simp, the nested raw literal should be prevented from being converted into an OfNat.ofNat application.

    Instances For

      Simplifies Nat.digitChar n = c to False when c is a concrete character not in the range of digitChar (i.e., not one of '0'-'9', 'a'-'f', '*').

      Instances For

        Simplifies c = Nat.digitChar n to False when c is a concrete character not in the range of digitChar (i.e., not one of '0'-'9', 'a'-'f', '*').

        Instances For