-
Notifications
You must be signed in to change notification settings - Fork 1
/
meta.yml
84 lines (60 loc) · 1.63 KB
/
meta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
fullname: twoSquare
shortname: twoSquare
organization: thery
community: false
dune: false
action: true
synopsis: A proof of Fermat's theorem on sum of two squares.
description: |-
A proof of Fermat's theorem on sum of two squares.
It is the proof that uses gaussian integers. This is done in ssreflect.
It contains two files :
********************************
gauss_int.v : the definition of gaussian integers
fermat2.v : the proof of Fermat's theorem
********************************
The final statement reads:
From mathcomp.contrib.sum_of_two_square
Require Import fermat2.
Check sum2stest.
sum2stest :
reflect
(forall p, prime p -> odd p -> p %| n -> odd (logn p n) -> p %% 4 = 1)
(n is a sum_of_two_square).
authors:
- name: Laurent Théry
maintainers:
- name: Laurent Théry
nickname: thery
opam-file-maintainer: thery@sophia.inria.fr
license:
fullname: MIT License
identifier: MIT
supported_coq_versions:
text: '8.18 or later'
opam: '{(>= "8.18")}'
dependencies:
- opam:
name: coq-mathcomp-ssreflect
version: '{(>= "2.1.0")}'
description: |-
[MathComp ssreflect 2.1 or later](https://math-comp.github.io)
- opam:
name: coq-mathcomp-algebra
version: '{(>= "2.1.0")}'
description: |-
[MathComp algebra 2.1 or later](https://math-comp.github.io)
- opam:
name: coq-mathcomp-field
version: '{(>= "2.1.0")}'
description: |-
[MathComp field 2.1 or later](https://math-comp.github.io)
tested_coq_opam_versions:
- version: '2.1.0-coq-8.18'
repo: 'mathcomp/mathcomp'
namespace: twoSquare
keywords:
- name: sum of two squares
- name: fermat theorem
---