Documentation

Lean.Parser.Attr

@[inline]
Equations
    Instances For
      @[inline]
      Equations
        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
                                          Equations
                                            Instances For
                                              Equations
                                                Instances For

                                                  Declares this tactic to be an alias or alternative form of an existing tactic.

                                                  This has the following effects:

                                                  • The alias relationship is saved
                                                  • The docstring is taken from the original tactic, if present
                                                  Equations
                                                    Instances For

                                                      Adds one or more tags to a tactic.

                                                      Tags should be applied to the canonical names for tactics.

                                                      Equations
                                                        Instances For

                                                          Sets the tactic's name.

                                                          Ordinarily, tactic names are automatically set to the first token in the tactic's parser. If this process fails, or if the tactic's name should be multiple tokens (e.g. let rec), then this attribute can be used to provide a name.

                                                          The tactic's name is used in documentation as well as in completion. Thus, the name should be a valid prefix of the tactic's syntax.

                                                          Equations
                                                            Instances For