Created
February 15, 2020 19:55
-
-
Save vlj/357444d4c96bee74dcc42c5d2a26d3c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq choice path. | |
From mathcomp Require Import div fintype tuple finfun bigop finset fingroup perm. | |
From mathcomp Require Import div prime binomial ssralg finalg zmodp countalg ssrnum falgebra. | |
From mathcomp Require Import ssrint matrix algC. | |
Require Omega. | |
Set Implicit Arguments. | |
Unset Strict Implicit. | |
Unset Printing Implicit Defensive. | |
Local Open Scope ring_scope. | |
Lemma tmp: | |
forall p q x y, `|x - p%:Z - x| <= (max p q) /\ `|y - q%:Z - y| <= (max p q). | |
Proof. | |
move => p q x y. | |
split. | |
eapply Num.Theory.ler_trans. | |
Unset Printing Notations. | |
have: x - p%:Z - x = -p%:Z. | |
omega. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment