Documentation

Lean.Meta.Tactic.Congr

Try to apply a simp congruence theorem.

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

Try to apply a hcongr congruence theorem, and then tries to close resulting goals using Eq.refl, HEq.refl, and assumption.

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

Try to apply implies_congr.

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

Given a goal of the form ⊢ f as = f bs, ⊢ (p → q) = (p' → q'), or HEq (f as) (f bs), try to apply congruence. It takes proof irrelevance into account, the fact that Decidable p is a subsingleton. If closeEasy := true, it tries to close new subgoals using Eq.refl, HEq.refl, and assumption.

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

Applies congr recursively up to depth n.

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