Documentation

Qq.Macro

The q( ) and Q( ) macros #

This file provides the main feature of Qq; the q( ) and Q( ) macros, which are available with open scoped Qq.

Instances For
    Instances For
      @[reducible, inline]
      abbrev Qq.Impl.UnquoteM (α : Type) :
      Equations
      Instances For
        @[reducible, inline]
        abbrev Qq.Impl.QuoteM (α : Type) :
        Equations
        Instances For
          Equations
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Qq.Impl.withUnquotedLCtx {m : TypeType u_1} {α : Type} [MonadControlT Lean.MetaM m] [Monad m] [MonadLiftT Qq.Impl.QuoteM m] (k : m α) :
            m α
            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
                    • 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
                        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
                            @[inline]
                            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
                                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
                                    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
                                        Equations
                                        Instances For
                                          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
                                                    @[specialize #[]]
                                                    def Qq.withProcessPostponed {m : TypeType u_1} {α : Type} [Monad m] [MonadFinally m] [MonadLiftT Lean.MetaM m] (k : m α) :
                                                    m α
                                                    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

                                                        ql(u) quotes the universe level u.

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

                                                          a =QL b says that the levels a and b are definitionally equal.

                                                          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

                                                              q(t) quotes the Lean expression t into a Q(α) (if t : α)

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

                                                                Q(α) is the type of Lean expressions having type α.

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

                                                                  a =Q b says that a and b are definitionally equal.

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