Documentation

Mathlib.Tactic.SetNotationForOrder

Set notation for order operations #

This file allows the use of notation while the underlying constant is . Similarly for /<, / and />.

A new copy of the a ⊆ b syntax is declared, which overwrites the original one. To elaborate this notation, a and b are elaborated, and if the type of a and b is tagged with @[use_set_notation_for_order], LE.le is used instead of Subset. A new delaborator for LE.le is also added so that a ≤ b prints as a ⊆ b whenever the type is tagged with @[use_set_notation_for_order].

This tag is used for Set, Finset, PSet and ZFSet. It is not used for Multiset and List, since they have both and defined on them, with different meanings.

TODO: Unify more order operations suh as / and /.

Delaboration #

Delaborate x ≤ y into x ⊆ y if the type is tagged with @[use_set_notation_for_order].

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

    Delaborate x < y into x ⊂ y if the type is tagged with @[use_set_notation_for_order].

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

      Delaborate x ≥ y into x ⊇ y if the type is tagged with @[use_set_notation_for_order].

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

        Delaborate x > y into x ⊃ y if the type is tagged with @[use_set_notation_for_order].

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

          Elaboration #

          This relation is an implementation detail of the elaborator.

          Subset relation: a ⊆ b. For types tagged with @[use_set_notation_for_order], the relation LE.le is used instead of Subset. The hover info shows which one is used.

          Conventions for notations in identifiers:

          • The recommended spelling of in identifiers is subset.
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Strict subset relation: a ⊂ b. For types tagged with @[use_set_notation_for_order], the relation LT.lt is used instead of SSubset. The hover info shows which one is used.

            Conventions for notations in identifiers:

            • The recommended spelling of in identifiers is ssubset.
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Superset relation: a ⊇ b. For types tagged with @[use_set_notation_for_order], the relation GE.ge is used instead of Superset. The hover info shows which one is used.

              Conventions for notations in identifiers:

              • The recommended spelling of in identifiers is superset.
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Strict superset relation: a ⊃ b. For types tagged with @[use_set_notation_for_order], the relation GT.gt is used instead of SSuperset. The hover info shows which one is used.

                Conventions for notations in identifiers:

                • The recommended spelling of in identifiers is ssuperset.
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  Elaborator for x ⊆ y notation.

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

                    Elaborator for x ⊂ y notation.

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

                      Elaborator for x ⊇ y notation.

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

                        Elaborator for x ⊃ y notation.

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

                          Declare ∀ x ⊆ y, ... as syntax for ∀ x, x ⊆ y → ... and ∃ x ⊆ y, ... as syntax for ∃ x, x ⊆ y ∧ ...

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

                            Declare ∀ x ⊂ y, ... as syntax for ∀ x, x ⊂ y → ... and ∃ x ⊂ y, ... as syntax for ∃ x, x ⊂ y ∧ ...

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

                              Declare ∀ x ⊇ y, ... as syntax for ∀ x, x ⊇ y → ... and ∃ x ⊇ y, ... as syntax for ∃ x, x ⊇ y ∧ ...

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

                                Declare ∀ x ⊃ y, ... as syntax for ∀ x, x ⊃ y → ... and ∃ x ⊃ y, ... as syntax for ∃ x, x ⊃ y ∧ ...

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