The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V34. The tactics of Mathlib

Mathlib.Tactic.GCongr

2 declarations. Mathlib docs · Source

Setup for the gcongr tactic

The core implementation of the gcongr ("generalized congruence") tactic is in the file Tactic.GCongr.Core.

We also use assumption to discharge side goals. In a further downstream file, positivity will also be registered as a discharger. From that point, positivity will be tried before assumption is: that is perfectly fine.

We register gcongr with the hint tactic.

theorem Mathlib.Tactic.GCongr.imp_mono E1 #

∀ {a b c d : Prop}, (c → a) → (c → b → d) → (a → b) → c → d

A version of imp_imp_imp that has an extra hypothesis c in the b → d hypothesis.

theorem Mathlib.Tactic.GCongr.and_mono E1 #

∀ {a b c d : Prop}, (a → c) → (a → b → d) → a ∧ b → c ∧ d

A version of And.imp with an extra hypothesis a in the b → d hypothesis.