diff options
| author | coqbot-app[bot] | 2020-11-10 21:30:52 +0000 |
|---|---|---|
| committer | GitHub | 2020-11-10 21:30:52 +0000 |
| commit | 417e8c513e4372bcd622603912cfb2d9f1069619 (patch) | |
| tree | c999417af80830af45f685751337bf3124652b92 /doc/sphinx/addendum | |
| parent | fa6c67d721d4178d6b82571feef33c887aef5ba2 (diff) | |
| parent | da9fd81c887024e991467d4dd586661c4ca01022 (diff) | |
Merge PR #13315: Convert logic chapter to prodn
Reviewed-by: Zimmi48
Diffstat (limited to 'doc/sphinx/addendum')
| -rw-r--r-- | doc/sphinx/addendum/ring.rst | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/sphinx/addendum/ring.rst b/doc/sphinx/addendum/ring.rst index d46dea1f5d..c93d621048 100644 --- a/doc/sphinx/addendum/ring.rst +++ b/doc/sphinx/addendum/ring.rst @@ -567,6 +567,19 @@ Dealing with fields intros x y H H1; field [H1]; auto. Abort. + +.. example:: :tacn:`field` that generates side goals + + .. coqtop:: reset all + + Require Import Reals. + Goal forall x y:R, + (x * y > 0)%R -> + (x * (1 / x + x / (x + y)))%R = + ((- 1 / y) * y * (- x * (x / (x + y)) - 1))%R. + + intros; field. + .. tacn:: field_simplify {? [ {+ @one_term__eq } ] } {+ @one_term } {? in @ident } Performs the simplification in the conclusion of the @@ -679,7 +692,7 @@ First Samuel Boutin designed the tactic ``ACDSimpl``. This tactic did lot of rewriting. But the proofs terms generated by rewriting were too big for Coq’s type checker. Let us see why: -.. coqtop:: all +.. coqtop:: reset all Require Import ZArith. Open Scope Z_scope. |
