Documentation

Std.Tactic.Ext.Attr

declare_ext_theorems_for A declares the extensionality theorems for the structure A.

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

    Information about an extensionality theorem, stored in the environment extension.

    Instances For
      Equations

      The state of the ext extension environment

      Instances For

        Discrimation tree settings for the ext extension.

        Equations
        Instances For
          @[inline]

          Get the list of @[ext] lemmas corresponding to the key ty, ordered from high priority to low.

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

            Erases a name marked ext by adding it to the state's erased field and removing it from the state's list of Entrys.

            Equations
            Instances For

              Erase a name marked as a ext attribute. Check that it does in fact have the ext attribute by making sure it names a ExtTheorem found somewhere in the state's tree, and is not erased.

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

                Registers an extensionality lemma.

                • When @[ext] is applied to a structure, it generates .ext and .ext_iff theorems and registers them for the ext tactic.

                • When @[ext] is applied to a theorem, the theorem is registered for the ext tactic.

                • You can use @[ext 9000] to specify a priority for the attribute.

                • You can use the flag @[ext (flat := false)] to prevent flattening all fields of parent structures in the generated extensionality lemmas.

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