Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
triangles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BERTOT Yves
triangles
Commits
24b6e0a7
Commit
24b6e0a7
authored
5 years ago
by
BERTOT Yves
Browse files
Options
Downloads
Patches
Plain Diff
a little more line optimization
parent
b88b2a1a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
to_ccw_system.v
+5
-7
5 additions, 7 deletions
to_ccw_system.v
with
5 additions
and
7 deletions
to_ccw_system.v
+
5
−
7
View file @
24b6e0a7
...
...
@@ -245,16 +245,14 @@ move/eqP/expand_ptb'/eqP; rewrite eq_sym => main.
rewrite
ptbd_value
d00
add0r
/
exprz
expr2
-
mulrA
-
mulrDr
mulf_eq0
.
rewrite
polyX_eq0
/=
;
set
p
'
:=
(
X
in
X
==
_
);
suff
vn0
:
p
'
.[
0
]
!=
0.
by
apply
/
negP
=>/
eqP
abs
;
case
/
negP
:
vn0
;
rewrite
abs
hornerE
.
rewrite
/
p
'
!
hornerE
;
apply
/
negP
=>
/
eqP
abs
;
move
:
main
;
rewrite
abs
mulr0
.
rewrite
/
p
'
!
hornerE
;
apply
/
negP
=>
/
eqP
A
;
move
:
main
;
rewrite
A
mulr0
.
have
smn0
:
(
b
.1
-
a
.1
)
^
2
+
(
b
.2
-
a
.2
)
^
2
!=
0.
apply:
lt0r_neq0
;
rewrite
-
(
addr0
0
)
ltr_le_add
// /exprz ?sqr_ge0 //.
by
rewrite
exprn_even_gt0
/=
.
rewrite
-!
mulrA
2
!
mulf_eq0
(
negbTE
ba1n0
)
/=
=>/
orP
[];
first
by
apply
/
negP
.
move
=>
it
;
move
:
it
(
step
d00
).
by
rewrite
!
(
mulf_eq0
,
negbTE
ba1n0
)
/=
=>
/
orP
[]
/
eqP
/
subr0_eq
ab
'
;
rewrite
ab
'
[
in
RHS
]
mulrBl
(
mulrC
b
.2
)
(
addrAC
(
_
*
b
.2
))
?
addrNK
?
addrN
?
add0r
?
(
addrC
(
-
_
))
-?
mulrBl
-?
mulrBr
?
(
mulrC
_
(
_
-
_
));
move
=>/
(
mulfI
ba1n0
)
ab2
;
move
:
uabc
;
rewrite
/=
!
(
uniq_rules
,
ab
'
,
ab2
).
rewrite
-!
mulrA
!
mulf_eq0
(
negbTE
ba1n0
)
(
negbTE
smn0
)
!
subr_eq0
/=
{
A
}
.
by
move
=>/
orP
[]
/
eqP
A
;
move
:
(
step
d00
)
uabc
;
rewrite
/=
A
(
mulrBl
_
b
.2
)
(
mulrC
b
.2
)(
addrAC
(
_
*
b
.2
))
?
addrNK
?
addrN
?
add0r
?
(
addrC
(
-
_
))
-?
mulrBl
-?
mulrBr
?
(
mulrC
_
(
_
-
_
))
=>/
(
mulfI
ba1n0
)
B
;
rewrite
!
(
uniq_rules
,
A
,
B
).
Qed
.
Lemma
non_zero_polynomial_interval
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment