lean2js

Lean2Js.Reify

source

Imports 3

A reifier that emits the certificate along with the AST #

Lean2Js/Denotes.lean has one lemma per syntactic form; this is the metaprogram that walks an author's def and pastes them together. The AST and the proof are built in the same pass, so a rule can never be applied to the AST without its lemma being applied to the proof — that is what "the reifier is not trusted" means in code.

The three rules a refusal closes with #

A refusal that cannot name what to write instead names the rule the term broke, and there are three: what a value may be, whose vocabulary it reads, and where a call may go. The first two are the first rule of the subset reference, said of the types and of the names; Lean2Js.Denote pins the wording, so neither side can move alone.

def

Lean2Js.Reify.tacticLean2js_split_tested

source
Equations
Instances For
    Used by
      abbrev

      _private.Lean2Js.Reify.0.Lean2Js.Reify.Reified.name

      source
      @[reducible]
      (self : Reified) :
      Equations
      Instances For
        Used by
          abbrev

          _private.Lean2Js.Reify.0.Lean2Js.Reify.Reified.params

          source
          @[reducible]
          Equations
          Instances For
            Used by
              abbrev

              _private.Lean2Js.Reify.0.Lean2Js.Reify.Reified.ret

              source
              @[reducible]
              (self : Reified) :
              Equations
              Instances For
                Used by
                  abbrev

                  _private.Lean2Js.Reify.0.Lean2Js.Reify.Reified.ast

                  source
                  @[reducible]
                  (self : Reified) :
                  Equations
                  Instances For
                    Used by
                      abbrev

                      _private.Lean2Js.Reify.0.Lean2Js.Reify.Reified.proof

                      source
                      @[reducible]
                      (self : Reified) :
                      Equations
                      Instances For
                        Used by
                          def

                          Lean2Js.Reify.reifyDeclStx

                          source

                          The declaration an author's def reifies to.

                          Equations
                          Instances For
                            Used by
                              def

                              Lean2Js.Reify.reifyProofStx

                              source

                              The certificate for the declaration reify_decl% built from the same def.

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

                                  Lean2Js.Reify.elabReifyDecl

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

                                      Lean2Js.Reify.elabReifyProof

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