Skip to content

Commit

Permalink
Merge pull request #24 from math-comp/tune_simplification
Browse files Browse the repository at this point in the history
Selecting a precise occurence to rewrite
  • Loading branch information
CohenCyril authored Nov 20, 2020
2 parents acd38ea + 0cfb1b7 commit a72978a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion theories/contract.v
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ have{dNx pFnnx p_x n IHn le_p_n dF0 cycRp Up URp} p_nnx: node (node x) \in p.
by rewrite proper_chord_ring ?ee -?(fclosed1 (diskE_edge cexG _)).
have p_y: y \in p by rewrite -(mem_rot i) Eip mem_cat q_y orbT.
apply: cc_p; move: p_y; rewrite Dp => /predU1P[y_x | //].
by rewrite -(rot_uniq i) Eip -{2}y_x /= !mem_cat q_y orbT andbF in Up.
move: Up; rewrite -(rot_uniq i) Eip/= -[x as X in X \in _]y_x.
by rewrite !mem_cat/= q_y orbT andbF.
rewrite diskF_chord_ring ?ee //; first by rewrite inE /= dF0 andbF.
by rewrite -(fclosed1 (diskE_edge cexG _)).
have x'nx := cubic_neq cexG x.
Expand Down

0 comments on commit a72978a

Please sign in to comment.