knuckledragger
  • kdrag
    • Calc
    • Inductive()
    • Lemma
    • NewType()
    • Proof
    • QExists()
    • QForAll()
    • Struct()
    • axiom()
    • cond()
    • define()
    • prove()
    • search()
    • simp()
    • kdrag.all
    • kdrag.config
    • kdrag.datatype
    • kdrag.hypothesis
    • kdrag.kernel
    • kdrag.notation
    • kdrag.parsers
    • kdrag.printers
    • kdrag.property
    • kdrag.reflect
    • kdrag.rewrite
    • kdrag.smt
    • kdrag.solvers
    • kdrag.tactics
    • kdrag.theories
    • kdrag.utils
      • kdrag.utils.all_values
      • kdrag.utils.alpha_eq
      • kdrag.utils.alpha_norm
      • kdrag.utils.antipattern
      • kdrag.utils.ast_size_sexpr
      • kdrag.utils.decls
      • kdrag.utils.find_calls
      • kdrag.utils.free_in
      • kdrag.utils.free_vars
      • kdrag.utils.generate
      • kdrag.utils.is_strict_subterm
      • kdrag.utils.is_subterm
      • kdrag.utils.is_value
      • kdrag.utils.lemma_db
      • kdrag.utils.occurs
      • kdrag.utils.open_binder
      • kdrag.utils.open_binder_unhygienic
      • kdrag.utils.pmatch
      • kdrag.utils.pmatch_fo
      • kdrag.utils.pmatch_rec
      • kdrag.utils.prompt
      • kdrag.utils.prune
      • kdrag.utils.quant_kind_eq
      • kdrag.utils.sanity_check_consistency
      • kdrag.utils.search
        • search()
      • kdrag.utils.search_decl
      • kdrag.utils.search_expr
      • kdrag.utils.sorts
      • kdrag.utils.subterms
      • kdrag.utils.unify
      • kdrag.utils.unify_db
      • all_values()
      • alpha_eq()
      • alpha_norm()
      • antipattern()
      • ast_size_sexpr()
      • decls()
      • find_calls()
      • free_in()
      • free_vars()
      • generate()
      • is_strict_subterm()
      • is_subterm()
      • is_value()
      • lemma_db()
      • occurs()
      • open_binder()
      • open_binder_unhygienic()
      • pmatch()
      • pmatch_fo()
      • pmatch_rec()
      • prompt()
      • prune()
      • quant_kind_eq()
      • sanity_check_consistency()
      • search()
      • search_decl()
      • search_expr()
      • sorts()
      • subterms()
      • unify()
      • unify_db()
knuckledragger
  • kdrag
  • kdrag.utils
  • kdrag.utils.search
  • View page source

kdrag.utils.search

kdrag.utils.search(*es: FuncDeclRef | ExprRef, db: dict[Any, Proof] = {}) → dict[tuple[str, Proof], Any]

Search for function declarations or expressions. Takes intersection of found results if given multiple arguments. Builds a database by scanning loaded modules by default.

Parameters:
  • es (FuncDeclRef | ExprRef)

  • db (dict[Any, Proof])

Return type:

dict[tuple[str, Proof], Any]

Previous Next

© Copyright 2024, Philip Zucker.

Built with Sphinx using a theme provided by Read the Docs.