MindFormal v1.0.0One Mind

MindTag

The clause tag: which clauses of which book entry a theorem states, and the supplied steps it takes. The record is generated from these tags and the two book files (book/claims.json, book/confirmations.json); nothing else says what a theorem states. #mind_record prints one JSON line per tagged theorem; check.py reads them.

structure ClauseTag :

What one tag stores: the book entry, the clause numbers the theorem states, and the supplied steps it takes (a hypothesis, or a field of a hypothesis); no steps means it states them outright.

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

        A step names a hypothesis of the theorem, or a field of a hypothesis whose type is a structure.

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

          The project module a constant was declared in, if it was declared in one.

          Equations
          Instances For

            A statement as the record and the baseline print it.

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

              What a statement is stated with: the hash of its type, and of every project definition, structure or instance its type reaches through types and definition values (proofs are not followed). check.py hashes the sorted list.

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

                The hypotheses a theorem does not use: neither its checked proof nor the type of a later hypothesis or the conclusion mentions them. Underscore names get the same check as other names.

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

                  Made by the compiler for another declaration: a projection, constructor, recursor, matcher, equation lemma or auxiliary proof.

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

                    Every project declaration that has its own declaration range, read once from each project module's entries.

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

                      The source declaration of a project constant: itself if it has its own declaration range and was not generated, otherwise the nearest enclosing project name, or its public form, that is one; a compiler specialization f._at_.g belongs to g; a constant with none is its own.

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

                        Every source declaration the roots use, through types and values; a used source declaration brings everything generated for it.

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

                          One JSON line per tagged theorem, in name order: its module, entry, clauses and steps, its statement as Lean prints it, the inputs of its statement digest, its axioms, its unused hypotheses and its reading. When the environment variable MIND_NAMES names a file of names, one more line lists those that are not declarations.

                          Equations
                          Instances For

                            The dependency walk, when the environment variable MIND_MODULES names a file of modules: from the roots (every tagged theorem, every name in the MIND_NAMES file, every declaration of the listed modules) to every source declaration of the project they use. One JSON line: each module's declarations and how many are used, and every unused declaration with its module, its full name, its first and last lines and whether it is a theorem.

                            Equations
                            Instances For