aboutsummaryrefslogtreecommitdiff
path: root/src/Specific
Commit message (Collapse)AuthorAge
* Removed lingering print statement.Gravatar jadep2016-07-21
|
* re-introduced extra field isomorphism layer for 8.4 compatibility and better ↵Gravatar jadep2016-07-21
| | | | organization of reasoning.
* restructured ModularBaseSystem pipeline to put tuple conversion before ↵Gravatar jadep2016-07-20
| | | | ModularBaseSystem is fully defined, rather than after ModularBaseSystemOpt
* Fixed unsimplified multiplication definitions in Specific by separating out ↵Gravatar jadep2016-07-18
| | | | the zsimplify step; after inserting clauses, we can't rewrite under the binders, but we can do the rewrite and insertions in different definitions.
* more changes to Specific for 8.4 compatibilityGravatar jadep2016-07-15
|
* re-cleaned operations in Specific and updated GF25519 to match GF1305Gravatar jadep2016-07-12
|
* cleaned Specific operations so they produce code without proof terms, and ↵Gravatar jadep2016-07-12
| | | | proved that GF1305 is a field
* pushing through a tweak to the arguments of [sub], and defining a field over ↵Gravatar jadep2016-07-12
| | | | ModularBaseSystemInterface using some placeholder operations.
* ported Specific files to use ModularBaseSystemInterfaceGravatar jadep2016-07-11
|
* defined some group operations, stated group lemma for tuple-based [add] (in ↵Gravatar jadep2016-07-08
| | | | terms of isomorphism to ModularArithmetic.F), proved lemma about tuple-based [mul] based on the goals generated by the group constructor
* stuck trying to figure out dependently typed continuation passing styleGravatar Andres Erbsen2016-07-06
|
* Aggregate all level specifications not in Spec/*Gravatar Jason Gross2016-06-22
| | | | | This prevents notation conflicts (see comment in Notations.v for more explanation).
* remove obsolete rep mechanismGravatar Andres Erbsen2016-06-20
|
* GF25519: quietGravatar Andres Erbsen2016-06-20
|
* Merge branch 'field-experiment'Gravatar Andres Erbsen2016-06-20
|\ | | | | | | includes broken files to be removed in next commit
* | Canonicalization is now automated in GF25519 and added to GF1305.Gravatar jadep2016-06-17
| |
* | Specific version of freeze for GF25519 (automation still needs a little work)Gravatar jadep2016-06-17
| |
* | PseudoMersenneBaseRep.mul now carries by default (made possible by strictly ↵Gravatar jadep2016-06-15
| | | | | | | | base-length digit vectors)
* | Another fix for an anomaly in 8.4pl2Gravatar Jason Gross2016-06-11
| |
* | Work around bug #4811 (slow f_equal)Gravatar Jason Gross2016-06-11
| | | | | | | | | | This is https://coq.inria.fr/bugs/show_bug.cgi?id=4811, [f_equal] loops(?) in 8.5pl1 (fixed already in 8.5.dev)
| * ed25519: refactor some ProperGravatar Andres Erbsen2016-06-06
| |
| * rewrite in Let_In binder by tacticGravatar Andres Erbsen2016-06-04
| |
| * Let_In rewritingGravatar Andres Erbsen2016-06-03
| |
| * leibniz equal version of topdown rewriting of sigma types: nicerGravatar Andres Erbsen2016-06-01
| |
| * leibniz equal version of topdown rewriting of sigma typesGravatar Andres Erbsen2016-06-01
| |
| * E impl: proper morphisms are hard to dow without setoidsGravatar Andres Erbsen2016-05-30
| |
| * ERep addGravatar Andres Erbsen2016-05-29
| |
| * --amendGravatar Andres Erbsen2016-05-28
| |
| * verify derivation, EdDSA layer: allow arbitrary equivalence relation for ↵Gravatar Andres Erbsen2016-05-28
| | | | | | | | ERep and SRep
| * verify derivation, EdDSA layer: remove unused context variablesGravatar Andres Erbsen2016-05-28
| |
| * verify derivation: EdDSA layerGravatar Andres Erbsen2016-05-28
| |
| * right after scalars to F lGravatar Andres Erbsen2016-05-27
| |
| * before changing SRep from N to F lGravatar Andres Erbsen2016-05-27
|/
* ed25519: indentation fixGravatar Andres Erbsen2016-05-24
|
* ed25519: integrate FRepPow and FRepInvGravatar Andres Erbsen2016-05-24
|
* ed25519: continue refactorGravatar Andres Erbsen2016-05-24
|
* Factor some rewrites into a single [autorewrite]Gravatar Jason Gross2016-05-24
| | | | Slightly less [apply f_equal] beforehand, more automation.
* Remove unfolding, rewrite -> setoid_rewriteGravatar Jason Gross2016-05-24
| | | | | | | | | | Moving the [scalar] argument to the beginning of [iter_op] makes inference of the [Proper] lemmas a bit easier. Making [Reflexive eq] come before [Reflexive Equivalence.equiv] allows [setoid_rewrite] to work; since [setoid_rewrite] does more unfolding than [rewrite], we no longer need to unfold things to make the [rewrite] work.
* Fix some issues in Ed25519 tacticsGravatar Jason Gross2016-05-24
| | | | | | | | | | | | | | | | | | | | - Use replace rather than refine to speed up [Defined] and make the tactics easier to read - Use [apply f_equal] in place of [reflexivity] for unknown presumably arcane reasons to satisfy Coq's unifier - Factor out some tactics into tactic scripts - Write a lemma to pull functions out of [Let_In] - Fix autoindentation in emacs by wrapping [Let_In_unRep] in parentheses (probably a ProofGeneral regexp gone wrong) - Write a kludgy tactic to unfold [proj1_sig] only when applied to [exist] (Pair programming with Andres)
* F,Ed25519: integrate F representation for mul,add,sub. Ed25519 even more ↵Gravatar Andres Erbsen2016-05-24
| | | | broken...
* unifiedAddM1Rep_sig: almost thereGravatar Andres Erbsen2016-05-18
|
* Implemented subtraction mod q as as (sub a b = sub (add a (2*q)) b) to avoid ↵Gravatar jadep2016-05-09
| | | | unsigned integer underflow. Also changed rep in Specific proofs so that it is PseudoMersenneBaseRep.rep rather than ModularBaseSystem.rep; these are equivalent but the first is the abstraction level we want.
* Moved sign_bit definition to Spec.Gravatar jadep2016-04-29
|
* Proved decode_point_eq in Ed25519 (comparing encodings is equivalent toGravatar jadep2016-04-29
| | | | comparing points).
* Completed encoding reorganization; factored sign_bit out of PointEncodings ↵Gravatar jadep2016-04-28
| | | | and finished encoding admits.
* ed25519: solve elliptic curve math admitsGravatar Andres Erbsen2016-04-25
|
* consolidate and rename Edwards curve lemmasGravatar Andres Erbsen2016-04-25
|
* Merge branch 'master' of github.mit.edu:plv/fiat-cryptoGravatar jadep2016-04-25
|\
* | Reorganization and revision of Encoding code and redefinition of sign_bit ↵Gravatar jadep2016-04-25
| | | | | | | | function.
| * refactor field lemmas out of ed25519Gravatar Andres Erbsen2016-04-25
| |