Documentation

LeanPool.Lentil.ProofMode.Tactics.Clear

theorem TLA.ProofMode.Entails_drop_hyps {σ : Type u} {hyps : List (NamedPred σ)} {goal : pred σ} (subHyps : List (NamedPred σ)) (hinc : List.map NamedPred.pred subHyps List.map NamedPred.pred hyps) :
Entails subHyps goalEntails hyps goal
theorem TLA.ProofMode.Entails_clear {σ : Type u} {hyps : List (NamedPred σ)} {goal : pred σ} (toClear : List String) :
Entails (List.filter (fun (h : NamedPred σ) => !toClear.contains h.name) hyps) goalEntails hyps goal
theorem TLA.ProofMode.Entails_clear_except {σ : Type u} {hyps : List (NamedPred σ)} {goal : pred σ} (toKeep : List String) :
Entails (List.filter (fun (h : NamedPred σ) => toKeep.contains h.name) hyps) goalEntails hyps goal

tla_clear * - h₁ h₂ ... removes every temporal hypothesis except the named ones. The kept hypotheses stay in their original order. For example, from hp : p, hq : q, hr : r,

tla_clear * - hq

leaves only hq : q.

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

    tla_clear h₁ h₂ ... removes temporal hypotheses from the proof-mode context. The target predicate is unchanged, but the remaining proof must not use the cleared hypotheses.

    For example, from a context containing hp : p, hq : q, and goal q,

    tla_clear hp
    

    leaves only hq : q in the proof-mode context.

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

      Clear the proof-mode hypotheses with the given names.

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