Documentation

Lean.Meta.Tactic.Util

Get the user name of the given metavariable.

Instances For
    def Lean.MVarId.setTag (mvarId : MVarId) (tag : Name) :
    Instances For
      def Lean.Meta.appendTag (tag suffix : Name) :
      Instances For
        def Lean.Meta.appendTagSuffix (mvarId : MVarId) (suffix : Name) :
        Instances For
          def Lean.Meta.mkTacticExMsg (tacticName : Name) (mvarId : MVarId) (msg : MessageData) :

          Produces an error message indicating that tactic tacticName has failed with the message msg, and displays the state of mvarId below the message.

          Instances For
            def Lean.Meta.throwTacticEx {α : Type} (tacticName : Name) (mvarId : MVarId) (msg? : Option MessageData := none) :
            Instances For
              def Lean.Meta.throwNestedTacticEx {α : Type} (tacticName : Name) (ex : Exception) :

              Rethrows the error as a nested error with the given tactic name prepended. If the error was tagged, prepends nested to the tag and preserves it.

              Instances For
                def Lean.MVarId.checkNotAssigned (mvarId : MVarId) (tacticName : Name) :

                Throw a tactic exception with given tactic name if the given metavariable is assigned.

                Instances For

                  Get the type the given metavariable.

                  Instances For

                    Get the type the given metavariable after instantiating metavariables and reducing to weak head normal form.

                    Instances For
                      def Lean.MVarId.admit (mvarId : MVarId) (synthetic : Bool := true) :

                      Assign mvarId to sorryAx

                      Instances For

                        Beta reduce the metavariable type head

                        Instances For

                          Collect nondependent hypotheses that are propositions.

                          Instances For
                            Instances For
                              def Lean.Meta.exactlyOne (mvarIds : List MVarId) (msg : MessageData := (MessageData.ofFormat format) "unexpected number of goals") :
                              Instances For
                                def Lean.Meta.ensureAtMostOne (mvarIds : List MVarId) (msg : MessageData := (MessageData.ofFormat format) "unexpected number of goals") :
                                Instances For

                                  Return all propositions in the local context.

                                  Instances For
                                    Instances For
                                      Instances For

                                        Check if a goal is of a subsingleton type.

                                        Instances For