Documentation

GeneralizationLinter.Core.Suggest

The kinds of possible weakening suggestions.

Instances For

    An unverified weakening proposal. See also ConfirmedWeakening.

    Instances For

      The Vertexes of the classes of the proposed replacements.

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

        The Names of the classes of the proposed replacements.

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

          If c is a weakening candidate proposing to weaken a binder to a specific target t, return some t. If c proposes dropping the binder or splitting it, return none.

          Equations
          Instances For

            Returns true iff u and v can be unified.

            Note: We use syntactic equality in this process, so e.g. OrderDual ℕ does not unify with according to us, even though Lean's actual unification mechanism would unify them, since it uses definitional equality.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def GeneralizationLinter.candidates (graph : ClassGraph) (binders : Array TargetedBinder) (reqs : Array Requirement) (cfg : LinterConfig := { }) (includeSubsumers : Bool := true) :

              #TODO

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