Module aya.base

Enum Class AyaRestrSimplifier

java.lang.Object
java.lang.Enum<AyaRestrSimplifier>
org.aya.core.visitor.AyaRestrSimplifier
All Implemented Interfaces:
Serializable, Comparable<AyaRestrSimplifier>, Constable, org.aya.guest0x0.cubical.RestrSimplifier<Term,LocalVar>

public enum AyaRestrSimplifier extends Enum<AyaRestrSimplifier> implements org.aya.guest0x0.cubical.RestrSimplifier<Term,LocalVar>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>

    Nested classes/interfaces inherited from interface org.aya.guest0x0.cubical.RestrSimplifier

    org.aya.guest0x0.cubical.RestrSimplifier.CondCollector<T extends org.aya.guest0x0.cubical.Restr.TermLike<T>>, org.aya.guest0x0.cubical.RestrSimplifier.Key<LV>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable LocalVar
    asRef(Term term)
     
    boolean
    implies(@NotNull Term phi, @NotNull Term shouldBe1)
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.aya.guest0x0.cubical.RestrSimplifier

    embed, isOne, mapPartial, mapSplit, normalizeCof, normalizeDisj, normalizeRestr
  • Enum Constant Details

  • Method Details

    • values

      public static AyaRestrSimplifier[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AyaRestrSimplifier valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • implies

      public boolean implies(@NotNull @NotNull Term phi, @NotNull @NotNull Term shouldBe1)
    • asRef

      @Nullable public @Nullable LocalVar asRef(Term term)
      Specified by:
      asRef in interface org.aya.guest0x0.cubical.RestrSimplifier<Term,LocalVar>