模块 aya.base

接口 Expander

所有超级接口:
EndoFunctor, Function<Term,Term>
所有已知实现类:
Expander.Normalizer, Expander.Tracked, Expander.WHNFer

public interface Expander extends EndoFunctor
  • 方法详细资料

    • state

      @NotNull @NotNull TyckState state()
    • buildSubst

      @NotNull static @NotNull Subst buildSubst(@NotNull @NotNull kala.collection.SeqLike<Term.Param> self, @NotNull @NotNull kala.collection.SeqLike<Arg<Term>> args)
    • post

      @NotNull default @NotNull Term post(@NotNull @NotNull Term term)
      指定者:
      post 在接口中 EndoFunctor
    • simplFormula

      @NotNull static @NotNull Term simplFormula(@NotNull PrimTerm.Mula mula)
    • tryUnfoldClauses

      @NotNull default @NotNull kala.control.Option<org.aya.util.error.WithPos<Term>> tryUnfoldClauses(boolean orderIndependent, @NotNull @NotNull kala.collection.SeqLike<Arg<Term>> args, @NotNull @NotNull Subst subst, int ulift, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Matching> clauses)
    • tryUnfoldClauses

      @NotNull default @NotNull kala.control.Option<org.aya.util.error.WithPos<Term>> tryUnfoldClauses(boolean orderIndependent, @NotNull @NotNull kala.collection.SeqLike<Arg<Term>> args, int ulift, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Matching> clauses)
    • applyThoroughly

      @NotNull default <T extends Term> @NotNull Term applyThoroughly(@NotNull @NotNull Function<T,Term> f, @NotNull T term)
    • partial

      @NotNull static IntroTerm.PartEl partial(@NotNull IntroTerm.PartEl el)
    • pathApp

      @NotNull static @NotNull Term pathApp(@NotNull ElimTerm.PathApp app, @NotNull @NotNull Function<Term,Term> next)