From 7b1c37dfc0ff40bcbd26939f6a6e5090e10ad9bb Mon Sep 17 00:00:00 2001
From: Robbert Krebbers <mail@robbertkrebbers.nl>
Date: Tue, 7 Apr 2020 13:56:58 +0200
Subject: [PATCH] Document `%H` pattern.

This closes issue #305.
---
 docs/proof_mode.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/proof_mode.md b/docs/proof_mode.md
index 89e55555f..a8e11f8d1 100644
--- a/docs/proof_mode.md
+++ b/docs/proof_mode.md
@@ -228,6 +228,12 @@ _introduction patterns_:
   to eliminate nested (separating) conjunctions.
 - `[ipat1|ipat2]` : disjunction elimination.
 - `[]` : false elimination.
+- `%H` : move the hypothesis to the pure Coq context, and name it `H`. Support
+  for the `%H` introduction pattern requires an implementation of the hook
+  `string_to_ident`. Without an implementation of this hook, the `%H` pattern
+  will fail. We provide an implementation of the hook using Ltac2, which works
+  with Coq 8.11, and can be installed with opam; see
+  [iris/string-ident](https://gitlab.mpi-sws.org/iris/string-ident) for details.
 - `%` : move the hypothesis to the pure Coq context (anonymously).
 - `->` and `<-` : rewrite using a pure Coq equality
 - `# ipat` : move the hypothesis into the intuitionistic context. The tactic
-- 
GitLab