Documentation

Lean.Meta.Tactic.Simp.BuiltinSimprocs.Char

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

Equations
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      Instances For
        Equations
        Instances For
          Equations
          Instances For
            Equations
            Instances For
              Equations
              Instances For
                Equations
                Instances For
                  Equations
                  Instances For
                    Equations
                    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.

                      Equations
                      Instances For
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          Equations
                          • One or more equations did not get rendered due to their size.
                          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', '*').

                            Equations
                            • One or more equations did not get rendered due to their size.
                            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', '*').

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For