Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-erbsen authored Apr 4, 2024
1 parent 2de8dc1 commit f921bcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Curves/EdwardsMontgomery25519.v
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ Local Arguments of_Edwards {_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _} _ _ { _ _ _ }.
Lemma EdwardsMontgomery25519 : @Group.isomorphic_commutative_groups
Curve25519.E.point E.eq Curve25519.E.add Curve25519.E.zero Eopp Curve25519.M.point
M.eq Curve25519.M.add M.zero Curve25519.M.opp
Montgomery_of_Edwards Edwards_of_Montgomery.
M.of_Edwards E.of_Montgomery.
Proof.
cbv [Montgomery_of_Edwards Edwards_of_Montgomery].
cbv [M.of_Edwards E.of_Montgomery].
epose proof E.twist_isomorphism(a1:=E.a)(a2:=a')(d1:=E.d)(d2:=d')(r:=r) as AB.
epose proof EdwardsMontgomeryIsomorphism(a:=Curve25519.M.a)(b:=Curve25519.M.b)as BC.
destruct AB as [A B ab ba], BC as [_ C bc cb].
Expand Down

0 comments on commit f921bcd

Please sign in to comment.