task_id stringlengths 29 29 | repo stringclasses 1
value | proof_assistant stringclasses 1
value | commit_hash stringlengths 40 40 | parent_hash stringlengths 40 40 | commit_message stringlengths 3 561 | file_path stringlengths 8 145 | challenge_type stringclasses 2
values | challenge_file_content stringlengths 0 1.02M | solution_file_content stringlengths 51 1.08M | holes_filled listlengths 0 0 | diff stringlengths 233 1.69M | instructions stringlengths 57 194 | curation_verdict stringclasses 1
value | curation_model stringclasses 2
values | curation_rationale stringlengths 95 745 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fiat-crypto_cf28fc70_f69a180a | fiat-crypto | coq | cf28fc705ab3d6f79badcb59b7a3598ef69c4521 | 580c5b0f9d70c2d1de4804d6b03e1b2d2278ebf8 | Br prefix and p256 affine (#2271) | src/Bedrock/P256.v | proof_add | From Crypto.Bedrock.P256 Require Import Specs Platform Coord Jacobian.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
ZArith.BinInt
BinInt BinNat Init.Byte
PrimeFieldTheorems ModInv
micromega.Lia
coqutil.Byte
Lists.List micromega.Lia
Ja... | From Crypto.Bedrock.P256 Require Import Specs Platform Coord Jacobian JacobianAffine.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
ZArith.BinInt
BinInt BinNat Init.Byte
PrimeFieldTheorems ModInv
micromega.Lia
coqutil.Byte
Lists.List m... | [] | diff --git a/src/Bedrock/P256.v b/src/Bedrock/P256.v
index 5490327fb..331b3705f 100644
--- a/src/Bedrock/P256.v
+++ b/src/Bedrock/P256.v
@@ -1,4 +1,4 @@
-From Crypto.Bedrock.P256 Require Import Specs Platform Coord Jacobian.
+From Crypto.Bedrock.P256 Require Import Specs Platform Coord Jacobian JacobianAffine.
Impor... | Write or extend the proof(s) in src/Bedrock/P256.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds new imports (`JacobianAffine`), updates function names in a platform definition (`full_add` → `br_full_add`, etc.), adds two new function references to a jacobian list, and adds two `pose_correctness` tactic calls in a proof—all substantive proof engineering changes that extend functionality and proof co... |
fiat-crypto_cf28fc70_f33a0be4 | fiat-crypto | coq | cf28fc705ab3d6f79badcb59b7a3598ef69c4521 | 580c5b0f9d70c2d1de4804d6b03e1b2d2278ebf8 | Br prefix and p256 affine (#2271) | src/Bedrock/P256/Coord.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Curves.Weierstrass.P256.
Require Import Bedrock.P256.Specs.
Require Import Bedrock.P256.Platform.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
ZArith.BinInt
BinInt B... | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Curves.Weierstrass.P256.
Require Import Bedrock.P256.Specs.
Require Import Bedrock.P256.Platform.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
ZArith.BinInt
BinInt B... | [] | diff --git a/src/Bedrock/P256/Coord.v b/src/Bedrock/P256/Coord.v
index e76b97d25..6e3cc6048 100644
--- a/src/Bedrock/P256/Coord.v
+++ b/src/Bedrock/P256/Coord.v
@@ -48,15 +48,15 @@ Definition p256_coord_nonzero := func! (p_x) ~> nz {
}.
Definition p256_coord_sub := func!(out, x, y) {
- unpack! t0, borrow = full_su... | Write or extend the proof(s) in src/Bedrock/P256/Coord.v. Complete any unfinished proofs or add missing proof content. | accept | claude-sonnet-4-6 | This diff changes function call identifiers inside definition bodies (renaming `full_sub`/`full_add` to `br_full_sub`/`br_full_add`), which constitutes a substantive identifier rename within definition bodies affecting the produced terms. |
fiat-crypto_cf28fc70_8528d37a | fiat-crypto | coq | cf28fc705ab3d6f79badcb59b7a3598ef69c4521 | 580c5b0f9d70c2d1de4804d6b03e1b2d2278ebf8 | Br prefix and p256 affine (#2271) | src/Bedrock/P256/Jacobian.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import Curves.Weierstrass.P256.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
Crypto.Util.ZUtil.Modulo Zdiv ZArith BinInt
BinInt BinNat Init.Byte
... | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import Curves.Weierstrass.P256.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
Crypto.Util.ZUtil.Modulo Zdiv ZArith BinInt
BinInt BinNat Init.Byte
... | [] | diff --git a/src/Bedrock/P256/Jacobian.v b/src/Bedrock/P256/Jacobian.v
index a5b45b9eb..bcbafb994 100644
--- a/src/Bedrock/P256/Jacobian.v
+++ b/src/Bedrock/P256/Jacobian.v
@@ -340,8 +340,6 @@ Proof.
{ rewrite ?repeat_length; trivial. }
{ rewrite length_point; trivial. }
- rewrite ?word.and_xorm1_l, ?word.and_... | Write or extend the proof(s) in src/Bedrock/P256/Jacobian.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff removes two lines of low-level tactic manipulation (`rewrite ?word.and_xorm1_l, ?word.and_xorm1_r in *.`) from an existing proof and deletes ~90 lines of function definitions (`fe_set_1`, `p256_point_add_affine_nz_nz_neq`, `p256_point_add_affine_conditional`, `sc_halve`, `sc_sub`); while the deleted functions ... |
fiat-crypto_cf28fc70_ac5dddcc | fiat-crypto | coq | cf28fc705ab3d6f79badcb59b7a3598ef69c4521 | 580c5b0f9d70c2d1de4804d6b03e1b2d2278ebf8 | Br prefix and p256 affine (#2271) | src/Bedrock/P256/JacobianAffine.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import Curves.Weierstrass.P256.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
Crypto.Util.ZUtil.Modulo Zdiv ZArith BinInt
BinInt BinNat Init.Byte
... | [] | diff --git a/src/Bedrock/P256/JacobianAffine.v b/src/Bedrock/P256/JacobianAffine.v
new file mode 100644
index 000000000..3441a3b36
--- /dev/null
+++ b/src/Bedrock/P256/JacobianAffine.v
@@ -0,0 +1,389 @@
+Require Import coqutil.Datatypes.List Coq.Lists.List.
+Require Import Bedrock.P256.Specs.
+
+Import Specs.NotationsC... | Write the proof content for the declarations in src/Bedrock/P256/JacobianAffine.v. | accept | claude-haiku-4-5 | This is a new file with substantive proof engineering content—multiple non-trivial Coq definitions (including `fe_set_1`, `p256_point_add_affine_nz_nz_neq` bedrock2 functions), custom Ltac tactics (`length_tac`, `symex_call`, etc.), and a complex proof of `p256_point_add_affine_nz_nz_neq_ok` with real symbolic executio... | |
fiat-crypto_cf28fc70_cfc2ebce | fiat-crypto | coq | cf28fc705ab3d6f79badcb59b7a3598ef69c4521 | 580c5b0f9d70c2d1de4804d6b03e1b2d2278ebf8 | Br prefix and p256 affine (#2271) | src/Bedrock/P256/Specs.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
From bedrock2 Require Import Syntax NotationsCustomEntry.
From coqutil Require Import LittleEndianList.
Import BinInt.
Local Open Scope Z_scope.
Module Import List.
Import Lists.List ListNotations PeanoNat micromega.Lia.
Local Open Scope nat_scope.
Lemma c... | Require Import coqutil.Datatypes.List Coq.Lists.List.
From bedrock2 Require Import Syntax NotationsCustomEntry.
From coqutil Require Import LittleEndianList.
Import BinInt.
Local Open Scope Z_scope.
Module Import List.
Import Lists.List ListNotations PeanoNat micromega.Lia.
Local Open Scope nat_scope.
Lemma c... | [] | diff --git a/src/Bedrock/P256/Specs.v b/src/Bedrock/P256/Specs.v
index 3c7aa394b..df787a88d 100644
--- a/src/Bedrock/P256/Specs.v
+++ b/src/Bedrock/P256/Specs.v
@@ -151,10 +151,16 @@ End coord.
From Crypto.Curves Require Import Jacobian.
Import Coq.Lists.List.
+Notation affine_point := (@WeierstrassCurve.W.point co... | Write or extend the proof(s) in src/Bedrock/P256/Specs.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff adds substantive new definitions (affine_point notation and module with iszero), a coercion (of_affine), and completely rewrites two function specifications with complex proof obligations involving Jacobian arithmetic and affine point conversions — all core proof-engineering content for verifying cryptographic... |
fiat-crypto_39ef2d7e_34ef1f80 | fiat-crypto | coq | 39ef2d7ecf1b62c77862d0f99cb7205dbc2904a4 | 441a5f0b4aa751118992cc80a96c88561212be69 | Havoc flags after imul in Semantics.v (#2263) | src/Assembly/WithBedrock/Semantics.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import FMapPositive.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Morphisms.
From Coq Require Import Bool.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.
Require Import Crypto.U... | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import FMapPositive.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Morphisms.
From Coq Require Import Bool.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.
Require Import Crypto.U... | [] | diff --git a/src/Assembly/WithBedrock/Semantics.v b/src/Assembly/WithBedrock/Semantics.v
index f8b8f0dc5..175a92975 100644
--- a/src/Assembly/WithBedrock/Semantics.v
+++ b/src/Assembly/WithBedrock/Semantics.v
@@ -261,8 +261,7 @@ Definition DenoteNormalInstruction (st : machine_state) (instr : NormalInstructi
v2 <-... | Write or extend the proof(s) in src/Assembly/WithBedrock/Semantics.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff substantively changes the proof/semantic specification of the `imul` instruction by replacing a concrete flag computation with a conservative `HavocFlags` operation, which is a real semantic change to how the instruction's behavior is modeled rather than a whitespace or display-only edit. |
fiat-crypto_71d6c520_5283c0fb | fiat-crypto | coq | 71d6c520fa6f50fd283a84f028a720752a07842c | 9da5e2e2e9ea82b684b2a473b32b76ac4a0de091 | Add P256 curve file (#2256) | src/Bedrock/P256/Coord.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Require Import Bedrock.P256.Platform.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
ZArith.BinInt
BinInt BinNat Init.Byte
PrimeFieldTheorems ModIn... | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Curves.Weierstrass.P256.
Require Import Bedrock.P256.Specs.
Require Import Bedrock.P256.Platform.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
ZArith.BinInt
BinInt B... | [] | diff --git a/src/Bedrock/P256/Coord.v b/src/Bedrock/P256/Coord.v
index 54ba4dba5..e76b97d25 100644
--- a/src/Bedrock/P256/Coord.v
+++ b/src/Bedrock/P256/Coord.v
@@ -1,4 +1,5 @@
Require Import coqutil.Datatypes.List Coq.Lists.List.
+Require Import Curves.Weierstrass.P256.
Require Import Bedrock.P256.Specs.
Require Im... | Write or extend the proof(s) in src/Bedrock/P256/Coord.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff is primarily whitespace cleanup (trailing spaces removed on lines 186, 210, 251, 326, 369, 386) and one substantive import addition (`Require Import Curves.Weierstrass.P256.`), which is a real code change; the trailing whitespace edits alone would be REJECT, but the import addition makes this a substantive ch... |
fiat-crypto_71d6c520_898daa18 | fiat-crypto | coq | 71d6c520fa6f50fd283a84f028a720752a07842c | 9da5e2e2e9ea82b684b2a473b32b76ac4a0de091 | Add P256 curve file (#2256) | src/Bedrock/P256/Coord32.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Require Import Bedrock.P256.Platform.
Import bedrock2.NotationsCustomEntry Specs.NotationsCustomEntry.
Import bedrock2Examples.shrd.
Definition p256_coord_nonzero := func! (p_x) ~> nz {
nz = load(p_x) | load(p_x.+$4) | load(p_x.... | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Curves.Weierstrass.P256.
Require Import Bedrock.P256.Specs.
Require Import Bedrock.P256.Platform.
Import bedrock2.NotationsCustomEntry Specs.NotationsCustomEntry.
Import bedrock2Examples.shrd.
Definition p256_coord_nonzero := func! (p_x) ~> nz {
nz... | [] | diff --git a/src/Bedrock/P256/Coord32.v b/src/Bedrock/P256/Coord32.v
index eff7d880a..cd5627285 100644
--- a/src/Bedrock/P256/Coord32.v
+++ b/src/Bedrock/P256/Coord32.v
@@ -1,4 +1,5 @@
Require Import coqutil.Datatypes.List Coq.Lists.List.
+Require Import Curves.Weierstrass.P256.
Require Import Bedrock.P256.Specs.
Re... | Write or extend the proof(s) in src/Bedrock/P256/Coord32.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff is primarily whitespace normalization (trailing spaces removed on several lines) and adds a single substantive import (`Require Import Curves.Weierstrass.P256`), which is a minor dependency addition. The core proof bodies remain unchanged—no new proof content or proof-body edits are made. While the file is han... |
fiat-crypto_71d6c520_40d2c31b | fiat-crypto | coq | 71d6c520fa6f50fd283a84f028a720752a07842c | 9da5e2e2e9ea82b684b2a473b32b76ac4a0de091 | Add P256 curve file (#2256) | src/Bedrock/P256/Jacobian.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
Crypto.Util.ZUtil.Modulo Zdiv ZArith BinInt
BinInt BinNat Init.Byte
PrimeFieldTheorems ModInv
microm... | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import Curves.Weierstrass.P256.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
Crypto.Util.ZUtil.Modulo Zdiv ZArith BinInt
BinInt BinNat Init.Byte
... | [] | diff --git a/src/Bedrock/P256/Jacobian.v b/src/Bedrock/P256/Jacobian.v
index 0d077a883..b02d1c40c 100644
--- a/src/Bedrock/P256/Jacobian.v
+++ b/src/Bedrock/P256/Jacobian.v
@@ -2,6 +2,7 @@ Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Import Specs.NotationsCustomEntry Spec... | Write or extend the proof(s) in src/Bedrock/P256/Jacobian.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff is substantive proof engineering that includes a semantic tactic change (simplifying `unshelve eapply` chains to direct `eapply`), removal of redundant `cbv [coord]` tactics, and most importantly, the addition of a key import (`Import Curves.Weierstrass.P256.`) that enables the proofs to work; the whitespace-... |
fiat-crypto_71d6c520_9b969305 | fiat-crypto | coq | 71d6c520fa6f50fd283a84f028a720752a07842c | 9da5e2e2e9ea82b684b2a473b32b76ac4a0de091 | Add P256 curve file (#2256) | src/Bedrock/P256/Specs.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
From bedrock2 Require Import Syntax NotationsCustomEntry.
From coqutil Require Import LittleEndianList.
Import BinInt.
Local Open Scope Z_scope.
Module Import List.
Import Lists.List ListNotations PeanoNat micromega.Lia.
Local Open Scope nat_scope.
Lemma c... | Require Import coqutil.Datatypes.List Coq.Lists.List.
From bedrock2 Require Import Syntax NotationsCustomEntry.
From coqutil Require Import LittleEndianList.
Import BinInt.
Local Open Scope Z_scope.
Module Import List.
Import Lists.List ListNotations PeanoNat micromega.Lia.
Local Open Scope nat_scope.
Lemma c... | [] | diff --git a/src/Bedrock/P256/Specs.v b/src/Bedrock/P256/Specs.v
index 200aff92b..3c7aa394b 100644
--- a/src/Bedrock/P256/Specs.v
+++ b/src/Bedrock/P256/Specs.v
@@ -129,16 +129,12 @@ Module Byte.
Qed.
End Byte.
-Local Open Scope Z_scope.
-
-Definition p256 : positive := 2^256 - 2^224 + 2^192 + 2^96 - 1.
-
-#[expo... | Write or extend the proof(s) in src/Bedrock/P256/Specs.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive changes to definitions and imports in a hand-written Bedrock specification file: it removes `Admitted` instances (prime_p256, char_ge proofs), refactors definitions by extracting them to an imported module (Curves.Weierstrass.P256), converts definitions to Notations, removes a Field tacti... |
fiat-crypto_71d6c520_4008d9b7 | fiat-crypto | coq | 71d6c520fa6f50fd283a84f028a720752a07842c | 9da5e2e2e9ea82b684b2a473b32b76ac4a0de091 | Add P256 curve file (#2256) | src/Curves/Weierstrass/P256.v | proof_add | From Coq Require Import ZArith Znumtheory.
Require Import Crypto.Algebra.Field.
From Crypto Require Import PrimeFieldTheorems ModInv.
Require Import Crypto.Spec.WeierstrassCurve.
Require Import Crypto.Curves.Weierstrass.Affine.
Require Import Crypto.Curves.Weierstrass.AffineProofs.
Local Open Scope positive_scope.
De... | [] | diff --git a/src/Curves/Weierstrass/P256.v b/src/Curves/Weierstrass/P256.v
new file mode 100644
index 000000000..b55c601bf
--- /dev/null
+++ b/src/Curves/Weierstrass/P256.v
@@ -0,0 +1,84 @@
+From Coq Require Import ZArith Znumtheory.
+Require Import Crypto.Algebra.Field.
+From Crypto Require Import PrimeFieldTheorems M... | Write the proof content for the declarations in src/Curves/Weierstrass/P256.v. | accept | claude-haiku-4-5 | This is a new file with substantive proof engineering content including prime-field instances, curve-group structure proofs, and cryptographic invariants (one admitted), representing real mathematical and verification work for the P256 elliptic curve—well above the threshold for acceptance despite the admitted final le... | |
fiat-crypto_3b04568d_4dc5d216 | fiat-crypto | coq | 3b04568dd33ef385d53ad8cd762a99709fcf3d37 | ce64075bf39a06b2d274998b196a5d6eeebe7f2d | use rapply in WordByWordMontgomery | src/Arithmetic/WordByWordMontgomery.v | proof_add | From Coq Require Import ZArith Lia.
From Coq Require Import List.
Require Import Crypto.Algebra.Ring.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Freeze.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Import Crypto.Arithmetic.Partition.
Require Import Crypto.Arithmetic.P... | From Coq Require Import ZArith Lia.
From Coq Require Import List.
Require Import Crypto.Algebra.Ring.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Freeze.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Import Crypto.Arithmetic.Partition.
Require Import Crypto.Arithmetic.P... | [] | diff --git a/src/Arithmetic/WordByWordMontgomery.v b/src/Arithmetic/WordByWordMontgomery.v
index 8a1c8ea68..3930f6062 100644
--- a/src/Arithmetic/WordByWordMontgomery.v
+++ b/src/Arithmetic/WordByWordMontgomery.v
@@ -169,7 +169,7 @@ Module WordByWordMontgomery.
redc (length A) A B k = redc_alt (length A) A B k... | Write or extend the proof(s) in src/Arithmetic/WordByWordMontgomery.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff changes `apply` to `rapply` (reverse application) throughout multiple proofs in WordByWordMontgomery.v, which is a semantically-meaningful tactic substitution that affects proof elaboration and term synthesis—this constitutes substantive proof-body tactic changes and should be ACCEPTED, despite being a mechan... |
fiat-crypto_4e700a86_c4c488b0 | fiat-crypto | coq | 4e700a86b74439c876017d4663e6ffbe4c8981e6 | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | remove Bignum | src/Bedrock/Field/Synthesis/New/Signature.v | proof_add | Require Rupicola.Lib.Tactics.
From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List. (* after strings *)
From Coq Require Import QArith.
From Coq Require Import ZArith.
Require Import bedrock2.ArrayCasts.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationL... | Require Rupicola.Lib.Tactics.
From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List. (* after strings *)
From Coq Require Import QArith.
From Coq Require Import ZArith.
Require Import bedrock2.ArrayCasts.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationL... | [] | diff --git a/src/Bedrock/Field/Synthesis/New/Signature.v b/src/Bedrock/Field/Synthesis/New/Signature.v
index 6139dd26d..5a22694a8 100644
--- a/src/Bedrock/Field/Synthesis/New/Signature.v
+++ b/src/Bedrock/Field/Synthesis/New/Signature.v
@@ -250,7 +250,7 @@ Section WithParameters.
clear; cbn; intuition Lia.l... | Write or extend the proof(s) in src/Bedrock/Field/Synthesis/New/Signature.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff removes references to `Bignum.Bignum` in a proof-tactics context (lines with `cbv [FElem Bignum.Bignum]`) and deletes an entire tactic block (lines 297-300), alongside minor whitespace fixes; these are substantive tactic-body changes that affect proof-term elaboration and constitute real proof engineering, th... |
fiat-crypto_4e700a86_5d1036a1 | fiat-crypto | coq | 4e700a86b74439c876017d4663e6ffbe4c8981e6 | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | remove Bignum | src/Bedrock/Specs/Field.v | proof_add | Require Import Bedrock.Field.Common.Types.
Require Import coqutil.Byte coqutil.Word.LittleEndianList.
From coqutil.Macros Require Import symmetry.
Require Import Crypto.Algebra.Hierarchy.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Synthesis.Generic.Bignum.
Require Import Cr... | Require Import Bedrock.Field.Common.Types.
Require Import coqutil.Byte coqutil.Word.LittleEndianList.
From coqutil.Macros Require Import symmetry.
Require Import Crypto.Algebra.Hierarchy.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Crypto.Bedrock.Field.Common.Arrays.ByteBounds.
Require Import Crypto.Be... | [] | diff --git a/src/Bedrock/Specs/Field.v b/src/Bedrock/Specs/Field.v
index 9f8221f65..dc182c287 100644
--- a/src/Bedrock/Specs/Field.v
+++ b/src/Bedrock/Specs/Field.v
@@ -3,7 +3,7 @@ Require Import coqutil.Byte coqutil.Word.LittleEndianList.
From coqutil.Macros Require Import symmetry.
Require Import Crypto.Algebra.Hie... | Write or extend the proof(s) in src/Bedrock/Specs/Field.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff is primarily whitespace cleanup (trailing spaces, blank line normalization) plus one substantive import change (replacing `Bignum` with `ByteBounds`), but the import change is a simple module swap without visible proof-body edits, making this mostly non-substantive with minimal proof engineering content. |
fiat-crypto_0f56e13d_5002ac79 | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/End2End/X25519/EdwardsXYZT.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.bottom_up_simpl.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require... | Require Import bedrock2.Array.
Require Import bedrock2.bottom_up_simpl.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require... | [] | diff --git a/src/Bedrock/End2End/X25519/EdwardsXYZT.v b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
index a9a295544..0a6a4b806 100644
--- a/src/Bedrock/End2End/X25519/EdwardsXYZT.v
+++ b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
@@ -123,7 +123,7 @@ Definition double := func! (p_out, p_a) {
fe25519_mul(p_out.Z, cZ, cT)
... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/EdwardsXYZT.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof engineering changes: signature modifications (adding type annotations to function parameters like `valid_projective_coords (X Y Z Ta Tb : felem)` and `valid_cached_coords (half_YmX half_YpX Z Td : felem)` and their lemmas), refactored tactic code (`solve_length` extracted and `solve... |
fiat-crypto_0f56e13d_50043e19 | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/End2End/X25519/MontgomeryLadder.v | proof_add | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import Crypto.Util.Decidable.
Require Import Crypto.Spec.MontgomeryCurve.
Require Import Crypto.Spec.Curve25519.
Require Import Crypto.Bedrock.Specs.Field.
Require Import bedrock2.Map.Separation.
Require Import bedrock... | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import Crypto.Util.Decidable.
Require Import Crypto.Spec.MontgomeryCurve.
Require Import Crypto.Spec.Curve25519.
Require Import Crypto.Bedrock.Specs.Field.
Require Import bedrock2.Array.
Require Import bedrock2.Map.Sep... | [] | diff --git a/src/Bedrock/End2End/X25519/MontgomeryLadder.v b/src/Bedrock/End2End/X25519/MontgomeryLadder.v
index 469ab22d5..7917b674d 100644
--- a/src/Bedrock/End2End/X25519/MontgomeryLadder.v
+++ b/src/Bedrock/End2End/X25519/MontgomeryLadder.v
@@ -5,10 +5,12 @@ Require Import Crypto.Util.Decidable.
Require Import Cry... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/MontgomeryLadder.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive proof-engineering changes: new `Local Ltac` definitions (`solve_length`, `solve_mem`, `solve_dealloc`) that alter tactic behavior, changes to proof bodies replacing `ecancel_assumption_impl` with `solve_mem`, unfold rewrites from `FElem`/`Field.FElem` to `Compilation2.FElem`, and removal of ... |
fiat-crypto_0f56e13d_016a2ffe | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/Field/Interface/Compilation2.v | proof_add | Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Alloc.
Require Import Crypto.Bedrock.Specs.Field.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Local Open Scope Z_scope.
Import bedrock2.Memory.
Section Compile.
Context {width: Z} {BW: Bitwidth width} {word: word.word width} {mem: map.map word Byt... | Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Alloc.
Require Import coqutil.Macros.symmetry.
Require Import Crypto.Bedrock.Specs.Field.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Local Open Scope Z_scope.
Import bedrock2.Memory.
Section Compile.
Context {width: Z} {BW: Bitwidth width} {word:... | [] | diff --git a/src/Bedrock/Field/Interface/Compilation2.v b/src/Bedrock/Field/Interface/Compilation2.v
index 067a868fe..4e59adbab 100644
--- a/src/Bedrock/Field/Interface/Compilation2.v
+++ b/src/Bedrock/Field/Interface/Compilation2.v
@@ -1,5 +1,6 @@
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Alloc.
+... | Write or extend the proof(s) in src/Bedrock/Field/Interface/Compilation2.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff contains substantive proof-engineering changes: (1) a type annotation added to a definition (`v' : felem`), (2) removal of two lemmas (`FElem'_iff_bytes` and `FElem'_to_bytes`) with real proofs, (3) significant rewrites to an instance proof body (`felem_alloc`) using different separation-logic tactics and lemm... |
fiat-crypto_0f56e13d_94638bf9 | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/Field/Synthesis/New/Signature.v | proof_add | Require Rupicola.Lib.Tactics.
From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List. (* after strings *)
From Coq Require Import QArith.
From Coq Require Import ZArith.
Require Import bedrock2.ArrayCasts.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationL... | Require Rupicola.Lib.Tactics.
From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List. (* after strings *)
From Coq Require Import QArith.
From Coq Require Import ZArith.
Require Import bedrock2.ArrayCasts.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationL... | [] | diff --git a/src/Bedrock/Field/Synthesis/New/Signature.v b/src/Bedrock/Field/Synthesis/New/Signature.v
index 732044d4c..6139dd26d 100644
--- a/src/Bedrock/Field/Synthesis/New/Signature.v
+++ b/src/Bedrock/Field/Synthesis/New/Signature.v
@@ -111,47 +111,13 @@ Section WithParameters.
Local Notation felem_size_in_wor... | Write or extend the proof(s) in src/Bedrock/Field/Synthesis/New/Signature.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff demonstrates substantive proof engineering work: it removes two lemmas (`FElem_array_truncated_scalar_iff1` and `FElemBytes_array_truncated_scalar_iff1`), refactors Ltac tactics to use new lemma names (`felem_to_Z_array`, `FElemBytes_to_Z_array`), adds new lemmas (`map_Z_map_unsigned`, `map_unsigned_map_Z`, `... |
fiat-crypto_0f56e13d_8f2ec031 | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v | proof_add | From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import bedrock2.Syntax.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Spec.ModularArithmetic.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Import Crypt... | From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import bedrock2.Syntax.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Spec.ModularArithmetic.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Import Crypt... | [] | diff --git a/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v b/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v
index 8205b52c6..2f5d1977d 100644
--- a/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v
+++ b/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v
@@ -549,7 +549,7 @@ Qed.
handle_... | Write or extend the proof(s) in src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff changes a proof tactic body by updating a hypothesis reference from `H5` to `H6`, which is a substantive fix to the proof logic—likely necessitated by changes in the context structure (the commit title "Pull field element length into felem" suggests an upstream refactoring that altered hypothesis numbering). ... |
fiat-crypto_0f56e13d_d2094604 | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/Group/ScalarMult/CSwap.v | proof_add | From Coq.Program Require Import Tactics.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Loops.
Require Import bedrock2.Semantics.
Require Import coqutil.Word.Interface coqutil.Byte.
Local Open Scope Z_scope.
Require Import Rupicola.Lib.Arrays.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib... | From Coq.Program Require Import Tactics.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Loops.
Require Import bedrock2.Semantics.
Require Import coqutil.Word.Interface coqutil.Byte.
Local Open Scope Z_scope.
Require Import Rupicola.Lib.Arrays.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib... | [] | diff --git a/src/Bedrock/Group/ScalarMult/CSwap.v b/src/Bedrock/Group/ScalarMult/CSwap.v
index c404d8e86..806525620 100644
--- a/src/Bedrock/Group/ScalarMult/CSwap.v
+++ b/src/Bedrock/Group/ScalarMult/CSwap.v
@@ -539,19 +539,6 @@ Section __.
lia.
Qed.
- Lemma Bignum_as_array
- : @Bignum.Bignum width word ... | Write or extend the proof(s) in src/Bedrock/Group/ScalarMult/CSwap.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof-body changes: deletion of the `Bignum_as_array` lemma and its replacement with `FElem_as_array`, rewriting of multiple proof tactics (replacing `ecancel_assumption` with `sepsimpl; try ecancel_assumption; try apply felem_length`, simplifying multi-step separation logic proofs into d... |
fiat-crypto_0f56e13d_03825500 | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/Secp256k1/Addchain.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | [] | diff --git a/src/Bedrock/Secp256k1/Addchain.v b/src/Bedrock/Secp256k1/Addchain.v
index 74068b972..6da1123b3 100644
--- a/src/Bedrock/Secp256k1/Addchain.v
+++ b/src/Bedrock/Secp256k1/Addchain.v
@@ -159,7 +159,7 @@ Section WithParameters.
Local Coercion F.to_Z : F >-> Z.
Local Notation "m =* P" := ((P%sep) m) (at... | Write or extend the proof(s) in src/Bedrock/Secp256k1/Addchain.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof engineering changes: tactic redefinitions (solve_length, solve_mem, solve_dealloc), proof-body restructuring with new abstractions and simplifications, signature changes to the spec (adding felem_size_in_bytes length constraint), and reorganized lemma invocations—all integral to han... |
fiat-crypto_0f56e13d_f9d15d5f | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/Secp256k1/JacobianCoZ.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | [] | diff --git a/src/Bedrock/Secp256k1/JacobianCoZ.v b/src/Bedrock/Secp256k1/JacobianCoZ.v
index da130b2bf..8b129e64b 100644
--- a/src/Bedrock/Secp256k1/JacobianCoZ.v
+++ b/src/Bedrock/Secp256k1/JacobianCoZ.v
@@ -250,7 +250,7 @@ Section WithParameters.
Local Notation "xs $@ a" := (Array.array ptsto (word.of_Z 1) a xs) (... | Write or extend the proof(s) in src/Bedrock/Secp256k1/JacobianCoZ.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff changes specification signatures (adding type annotations `(OX' OY' OZ' : felem)` to existential quantifiers) and substantially rewrites proof tactics (`solve_mem`, `solve_length`, removal of `solve_stack`), including calling new helper tactics like `dealloc_preprocess` and `ensure_memory_goal`—these are core... |
fiat-crypto_0f56e13d_1568ec7c | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/Secp256k1/JoyeLadder.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | [] | diff --git a/src/Bedrock/Secp256k1/JoyeLadder.v b/src/Bedrock/Secp256k1/JoyeLadder.v
index 838401207..2f72f8a24 100644
--- a/src/Bedrock/Secp256k1/JoyeLadder.v
+++ b/src/Bedrock/Secp256k1/JoyeLadder.v
@@ -12,6 +12,7 @@ Require Import bedrock2.WeakestPrecondition.
Require Import bedrock2.WeakestPreconditionProperties.
... | Write or extend the proof(s) in src/Bedrock/Secp256k1/JoyeLadder.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff contains substantial proof-body changes (new/modified Ltac tactics like `solve_length`, `simplify_mem_hyps`, `ensure_memory_goal`, and restructured `solve_mem`; removal of `solve_stack`; edits to existential quantifier signatures with type annotations; changes to proof tactics in multiple lemmas including `str... |
fiat-crypto_0f56e13d_e4f7fc7c | fiat-crypto | coq | 0f56e13d6ee5730dc411cb76556c7b01679b1a8c | fc8ce4b3ced2e8a24773b708666a74d132a8425e | Pull field element length into felem | src/Bedrock/Specs/Field.v | proof_add | Require Import coqutil.Byte coqutil.Word.LittleEndianList.
Require Import Rupicola.Lib.Api.
Require Import Crypto.Algebra.Hierarchy.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Synthesis.Generic.Bignum.
Require Import Crypto.Bedrock.Field.Common.Arrays.MaxBounds.
Require Imp... | Require Import Bedrock.Field.Common.Types.
Require Import coqutil.Byte coqutil.Word.LittleEndianList.
From coqutil.Macros Require Import symmetry.
Require Import Crypto.Algebra.Hierarchy.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Synthesis.Generic.Bignum.
Require Import Cr... | [] | diff --git a/src/Bedrock/Specs/Field.v b/src/Bedrock/Specs/Field.v
index 765bc44ad..9f8221f65 100644
--- a/src/Bedrock/Specs/Field.v
+++ b/src/Bedrock/Specs/Field.v
@@ -1,11 +1,15 @@
+Require Import Bedrock.Field.Common.Types.
Require Import coqutil.Byte coqutil.Word.LittleEndianList.
-Require Import Rupicola.Lib.Api.... | Write or extend the proof(s) in src/Bedrock/Specs/Field.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive refactoring of the `FieldRepresentation` class that changes type signatures (pulling `felem_size_in_words` to a field and redefining `felem` as a dependent pair with a length constraint), updates proof specs with new preconditions/postconditions, replaces the `Placeholder` definition with `out$@po... |
fiat-crypto_5c8fc6da_fe3cc13c | fiat-crypto | coq | 5c8fc6da74fbd0ef4035b867f84ab81e2c21d49f | 5d98fcc6da685ee06302ec43bdcd7c861539b41a | Edwards25519: Specs based on coords | src/Bedrock/End2End/X25519/EdwardsXYZT.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.bottom_up_simpl.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require... | Require Import bedrock2.Array.
Require Import bedrock2.bottom_up_simpl.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require... | [] | diff --git a/src/Bedrock/End2End/X25519/EdwardsXYZT.v b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
index 927e5bc27..a9a295544 100644
--- a/src/Bedrock/End2End/X25519/EdwardsXYZT.v
+++ b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
@@ -163,7 +163,8 @@ Definition readd := func! (p_out, p_a, p_c) {
Section WithParameters.
C... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/EdwardsXYZT.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof engineering: new definitions (`valid_projective_coords`, `projective_coords`, `feval_projective_coords`, `coords_to_point`, etc.), new lemmas with proof bodies (`point_implies_coords_valid`, `precomputed_implies_coords_valid`, `cached_implies_coords_valid`), and signature/notation c... |
fiat-crypto_9d068246_d29213d8 | fiat-crypto | coq | 9d0682462646bf645cba7409fa45794dee0418aa | 7a356aa4ef6766fa672284d2cc1f54b89bac25fc | Ed25519: Cleanup Basic.v | src/Bedrock/End2End/X25519/EdwardsXYZT.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.bottom_up_simpl.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require... | Require Import bedrock2.Array.
Require Import bedrock2.bottom_up_simpl.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require... | [] | diff --git a/src/Bedrock/End2End/X25519/EdwardsXYZT.v b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
index 2cf3cb9f4..927e5bc27 100644
--- a/src/Bedrock/End2End/X25519/EdwardsXYZT.v
+++ b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
@@ -178,13 +178,12 @@ Local Notation felem_size_in_bytes := (felem_size_in_bytes(FieldRepresent... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/EdwardsXYZT.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive proof-engineering changes including (1) API migrations renaming `point` to `Extended.point` and `m1double` to `Extended.m1double`, (2) removing the unused `coordinates` Local Notation and its references throughout proof code, (3) changing `projective_repr` to access `proj1_sig P` instead of ... |
fiat-crypto_9d068246_7d32b018 | fiat-crypto | coq | 9d0682462646bf645cba7409fa45794dee0418aa | 7a356aa4ef6766fa672284d2cc1f54b89bac25fc | Ed25519: Cleanup Basic.v | src/Curves/Edwards/XYZT/Basic.v | proof_add | From Coq Require Import Morphisms.
Require Import Crypto.Spec.CompleteEdwardsCurve Crypto.Curves.Edwards.AffineProofs.
Require Import Crypto.Util.Notations Crypto.Util.GlobalSettings.
Require Export Crypto.Util.FixCoqMistakes.
Require Import Crypto.Util.Decidable.
Require Import Crypto.Util.Tactics.DestructHead.
Requ... | From Coq Require Import Morphisms.
Require Import Crypto.Spec.CompleteEdwardsCurve Crypto.Curves.Edwards.AffineProofs.
Require Import Crypto.Util.Notations Crypto.Util.GlobalSettings.
Require Export Crypto.Util.FixCoqMistakes.
Require Import Crypto.Util.Decidable.
Require Import Crypto.Util.Tactics.DestructHead.
Requ... | [] | diff --git a/src/Curves/Edwards/XYZT/Basic.v b/src/Curves/Edwards/XYZT/Basic.v
index 653ddbcf1..5b6e5f6ba 100644
--- a/src/Curves/Edwards/XYZT/Basic.v
+++ b/src/Curves/Edwards/XYZT/Basic.v
@@ -8,196 +8,185 @@ Require Import Crypto.Util.Decidable.
Require Import Crypto.Util.Tactics.DestructHead.
Require Import Crypto.... | Write or extend the proof(s) in src/Curves/Edwards/XYZT/Basic.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff shows substantive changes to proof engineering: wrapping content in a `Module Extended` structure, renaming definitions (`from_twisted`→`from_affine`, `to_twisted`→`to_affine`, `Epoint`→`affine_point`), refactoring proof obligations from `Program` with `Next Obligation` into `refine`+`abstract`, updating the `... |
fiat-crypto_9d068246_97f5fb57 | fiat-crypto | coq | 9d0682462646bf645cba7409fa45794dee0418aa | 7a356aa4ef6766fa672284d2cc1f54b89bac25fc | Ed25519: Cleanup Basic.v | src/Curves/Edwards/XYZT/Precomputed.v | proof_add | Require Import Crypto.Util.Decidable Crypto.Util.Notations Crypto.Algebra.Hierarchy.
Require Import Crypto.Spec.CompleteEdwardsCurve Crypto.Curves.Edwards.XYZT.Basic.
From Coq Require Import Morphisms.
Require Import Crypto.Util.Tactics.DestructHead.
Require Import Crypto.Util.Tactics.BreakMatch.
Require Import Crypt... | Require Import Crypto.Util.Decidable Crypto.Util.Notations Crypto.Algebra.Hierarchy.
Require Import Crypto.Spec.CompleteEdwardsCurve Crypto.Curves.Edwards.XYZT.Basic.
From Coq Require Import Morphisms.
Require Import Crypto.Util.Tactics.DestructHead.
Require Import Crypto.Util.Tactics.BreakMatch.
Require Import Crypt... | [] | diff --git a/src/Curves/Edwards/XYZT/Precomputed.v b/src/Curves/Edwards/XYZT/Precomputed.v
index d65eeacaa..7f9ab84b9 100644
--- a/src/Curves/Edwards/XYZT/Precomputed.v
+++ b/src/Curves/Edwards/XYZT/Precomputed.v
@@ -26,7 +26,7 @@ Section ExtendedCoordinates.
{nonsquare_d : forall x, x^2 <> d}.
Local Nota... | Write or extend the proof(s) in src/Curves/Edwards/XYZT/Precomputed.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive changes to proof-related constructs: it replaces references to `Basic.point`/`Basic.eq`/`Basic.from_twisted`/`Basic.m1add` with `Extended.point`/`Extended.eq`/`Extended.from_affine`/`Extended.m1add` throughout proofs and hints, updates a `Hint Unfold` declaration, changes a `cbv` delta list,... |
fiat-crypto_9d068246_d0841127 | fiat-crypto | coq | 9d0682462646bf645cba7409fa45794dee0418aa | 7a356aa4ef6766fa672284d2cc1f54b89bac25fc | Ed25519: Cleanup Basic.v | src/Curves/Edwards/XYZT/Readdition.v | proof_add | From Coq Require Import Morphisms.
Require Import Crypto.Spec.CompleteEdwardsCurve Crypto.Curves.Edwards.AffineProofs.
Require Import Crypto.Curves.Edwards.XYZT.Basic.
Require Import Crypto.Algebra.Field.
Require Import Crypto.Algebra.Hierarchy.
Require Import Crypto.Util.Notations Crypto.Util.GlobalSettings.
Require... | From Coq Require Import Morphisms.
Require Import Crypto.Spec.CompleteEdwardsCurve Crypto.Curves.Edwards.AffineProofs.
Require Import Crypto.Curves.Edwards.XYZT.Basic.
Require Import Crypto.Algebra.Field.
Require Import Crypto.Algebra.Hierarchy.
Require Import Crypto.Util.Notations Crypto.Util.GlobalSettings.
Require... | [] | diff --git a/src/Curves/Edwards/XYZT/Readdition.v b/src/Curves/Edwards/XYZT/Readdition.v
index 5de3a9d15..ae9441b7b 100644
--- a/src/Curves/Edwards/XYZT/Readdition.v
+++ b/src/Curves/Edwards/XYZT/Readdition.v
@@ -35,10 +35,9 @@ Section ExtendedCoordinates.
Local Notation onCurve x y := (a*x^2 + y^2 = 1 + d*x^2*y^2) ... | Write or extend the proof(s) in src/Curves/Edwards/XYZT/Readdition.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff involves substantive proof-engineering changes: renaming references from `Basic.*` to `Extended.*` (an API migration), changing `coordinates` calls to `proj1_sig` (definition/signature edits), adding a new lemma `to_affine_denom_nonzero` with a proof body, removing dead code (`to_twisted`), and refactoring th... |
fiat-crypto_19bc48ea_b31374b2 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/End2End/Poly1305/Field1305.v | proof_add | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Interface.Representation.
Require Import Crypto.Bedrock.Field.Synthesis.New.ComputedOp.
Require Import Crypto.Bedrock.Field.Synthesis.New... | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import Lia.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Interface.Representation.
Require Import Crypto.Bedrock.Field.Synthesis.New.ComputedOp.
Require Import Crypto.Bedrock... | [] | diff --git a/src/Bedrock/End2End/Poly1305/Field1305.v b/src/Bedrock/End2End/Poly1305/Field1305.v
index bd8117a0f..c1197cff0 100644
--- a/src/Bedrock/End2End/Poly1305/Field1305.v
+++ b/src/Bedrock/End2End/Poly1305/Field1305.v
@@ -1,6 +1,7 @@
From Coq Require Import String.
From Coq Require Import List.
From Coq Requi... | Write or extend the proof(s) in src/Bedrock/End2End/Poly1305/Field1305.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff is substantive proof engineering: it adds a new instance definition `frep1305` with an `Instance` declaration and a non-trivial proof (`frep1305_ok`) that applies field representation correctness lemmas and uses `lia` to discharge a numeric side condition, then refactors multiple spec statements to use the ne... |
fiat-crypto_19bc48ea_870ec43c | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/End2End/X25519/EdwardsXYZT.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | Require Import bedrock2.Array.
Require Import bedrock2.bottom_up_simpl.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require... | [] | diff --git a/src/Bedrock/End2End/X25519/EdwardsXYZT.v b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
index 332d34d1c..2cf3cb9f4 100644
--- a/src/Bedrock/End2End/X25519/EdwardsXYZT.v
+++ b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
@@ -1,4 +1,5 @@
Require Import bedrock2.Array.
+Require Import bedrock2.bottom_up_simpl.
Requ... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/EdwardsXYZT.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof engineering changes: new imports (bedrock2.bottom_up_simpl, bedrock2.SepAutoArray), removal of unused imports, changing a Local Instance definition to Existing Instance, multiple Notation refinements simplifying field element access expressions (removing redundant `expr.op ... (0)` ... |
fiat-crypto_19bc48ea_4a18fbf1 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/End2End/X25519/Field25519.v | proof_add | Require Import Crypto.Spec.Curve25519.
From Coq Require Import String. Local Open Scope string_scope.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import coqutil.Word.Bitwidth32.
Require Import coqutil.Macros.WithBaseName.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Cryp... | Require Import Crypto.Spec.Curve25519.
From Coq Require Import String. Local Open Scope string_scope.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import coqutil.Word.Bitwidth32.
Require Import coqutil.Macros.WithBaseName.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Cryp... | [] | diff --git a/src/Bedrock/End2End/X25519/Field25519.v b/src/Bedrock/End2End/X25519/Field25519.v
index 0d686419d..8b5a8ac65 100644
--- a/src/Bedrock/End2End/X25519/Field25519.v
+++ b/src/Bedrock/End2End/X25519/Field25519.v
@@ -42,10 +42,19 @@ Section Field.
Instance field_parameters : FieldParameters :=
field_par... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/Field25519.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff is substantive: it adds a new exported instance `frep25519` (a FieldRepresentation), moves and refines the proof of `frep25519_ok` with additional tactics (`change` and `Lia.lia`), and refactors multiple function signatures to use the new named instance instead of the inline `field_representation n s c` expre... |
fiat-crypto_19bc48ea_8ecf7abc | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/End2End/X25519/MontgomeryLadder.v | proof_add | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import Crypto.Util.Decidable.
Require Import Crypto.Spec.MontgomeryCurve.
Require Import Crypto.Spec.Curve25519.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Syntax.
Require Import bedrock2Examples.m... | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import Crypto.Util.Decidable.
Require Import Crypto.Spec.MontgomeryCurve.
Require Import Crypto.Spec.Curve25519.
Require Import Crypto.Bedrock.Specs.Field.
Require Import bedrock2.Map.Separation.
Require Import bedrock... | [] | diff --git a/src/Bedrock/End2End/X25519/MontgomeryLadder.v b/src/Bedrock/End2End/X25519/MontgomeryLadder.v
index dd311bc6f..469ab22d5 100644
--- a/src/Bedrock/End2End/X25519/MontgomeryLadder.v
+++ b/src/Bedrock/End2End/X25519/MontgomeryLadder.v
@@ -4,6 +4,7 @@ From Coq Require Import ZArith.
Require Import Crypto.Util... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/MontgomeryLadder.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff contains substantive proof-body tactic changes (replacing `cbv [Field.FElem]; use_sep_assumption; cancel...` with `ecancel_assumption_impl`, simplifying separation logic proof steps, removing intermediate `seprewrite_in` calls, and adjusting hypothesis references), changes to instance declarations (`Local Exis... |
fiat-crypto_19bc48ea_0309e5a8 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Field/Interface/Compilation2.v | proof_add | Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Alloc.
Require Import Crypto.Bedrock.Specs.Field.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Local Open Scope Z_scope.
Section Compile.
Context {width: Z} {BW: Bitwidth width} {word: word.word width} {mem: map.map word Byte.byte}.
Context {loca... | Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Alloc.
Require Import Crypto.Bedrock.Specs.Field.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Local Open Scope Z_scope.
Import bedrock2.Memory.
Section Compile.
Context {width: Z} {BW: Bitwidth width} {word: word.word width} {mem: map.map word Byt... | [] | diff --git a/src/Bedrock/Field/Interface/Compilation2.v b/src/Bedrock/Field/Interface/Compilation2.v
index c666a029b..067a868fe 100644
--- a/src/Bedrock/Field/Interface/Compilation2.v
+++ b/src/Bedrock/Field/Interface/Compilation2.v
@@ -3,6 +3,7 @@ Require Import Rupicola.Lib.Alloc.
Require Import Crypto.Bedrock.Specs... | Write or extend the proof(s) in src/Bedrock/Field/Interface/Compilation2.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof engineering changes: renamed lemmas (`FElem'_from_bytes` → `FElem'_iff_bytes`), new lemma `FElem'_to_bytes`, modified proof bodies with different tactic sequences and helper lemmas, signature changes (e.g., `Lift1Prop.ex1` wrapping in `FElem'_iff_bytes`), addition of `Import bedrock... |
fiat-crypto_19bc48ea_2d35ae95 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Field/Interface/Representation.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import List.
From Coq Require Import Lia.
Require Import coqutil.Byte.
Require Import coqutil.Word.Interface.
Require Import bedrock2.Semantics.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.Arithmetic.PrimeFieldThe... | From Coq Require Import ZArith.
From Coq Require Import List.
From Coq Require Import Lia.
Require Import coqutil.Byte.
Require Import coqutil.Word.Interface.
Require Import bedrock2.Semantics.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.Arithmetic.PrimeFieldThe... | [] | diff --git a/src/Bedrock/Field/Interface/Representation.v b/src/Bedrock/Field/Interface/Representation.v
index 6d71f646c..c1770c7c7 100644
--- a/src/Bedrock/Field/Interface/Representation.v
+++ b/src/Bedrock/Field/Interface/Representation.v
@@ -34,7 +34,6 @@ Section Representation.
and for word-by-word Mon... | Write or extend the proof(s) in src/Bedrock/Field/Interface/Representation.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds a substantive context assumption (`felem_size_ok`) and extends the proof body of `frep_ok` with an additional proof goal (`apply felem_size_ok`), which is a real proof-engineering change that modifies the logical content and completeness of the theorem. |
fiat-crypto_19bc48ea_0f06093e | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Field/Synthesis/Examples/p224_64_new.v | proof_add | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Interface.Representation.
Require Import Crypto.Bedrock.Field.Synthesis.New.ComputedOp.
Require Import Crypto.Bedrock.Field.Synthesis.New... | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Interface.Representation.
Require Import Crypto.Bedrock.Field.Synthesis.New.ComputedOp.
Require Import Crypto.Bedrock.Field.Synthesis.New... | [] | diff --git a/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v b/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v
index 90cb31fe0..ac53f11c8 100644
--- a/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v
+++ b/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v
@@ -49,6 +49,23 @@ Section Field.
Instance p224_ops ... | Write or extend the proof(s) in src/Bedrock/Field/Synthesis/Examples/p224_64_new.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof engineering: it adds new instance definitions (`frep224`, `frep224_raw`, `frep224_ok`, `frep224_raw_ok`) with non-trivial proofs, adds tactic branches to handle preconditions (`felem_size_in_bytes <= 2 ^ _`), updates instance references throughout the file (an API migration pattern)... |
fiat-crypto_19bc48ea_a99667d8 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Field/Synthesis/Generic/Bignum.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import List.
From Coq Require Import Lia.
Require Import coqutil.Datatypes.List.
Require Import bedrock2.Array.
Require Import bedrock2.Scalars.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import coqutil.Word.Interface.
Re... | From Coq Require Import ZArith.
From Coq Require Import List.
From Coq Require Import Lia.
Require Import coqutil.Datatypes.List.
Require Import bedrock2.Array.
Require Import bedrock2.ArrayCasts.
Require Import bedrock2.Scalars.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Requi... | [] | diff --git a/src/Bedrock/Field/Synthesis/Generic/Bignum.v b/src/Bedrock/Field/Synthesis/Generic/Bignum.v
index f92c1fe5d..49aea1b61 100644
--- a/src/Bedrock/Field/Synthesis/Generic/Bignum.v
+++ b/src/Bedrock/Field/Synthesis/Generic/Bignum.v
@@ -3,6 +3,7 @@ From Coq Require Import List.
From Coq Require Import Lia.
Re... | Write or extend the proof(s) in src/Bedrock/Field/Synthesis/Generic/Bignum.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff is substantive proof engineering work: it removes a local notation `k`, refactors lemma proofs `Bignum_of_bytes` and `Bignum_to_bytes` to use new helper functions (`bs2ws`, `ws2bs`, `words_of_bytes`, `bytes_of_words`), adds an import (`bedrock2.ArrayCasts`), changes the `Bignum` definition to inline `bytes_pe... |
fiat-crypto_19bc48ea_231285ef | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Field/Synthesis/New/Signature.v | proof_add | Require Rupicola.Lib.Tactics.
From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List. (* after strings *)
From Coq Require Import QArith.
From Coq Require Import ZArith.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.Progra... | Require Rupicola.Lib.Tactics.
From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List. (* after strings *)
From Coq Require Import QArith.
From Coq Require Import ZArith.
Require Import bedrock2.ArrayCasts.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationL... | [] | diff --git a/src/Bedrock/Field/Synthesis/New/Signature.v b/src/Bedrock/Field/Synthesis/New/Signature.v
index fea39bc26..732044d4c 100644
--- a/src/Bedrock/Field/Synthesis/New/Signature.v
+++ b/src/Bedrock/Field/Synthesis/New/Signature.v
@@ -4,10 +4,12 @@ From Coq Require Import String.
From Coq Require Import List. (*... | Write or extend the proof(s) in src/Bedrock/Field/Synthesis/New/Signature.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive proof engineering change that adds a new precondition `felem_size_ok : felem_size_in_bytes <= 2 ^ width`, updates proof-body tactics (notably changing `solve_length out ...` to use `bs2ws` word-conversion operations and adding `seprewrite_in` calls), and modifies function signatures and their `Pro... |
fiat-crypto_19bc48ea_49b09413 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v | proof_add | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import bedrock2.Syntax.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Spec.ModularArithmetic.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Import Crypto.Bedrock.Specs.Field.
Requir... | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import bedrock2.Syntax.
Require Import coqutil.Map.Interface.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Spec.ModularArithmetic.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Imp... | [] | diff --git a/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v b/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v
index 6cb01f6b3..aa4e886f2 100644
--- a/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v
+++ b/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v
@@ -2,6 +2,7 @@ From Coq Require Import String.... | Write or extend the proof(s) in src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive proof engineering change: it adds a new context hypothesis `felem_size_ok`, updates multiple `Proof using` declarations to include this new hypothesis across 8+ lemmas, adds a `Local Open Scope` declaration, includes a new import, and extends a proof-automation tactic with a new case — all genuine... |
fiat-crypto_19bc48ea_ecac4487 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v | proof_add | From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import bedrock2.Syntax.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Spec.ModularArithmetic.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Import Crypt... | From Coq Require Import Lia.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
Require Import bedrock2.Syntax.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Spec.ModularArithmetic.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Import Crypt... | [] | diff --git a/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v b/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v
index 74b89d035..8205b52c6 100644
--- a/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v
+++ b/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v
@@ -214,6 +214,8 @@ Section WordByWordM... | Write or extend the proof(s) in src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds a new context hypothesis (`felem_size_ok`), updates proof-using clauses to include it, and modifies one proof tactic argument (`bit_range_eq` application), all substantive proof-body changes; the removal of a comment is incidental to the real proof engineering work. |
fiat-crypto_19bc48ea_ad91c76f | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Secp256k1/Addchain.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | [] | diff --git a/src/Bedrock/Secp256k1/Addchain.v b/src/Bedrock/Secp256k1/Addchain.v
index 10259d229..74068b972 100644
--- a/src/Bedrock/Secp256k1/Addchain.v
+++ b/src/Bedrock/Secp256k1/Addchain.v
@@ -16,7 +16,6 @@ Require Import coqutil.Map.Interface.
Require Import coqutil.Map.Properties.
Require Import coqutil.Map.OfL... | Write or extend the proof(s) in src/Bedrock/Secp256k1/Addchain.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive changes to proof engineering infrastructure: removing unnecessary imports, changing instance declarations from explicit construction to existing references, updating tactical calls (`ecancel_assumption` → `ecancel_assumption_impl`), modifying notation definitions and function signatures (... |
fiat-crypto_19bc48ea_fbb09f48 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Secp256k1/Field256k1.v | proof_add | Require Import Coq.Strings.String.
Require Import Coq.Lists.List.
Require Import Coq.ZArith.ZArith.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Interface.Representation.
Require Import Crypto.Bedrock.Field.Synthesis.New.ComputedOp.
Require Import Crypto.Bedrock.Field.Synthes... | Require Import Coq.Strings.String.
Require Import Coq.Lists.List.
Require Import Coq.ZArith.ZArith.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Interface.Representation.
Require Import Crypto.Bedrock.Field.Synthesis.New.ComputedOp.
Require Import Crypto.Bedrock.Field.Synthes... | [] | diff --git a/src/Bedrock/Secp256k1/Field256k1.v b/src/Bedrock/Secp256k1/Field256k1.v
index e2e2ef8c5..157df28d0 100644
--- a/src/Bedrock/Secp256k1/Field256k1.v
+++ b/src/Bedrock/Secp256k1/Field256k1.v
@@ -30,6 +30,8 @@ Section Field.
M ((a + F.of_Z _ 2) / F.of_Z _ 4)%F prefix).
Defined.
+ #[export] Inst... | Write or extend the proof(s) in src/Bedrock/Secp256k1/Field256k1.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof engineering: (1) adds two new exported instances (`frep256k1` and `frep256k1_raw`) with real proof bodies, (2) adds a new instance `frep256k1_raw_ok` with a complete proof including `lia` reasoning, (3) modifies an existing instance proof (`frep256k1_ok`) by adding `lia` reasoning, ... |
fiat-crypto_19bc48ea_9b159788 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Secp256k1/JacobianCoZ.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | [] | diff --git a/src/Bedrock/Secp256k1/JacobianCoZ.v b/src/Bedrock/Secp256k1/JacobianCoZ.v
index cd17f0aba..da130b2bf 100644
--- a/src/Bedrock/Secp256k1/JacobianCoZ.v
+++ b/src/Bedrock/Secp256k1/JacobianCoZ.v
@@ -25,7 +25,6 @@ Require Import Coq.Lists.List.
Require Import Coq.Strings.String.
Require Import Coq.ZArith.ZAr... | Write or extend the proof(s) in src/Bedrock/Secp256k1/JacobianCoZ.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff contains meaningful proof changes (replacing detailed multi-step tactic sequences with `repeat single_step`, changing `ecancel_assumption` to `ecancel_assumption_impl`, and converting a `Local Instance` definition to `Local Existing Instance`), which are substantive proof-body edits. However, the removal of an... |
fiat-crypto_19bc48ea_d47b7a5f | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Secp256k1/JoyeLadder.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | [] | diff --git a/src/Bedrock/Secp256k1/JoyeLadder.v b/src/Bedrock/Secp256k1/JoyeLadder.v
index f490ab479..838401207 100644
--- a/src/Bedrock/Secp256k1/JoyeLadder.v
+++ b/src/Bedrock/Secp256k1/JoyeLadder.v
@@ -25,7 +25,6 @@ Require Import Coq.Lists.List.
Require Import Coq.Strings.String.
Require Import Coq.ZArith.ZArith.... | Write or extend the proof(s) in src/Bedrock/Secp256k1/JoyeLadder.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof-body tactic changes (replacing `ecancel_assumption` with `ecancel_assumption_impl`, changing `cancel_seps_at_indices` orderings, removing redundant lines, adding `fold FElem`, removing bounds-solving tactics), identifier renames (`Field.FElem` → `FElem`, `JacobianCoZ.frep256k1` → `f... |
fiat-crypto_19bc48ea_9e886374 | fiat-crypto | coq | 19bc48ea724fbf823968b05c95fdfd2bb3ff7b07 | de603ed57c2a296ec72c6946263e201bc317c97c | Field ops with map.of_list_word_at precondition | src/Bedrock/Specs/Field.v | proof_add | Require Import coqutil.Byte coqutil.Word.LittleEndianList.
Require Import Rupicola.Lib.Api.
Require Import Crypto.Algebra.Hierarchy.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Synthesis.Generic.Bignum.
Require Import Crypto.Bedrock.Field.Common.Arrays.MaxBounds.
Require Imp... | Require Import coqutil.Byte coqutil.Word.LittleEndianList.
Require Import Rupicola.Lib.Api.
Require Import Crypto.Algebra.Hierarchy.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Synthesis.Generic.Bignum.
Require Import Crypto.Bedrock.Field.Common.Arrays.MaxBounds.
Require Imp... | [] | diff --git a/src/Bedrock/Specs/Field.v b/src/Bedrock/Specs/Field.v
index 1ccfcbddf..765bc44ad 100644
--- a/src/Bedrock/Specs/Field.v
+++ b/src/Bedrock/Specs/Field.v
@@ -61,11 +61,12 @@ Class FieldRepresentation
}.
Definition Placeholder
- {field_parameters : FieldParameters}
- {width: Z} {BW: ... | Write or extend the proof(s) in src/Bedrock/Specs/Field.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive proof engineering change that modifies the definition of `Placeholder` (adding a `bs` parameter and changing its body), updates multiple function specs to use the new `Placeholder` signature, removes an entire section of lemmas, and adds new lemma proofs (`Placeholder_impl_FElem_bytes`, `FElem_imp... |
fiat-crypto_9f76415d_db0127ee | fiat-crypto | coq | 9f76415da14c0094798c34c20ebd0a2eee548d26 | 9dfe9bee6d31449ea59f3a3a9fa689fa9ff87480 | add bedrock2 code for P256 Jacobian add and double (#2106) | src/Bedrock/P256.v | proof_add | From Crypto.Bedrock.P256 Require Import Specs Platform Coord Jacobian.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
ZArith.BinInt
BinInt BinNat Init.Byte
PrimeFieldTheorems ModInv
micromega.Lia
coqutil.Byte
Lists.List micromega.Lia
Ja... | [] | diff --git a/src/Bedrock/P256.v b/src/Bedrock/P256.v
new file mode 100644
index 000000000..7340b79f1
--- /dev/null
+++ b/src/Bedrock/P256.v
@@ -0,0 +1,147 @@
+From Crypto.Bedrock.P256 Require Import Specs Platform Coord Jacobian.
+
+Import Specs.NotationsCustomEntry Specs.coord Specs.point.
+
+Import bedrock2.Syntax be... | Write the proof content for the declarations in src/Bedrock/P256.v. | accept | claude-haiku-4-5 | This is a new file with substantive proof content (a `Lemma` with a real proof body using `pose_correctness` tactics and multiple function specifications), plus real definitions (`platform`, `libc`, `jacobian`, `funcs`, and a custom `Ltac`), making it clearly substantive proof engineering work despite containing some d... | |
fiat-crypto_9f76415d_090f6385 | fiat-crypto | coq | 9f76415da14c0094798c34c20ebd0a2eee548d26 | 9dfe9bee6d31449ea59f3a3a9fa689fa9ff87480 | add bedrock2 code for P256 Jacobian add and double (#2106) | src/Bedrock/P256/Coord.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Require Import Bedrock.P256.Platform.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
ZArith.BinInt
BinInt BinNat Init.Byte
PrimeFieldTheorems ModIn... | [] | diff --git a/src/Bedrock/P256/Coord.v b/src/Bedrock/P256/Coord.v
new file mode 100644
index 000000000..54ba4dba5
--- /dev/null
+++ b/src/Bedrock/P256/Coord.v
@@ -0,0 +1,388 @@
+Require Import coqutil.Datatypes.List Coq.Lists.List.
+Require Import Bedrock.P256.Specs.
+Require Import Bedrock.P256.Platform.
+
+Import Spec... | Write the proof content for the declarations in src/Bedrock/P256/Coord.v. | accept | claude-haiku-4-5 | This is a new file with substantive proof content (bedrock2 function definitions and their correctness proofs), including non-trivial lemmas like `fiat_coord_nonzero_ok` and `u256_shr_ok` with real proof-body tactics; the imports-only section at the top does not override the substantial proof engineering present throug... | |
fiat-crypto_9f76415d_b27a3bb4 | fiat-crypto | coq | 9f76415da14c0094798c34c20ebd0a2eee548d26 | 9dfe9bee6d31449ea59f3a3a9fa689fa9ff87480 | add bedrock2 code for P256 Jacobian add and double (#2106) | src/Bedrock/P256/Coord32.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Require Import Bedrock.P256.Platform.
Import bedrock2.NotationsCustomEntry Specs.NotationsCustomEntry.
Import bedrock2Examples.shrd.
Definition p256_coord_nonzero := func! (p_x) ~> nz {
nz = load(p_x) | load(p_x.+$4) | load(p_x.... | [] | diff --git a/src/Bedrock/P256/Coord32.v b/src/Bedrock/P256/Coord32.v
new file mode 100644
index 000000000..eff7d880a
--- /dev/null
+++ b/src/Bedrock/P256/Coord32.v
@@ -0,0 +1,295 @@
+Require Import coqutil.Datatypes.List Coq.Lists.List.
+Require Import Bedrock.P256.Specs.
+Require Import Bedrock.P256.Platform.
+Import ... | Write the proof content for the declarations in src/Bedrock/P256/Coord32.v. | accept | claude-haiku-4-5 | This is a new file with substantive Bedrock2 code definitions and proofs (functions `p256_coord_nonzero`, `u256_shr`, `u256_set_p256_minushalf_conditional` with real proof bodies using tactics like `straightline`, `cbv`, and lemmas like `fiat_coord_nonzero_ok`), which constitutes real proof engineering work and should ... | |
fiat-crypto_9f76415d_2600b78a | fiat-crypto | coq | 9f76415da14c0094798c34c20ebd0a2eee548d26 | 9dfe9bee6d31449ea59f3a3a9fa689fa9ff87480 | add bedrock2 code for P256 Jacobian add and double (#2106) | src/Bedrock/P256/Jacobian.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
Require Import Bedrock.P256.Specs.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
Crypto.Util.ZUtil.Modulo Zdiv ZArith BinInt
BinInt BinNat Init.Byte
PrimeFieldTheorems ModInv
microm... | [] | diff --git a/src/Bedrock/P256/Jacobian.v b/src/Bedrock/P256/Jacobian.v
new file mode 100644
index 000000000..ff8441ecc
--- /dev/null
+++ b/src/Bedrock/P256/Jacobian.v
@@ -0,0 +1,635 @@
+Require Import coqutil.Datatypes.List Coq.Lists.List.
+Require Import Bedrock.P256.Specs.
+
+Import Specs.NotationsCustomEntry Specs.c... | Write the proof content for the declarations in src/Bedrock/P256/Jacobian.v. | accept | claude-haiku-4-5 | This is a new file containing substantive Bedrock2/Coq proof engineering: real function definitions with bedrock2 syntax (e.g., `func!`, `stackalloc`, `unpack!`), lemma proofs with complex tactic sequences including `straightline`, `seprewrite_in_by`, separation logic reasoning, and arithmetic/field-theoretic arguments... | |
fiat-crypto_9f76415d_88e3a68e | fiat-crypto | coq | 9f76415da14c0094798c34c20ebd0a2eee548d26 | 9dfe9bee6d31449ea59f3a3a9fa689fa9ff87480 | add bedrock2 code for P256 Jacobian add and double (#2106) | src/Bedrock/P256/Platform.v | proof_add | Require Import Bedrock.P256.Specs.
Import Specs.NotationsCustomEntry Specs.coord Specs.point.
Import bedrock2.Syntax bedrock2.NotationsCustomEntry
LittleEndianList
ZArith.BinInt
BinInt BinNat Init.Byte
PrimeFieldTheorems ModInv
micromega.Lia
coqutil.Byte
Lists.List micromega.Lia
Jacobian
Coq.Strings.String Coq.Lists.... | [] | diff --git a/src/Bedrock/P256/Platform.v b/src/Bedrock/P256/Platform.v
new file mode 100644
index 000000000..01e471c89
--- /dev/null
+++ b/src/Bedrock/P256/Platform.v
@@ -0,0 +1,180 @@
+Require Import Bedrock.P256.Specs.
+
+Import Specs.NotationsCustomEntry Specs.coord Specs.point.
+
+Import bedrock2.Syntax bedrock2.No... | Write the proof content for the declarations in src/Bedrock/P256/Platform.v. | accept | claude-haiku-4-5 | This is a new file with substantive bedrock2 code definitions (functions like `br_value_barrier`, `br_cmov`, `br_memset`) and their Coq proofs, including several complete proof tactics (`straightline`, `cbv`, word-reasoning lemmas) and two `Admitted` placeholders representing real proof obligations—clear proof engineer... | |
fiat-crypto_9f76415d_8f2ed000 | fiat-crypto | coq | 9f76415da14c0094798c34c20ebd0a2eee548d26 | 9dfe9bee6d31449ea59f3a3a9fa689fa9ff87480 | add bedrock2 code for P256 Jacobian add and double (#2106) | src/Bedrock/P256/Specs.v | proof_add | Require Import coqutil.Datatypes.List Coq.Lists.List.
From bedrock2 Require Import Syntax NotationsCustomEntry.
From coqutil Require Import LittleEndianList.
Import BinInt.
Local Open Scope Z_scope.
Module Import List.
Import Lists.List ListNotations PeanoNat micromega.Lia.
Local Open Scope nat_scope.
Lemma c... | [] | diff --git a/src/Bedrock/P256/Specs.v b/src/Bedrock/P256/Specs.v
new file mode 100644
index 000000000..64ad79330
--- /dev/null
+++ b/src/Bedrock/P256/Specs.v
@@ -0,0 +1,393 @@
+Require Import coqutil.Datatypes.List Coq.Lists.List.
+From bedrock2 Require Import Syntax NotationsCustomEntry.
+
+From coqutil Require Import... | Write the proof content for the declarations in src/Bedrock/P256/Specs.v. | accept | claude-haiku-4-5 | This is a newly added file with substantial specification and proof engineering content—multiple lemmas with real proofs (e.g., `cons_hd_tl`, `tl_chunk`, `firstn_le_split`, `le_combine_app`), definitions of cryptographic primitives (P256, Jacobian point operations), and bedrock2 program specifications with Hoare logic—... | |
fiat-crypto_9f76415d_80a17be6 | fiat-crypto | coq | 9f76415da14c0094798c34c20ebd0a2eee548d26 | 9dfe9bee6d31449ea59f3a3a9fa689fa9ff87480 | add bedrock2 code for P256 Jacobian add and double (#2106) | src/Bedrock/Secp256k1/Field256k1.v | proof_add | Require Import Coq.Strings.String.
Require Import Coq.Lists.List.
Require Import Coq.ZArith.ZArith.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Interface.Representation.
Require Import Crypto.Bedrock.Field.Synthesis.New.ComputedOp.
Require Import Crypto.Bedrock.Field.Synthes... | Require Import Coq.Strings.String.
Require Import Coq.Lists.List.
Require Import Coq.ZArith.ZArith.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Bedrock.Field.Interface.Representation.
Require Import Crypto.Bedrock.Field.Synthesis.New.ComputedOp.
Require Import Crypto.Bedrock.Field.Synthes... | [] | diff --git a/src/Bedrock/Secp256k1/Field256k1.v b/src/Bedrock/Secp256k1/Field256k1.v
index 9c66ae0c6..e2e2ef8c5 100644
--- a/src/Bedrock/Secp256k1/Field256k1.v
+++ b/src/Bedrock/Secp256k1/Field256k1.v
@@ -7,6 +7,7 @@ Require Import Crypto.Bedrock.Field.Synthesis.New.ComputedOp.
Require Import Crypto.Bedrock.Field.Synt... | Write or extend the proof(s) in src/Bedrock/Secp256k1/Field256k1.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff is primarily an import reorganization (removing a duplicate `Import BasicC64Semantics` and consolidating instance declarations into `Local Existing Instances`), which are mostly non-substantive formatting/import changes; however, the change from `Existing Instances Bitwidth64.BW64 Defaults64.default_parameters... |
fiat-crypto_9f76415d_03aca1cf | fiat-crypto | coq | 9f76415da14c0094798c34c20ebd0a2eee548d26 | 9dfe9bee6d31449ea59f3a3a9fa689fa9ff87480 | add bedrock2 code for P256 Jacobian add and double (#2106) | src/Util/ZUtil/Modulo.v | proof_add | From Coq Require Import ZArith Lia Znumtheory Zpow_facts.
Require Import Crypto.Util.ZUtil.Hints.Core.
Require Import Crypto.Util.ZUtil.ZSimplify.Core.
Require Import Crypto.Util.ZUtil.Tactics.DivModToQuotRem.
Require Import Crypto.Util.ZUtil.Tactics.LtbToLt.
Require Import Crypto.Util.ZUtil.Tactics.ReplaceNegWithPos.
... | From Coq Require Import ZArith Lia Znumtheory Zpow_facts.
Require Import Crypto.Util.ZUtil.Hints.Core.
Require Import Crypto.Util.ZUtil.ZSimplify.Core.
Require Import Crypto.Util.ZUtil.Tactics.DivModToQuotRem.
Require Import Crypto.Util.ZUtil.Tactics.LtbToLt.
Require Import Crypto.Util.ZUtil.Tactics.ReplaceNegWithPos.
... | [] | diff --git a/src/Util/ZUtil/Modulo.v b/src/Util/ZUtil/Modulo.v
index fb8ab95bc..b1bc53b8d 100644
--- a/src/Util/ZUtil/Modulo.v
+++ b/src/Util/ZUtil/Modulo.v
@@ -447,4 +447,31 @@ Module Z.
autorewrite with zsimplify.
Z.div_mod_to_quot_rem; nia.
Qed.
+
+ Lemma cong_iff_0 a b m : a mod m = b mod m <-> (a - b... | Write or extend the proof(s) in src/Util/ZUtil/Modulo.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds three substantive new lemmas (`cong_iff_0`, `cong_iff_ex`, `mod_mod_divide`) with complete proof bodies to a hand-written utility module (`src/Util/ZUtil/Modulo.v`), which is real proof engineering work and clearly belongs in an evaluation dataset. |
fiat-crypto_b577a044_ff0703a8 | fiat-crypto | coq | b577a044b5a52c7f94fb98de634b2bc402c2f2bc | 5943524b28d2b9bd09cbdd3e5b1ca0b17eb9ca63 | Reduce function definitions before goal creation | src/Bedrock/Group/AdditionChains.v | proof_add | Require Crypto.Spec.Curve25519.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Loops.
Require Import Rupicola.Lib.ControlFlow.DownTo.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Arithmetic.FLia.
Require Import Crypto.Bedrock.Specs.Field.
Require Import Crypto.Bedrock.Field.I... | Require Crypto.Spec.Curve25519.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Loops.
Require Import Rupicola.Lib.ControlFlow.DownTo.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Arithmetic.FLia.
Require Import Crypto.Bedrock.Specs.Field.
Require Import Crypto.Bedrock.Field.I... | [] | diff --git a/src/Bedrock/Group/AdditionChains.v b/src/Bedrock/Group/AdditionChains.v
index c8113b2a2..b64bd255a 100644
--- a/src/Bedrock/Group/AdditionChains.v
+++ b/src/Bedrock/Group/AdditionChains.v
@@ -625,7 +625,10 @@ Section FElems.
Require Import Crypto.Spec.Curve25519. *)
Lemma fe_inv_correct :
... | Write or extend the proof(s) in src/Bedrock/Group/AdditionChains.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff modifies the goal statement of a lemma (`fe_inv_correct`) from a compact tactic invocation (`program_logic_goal_for_function! fe25519_inv`) to an explicit logical formula, which is a substantive change to the proof's statement/specification that affects the proof body and requires proof engineering work to ad... |
fiat-crypto_b577a044_f11ad8ba | fiat-crypto | coq | b577a044b5a52c7f94fb98de634b2bc402c2f2bc | 5943524b28d2b9bd09cbdd3e5b1ca0b17eb9ca63 | Reduce function definitions before goal creation | src/Bedrock/Secp256k1/Addchain.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | [] | diff --git a/src/Bedrock/Secp256k1/Addchain.v b/src/Bedrock/Secp256k1/Addchain.v
index 32c7d92f8..10259d229 100644
--- a/src/Bedrock/Secp256k1/Addchain.v
+++ b/src/Bedrock/Secp256k1/Addchain.v
@@ -110,7 +110,7 @@ Definition secp256k1_shift x y (n: nat) :=
i = i + $1
... | Write or extend the proof(s) in src/Bedrock/Secp256k1/Addchain.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive change to the definition of `secp256k1_inv`—it adds an `Eval cbv in` reduction directive that alters how the function is elaborated and reduced before proof obligations are created, which is a legitimate proof-engineering tactic for managing computational complexity in Bedrock code; it's not mere ... |
fiat-crypto_b577a044_23ff18bd | fiat-crypto | coq | b577a044b5a52c7f94fb98de634b2bc402c2f2bc | 5943524b28d2b9bd09cbdd3e5b1ca0b17eb9ca63 | Reduce function definitions before goal creation | src/Bedrock/Secp256k1/JoyeLadder.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | Require Import bedrock2.Array.
Require Import bedrock2.BasicC64Semantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Impor... | [] | diff --git a/src/Bedrock/Secp256k1/JoyeLadder.v b/src/Bedrock/Secp256k1/JoyeLadder.v
index 09c662100..f490ab479 100644
--- a/src/Bedrock/Secp256k1/JoyeLadder.v
+++ b/src/Bedrock/Secp256k1/JoyeLadder.v
@@ -49,45 +49,6 @@ Local Existing Instance field_parameters.
Local Instance frep256k1 : Field.FieldRepresentation := f... | Write or extend the proof(s) in src/Bedrock/Secp256k1/JoyeLadder.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff moves the `secp256k1_laddermul` definition from module-external scope into a `Section WithParameters` context where it can use the section variables (including `scalarbitsz`), and updates a lemma statement and function reference accordingly—this is a substantive restructuring of definition scope and proof-con... |
fiat-crypto_95975dcf_9dc33d1f | fiat-crypto | coq | 95975dcf1b71e7f520a501cb0a9a73e35bdb30df | 6880b0ad9eeffc5556095bfb259eee6c4f163b44 | Ed25519: Point-based programs and separation logic | src/Bedrock/End2End/X25519/EdwardsXYZT.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | [] | diff --git a/src/Bedrock/End2End/X25519/EdwardsXYZT.v b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
index 099290b3c..332d34d1c 100644
--- a/src/Bedrock/End2End/X25519/EdwardsXYZT.v
+++ b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
@@ -54,96 +54,113 @@ Local Existing Instance field_parameters.
Local Instance frep25519 : Fiel... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/EdwardsXYZT.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive changes to proof/program definitions: it refactors function signatures (e.g., `add_precomputed` from 13 parameters to 3 named-point parameters), introduces member-access Notations for struct-like point manipulation, clarifies documentation, and renames identifiers throughout from lowercase (... |
fiat-crypto_2cd9892d_abdb6595 | fiat-crypto | coq | 2cd9892da7b5a3c64e534dcb15eb126973b5dc37 | b12a4a96537c6a4c5ecc6cdea2ff31d885c4730c | Add sigma types to precomputed points | src/Bedrock/End2End/X25519/EdwardsXYZT.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | [] | diff --git a/src/Bedrock/End2End/X25519/EdwardsXYZT.v b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
index 9edb899d7..099290b3c 100644
--- a/src/Bedrock/End2End/X25519/EdwardsXYZT.v
+++ b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
@@ -37,6 +37,7 @@ Require Import Crypto.Bedrock.End2End.X25519.Field25519.
Require Import Cryp... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/EdwardsXYZT.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive proof engineering change adding sigma types to precomputed points: it extends the function specification with new parameters (`p : point` and `c : precomputed_point`), updates the requires/ensures conditions to use `coordinates` and `precomputed_coordinates` accessors, modifies proof tactics (`laz... |
fiat-crypto_2cd9892d_beceff89 | fiat-crypto | coq | 2cd9892da7b5a3c64e534dcb15eb126973b5dc37 | b12a4a96537c6a4c5ecc6cdea2ff31d885c4730c | Add sigma types to precomputed points | src/Curves/Edwards/XYZT/Precomputed.v | proof_add | Require Import Crypto.Util.Decidable Crypto.Util.Notations Crypto.Algebra.Hierarchy.
Require Import Crypto.Spec.CompleteEdwardsCurve Crypto.Curves.Edwards.XYZT.Basic.
From Coq Require Import Morphisms.
Require Import Crypto.Util.Tactics.DestructHead.
Require Import Crypto.Util.Tactics.BreakMatch.
Require Import Crypt... | Require Import Crypto.Util.Decidable Crypto.Util.Notations Crypto.Algebra.Hierarchy.
Require Import Crypto.Spec.CompleteEdwardsCurve Crypto.Curves.Edwards.XYZT.Basic.
From Coq Require Import Morphisms.
Require Import Crypto.Util.Tactics.DestructHead.
Require Import Crypto.Util.Tactics.BreakMatch.
Require Import Crypt... | [] | diff --git a/src/Curves/Edwards/XYZT/Precomputed.v b/src/Curves/Edwards/XYZT/Precomputed.v
index f4389bcd4..d65eeacaa 100644
--- a/src/Curves/Edwards/XYZT/Precomputed.v
+++ b/src/Curves/Edwards/XYZT/Precomputed.v
@@ -25,56 +25,109 @@ Section ExtendedCoordinates.
{square_a : exists sqrt_a, sqrt_a^2 = a}
... | Write or extend the proof(s) in src/Curves/Edwards/XYZT/Precomputed.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive proof engineering changes—introducing sigma types to precomputed points, defining new functions (`precomputed_coordinates`, `eq`, `of_twisted`, `to_twisted`, `to_projective`, `from_projective`), adding instances (`Proper_*`, `Equivalence_eq`, `DecidableRel_eq`), and rewriting proof bodies (i... |
fiat-crypto_7cab950b_e662c5ed | fiat-crypto | coq | 7cab950bac9e37f398fbcb66183d1ddc9c0ea503 | 087f782c2372c08c848c2d8f5a97c469f6e2eb11 | Ed25519: Point-based separation logic for doubling | src/Bedrock/End2End/X25519/EdwardsXYZT.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | [] | diff --git a/src/Bedrock/End2End/X25519/EdwardsXYZT.v b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
index 1da63783c..9edb899d7 100644
--- a/src/Bedrock/End2End/X25519/EdwardsXYZT.v
+++ b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
@@ -21,6 +21,7 @@ From coqutil.Tactics Require Import Tactics letexists eabstract rdelta refere... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/EdwardsXYZT.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff contains substantial proof-engineering changes including redefinition of the `double` function with a new point-based interface using member-access notation, introduction of helper definitions (`point_repr`, `feval_point_repr`, `point_repr_bounded_by`), a complete rewrite of the `spec_of_double` specification ... |
fiat-crypto_a6eb6bb2_cd6f7287 | fiat-crypto | coq | a6eb6bb232d1db1126d1fbe1d0ed191d02a0dfda | 48b3a70de0376561c780fac738602f864fcb900e | Implement and prove to_cached function | src/Bedrock/End2End/X25519/EdwardsXYZT.v | proof_add | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | Require Import bedrock2.Array.
Require Import bedrock2.FE310CSemantics.
Require Import bedrock2.Loops.
Require Import bedrock2.Map.Separation.
Require Import bedrock2.Map.SeparationLogic.
Require Import bedrock2.NotationsCustomEntry.
Require Import bedrock2.ProgramLogic.
Require Import bedrock2.Scalars.
Require Import ... | [] | diff --git a/src/Bedrock/End2End/X25519/EdwardsXYZT.v b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
index 4d328882a..1da63783c 100644
--- a/src/Bedrock/End2End/X25519/EdwardsXYZT.v
+++ b/src/Bedrock/End2End/X25519/EdwardsXYZT.v
@@ -101,6 +101,17 @@ Definition double := func! (ox, oy, oz, ota, otb, X, Y, Z, Ta, Tb) {
fe... | Write or extend the proof(s) in src/Bedrock/End2End/X25519/EdwardsXYZT.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds substantive proof engineering: a new function definition (`to_cached`), new specification instance (`spec_of_to_cached`), a new lemma with a real proof body (`to_cached_ok`), new notation (`m1_prep`), and a new spec instance for `fe25519_half` and `fe25519_copy`—all involving real tactic-based proof work... |
fiat-crypto_41b6cca1_11eb8b83 | fiat-crypto | coq | 41b6cca10aaa19c554e237cfc48b45f7723875d6 | a1aa1b0ef2d6f1e4cf3761991e07c4dfdd829509 | bump coqutil | src/Assembly/WithBedrock/SymbolicProofs.v | proof_add | From Coq Require Import List.
From Coq Require Import Lia.
Require Import Crypto.Util.ZUtil.Tactics.PullPush.
From Coq Require Import NArith.
From Coq Require Import ZArith.
Require Import Crypto.Util.ZUtil.Testbit.
Require Import Crypto.AbstractInterpretation.ZRange.
Require Import Crypto.Util.ErrorT.
Import Coq.Lists... | From Coq Require Import List.
From Coq Require Import Lia.
Require Import Crypto.Util.ZUtil.Tactics.PullPush.
From Coq Require Import NArith.
From Coq Require Import ZArith.
Require Import Crypto.Util.ZUtil.Testbit.
Require Import Crypto.AbstractInterpretation.ZRange.
Require Import Crypto.Util.ErrorT.
Import Coq.Lists... | [] | diff --git a/src/Assembly/WithBedrock/SymbolicProofs.v b/src/Assembly/WithBedrock/SymbolicProofs.v
index abfc5af80..9494878e5 100644
--- a/src/Assembly/WithBedrock/SymbolicProofs.v
+++ b/src/Assembly/WithBedrock/SymbolicProofs.v
@@ -51,9 +51,6 @@ Section Memory.
Import Map.Interface Word.Interface BinInt.
Local C... | Write or extend the proof(s) in src/Assembly/WithBedrock/SymbolicProofs.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff removes three lines of dead code (a coercion definition and related setup) that are no longer needed after a coqutil dependency bump; while minor, it constitutes a real proof-engineering cleanup (removal of unused definitions) rather than pure mechanical indentation or import-only changes, making it substanti... |
fiat-crypto_087cba03_37af6c90 | fiat-crypto | coq | 087cba030e2a40fd8d9ab9fbd082e2db24eba60a | 3e85888c6caabeddaccebfbf3c3baee33ed42121 | more unary operators | src/Bedrock/Field/Translation/Expr.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import List.
Require Import bedrock2.Syntax.
Require Import Crypto.Bedrock.Field.Common.Types.
Require Import Crypto.Language.API.
Require Import Crypto.Util.ZRange.
Local Open Scope Z_scope.
Import API.Compilers.
Import Types.Notations.
Section Expr.
Context
{wi... | From Coq Require Import ZArith.
From Coq Require Import List.
Require Import bedrock2.Syntax.
Require Import Crypto.Bedrock.Field.Common.Types.
Require Import Crypto.Language.API.
Require Import Crypto.Util.ZRange.
Local Open Scope Z_scope.
Import API.Compilers.
Import Types.Notations.
Section Expr.
Context
{wi... | [] | diff --git a/src/Bedrock/Field/Translation/Expr.v b/src/Bedrock/Field/Translation/Expr.v
index 85ec714a4..ffa1a0550 100644
--- a/src/Bedrock/Field/Translation/Expr.v
+++ b/src/Bedrock/Field/Translation/Expr.v
@@ -110,7 +110,7 @@ Section Expr.
fun c x y =>
if literal_eqb x 0
then if literal_eqb y (2^w... | Write or extend the proof(s) in src/Bedrock/Field/Translation/Expr.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive proof-engineering change to a hand-written Bedrock translation file: it replaces a direct literal with an expression using a unary operator (`expr.op1 op1.opp`), which changes the semantics and structure of the generated expression term, aligning with the commit's stated goal of supporting "more u... |
fiat-crypto_087cba03_b676fe34 | fiat-crypto | coq | 087cba030e2a40fd8d9ab9fbd082e2db24eba60a | 3e85888c6caabeddaccebfbf3c3baee33ed42121 | more unary operators | src/Bedrock/Field/Translation/Proofs/Expr.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import List.
From Coq Require Import Lia.
Require Import bedrock2.Syntax.
Require Import bedrock2.WeakestPreconditionProperties.
Require Import coqutil.Word.Interface coqutil.Word.Properties.
Require Import coqutil.Map.Interface.
Require Import Crypto.CastLemmas.
Require... | From Coq Require Import ZArith.
From Coq Require Import List.
From Coq Require Import Lia.
Require Import bedrock2.Syntax.
Require Import bedrock2.WeakestPreconditionProperties.
Require Import coqutil.Word.Interface coqutil.Word.Properties.
Require Import coqutil.Map.Interface.
Require Import Crypto.CastLemmas.
Require... | [] | diff --git a/src/Bedrock/Field/Translation/Proofs/Expr.v b/src/Bedrock/Field/Translation/Proofs/Expr.v
index f92cdb2c0..1bd40f8c8 100644
--- a/src/Bedrock/Field/Translation/Proofs/Expr.v
+++ b/src/Bedrock/Field/Translation/Proofs/Expr.v
@@ -706,7 +706,7 @@ Section Expr.
equivalent_base rep.equiv rep.Z ide... | Write or extend the proof(s) in src/Bedrock/Field/Translation/Proofs/Expr.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff modifies proof-body tactics in a non-templated hand-written file (`src/Bedrock/Field/Translation/Proofs/Expr.v`), replacing `try reflexivity` with more explicit unary operator handling tactics and fixing indentation—both substantive proof engineering changes that belong in an evaluation dataset. |
fiat-crypto_087cba03_2a08bdd9 | fiat-crypto | coq | 087cba030e2a40fd8d9ab9fbd082e2db24eba60a | 3e85888c6caabeddaccebfbf3c3baee33ed42121 | more unary operators | src/Bedrock/Group/ScalarMult/CSwap.v | proof_add | From Coq.Program Require Import Tactics.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Loops.
Require Import bedrock2.Semantics.
Require Import coqutil.Word.Interface coqutil.Byte.
Local Open Scope Z_scope.
Require Import Rupicola.Lib.Arrays.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib... | From Coq.Program Require Import Tactics.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Loops.
Require Import bedrock2.Semantics.
Require Import coqutil.Word.Interface coqutil.Byte.
Local Open Scope Z_scope.
Require Import Rupicola.Lib.Arrays.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib... | [] | diff --git a/src/Bedrock/Group/ScalarMult/CSwap.v b/src/Bedrock/Group/ScalarMult/CSwap.v
index 4157c6cf5..c404d8e86 100644
--- a/src/Bedrock/Group/ScalarMult/CSwap.v
+++ b/src/Bedrock/Group/ScalarMult/CSwap.v
@@ -502,12 +502,11 @@ Section __.
Memory := m;
Locals := l;
Functions := function... | Write or extend the proof(s) in src/Bedrock/Group/ScalarMult/CSwap.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive proof-body and specification change: the implementation of `cmd.seq` is refactored from using `bopname.sub` with literal `-1` to using the unary operator `op1.not`, and the proof-tactic support is updated by removing the `apply word_not_impl` line while maintaining the core proof structure with `r... |
fiat-crypto_3e85888c_4294d4b3 | fiat-crypto | coq | 3e85888c6caabeddaccebfbf3c3baee33ed42121 | 9eb8af1324ad20332042987900fecbb33b048803 | unary operators | src/Bedrock/Field/Translation/Parameters/Defaults.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import String.
From Coq Require Import List.
Require Import coqutil.Word.Interface.
Require Import bedrock2.Syntax.
Require Import Crypto.Bedrock.Field.Common.Types.
Require Import Crypto.BoundsPipeline.
Require Import Crypto.PushButtonSynthesis.Primitives.
Require Impor... | From Coq Require Import ZArith.
From Coq Require Import String.
From Coq Require Import List.
Require Import coqutil.Word.Interface.
Require Import bedrock2.Syntax.
Require Import Crypto.Bedrock.Field.Common.Types.
Require Import Crypto.BoundsPipeline.
Require Import Crypto.PushButtonSynthesis.Primitives.
Require Impor... | [] | diff --git a/src/Bedrock/Field/Translation/Parameters/Defaults.v b/src/Bedrock/Field/Translation/Parameters/Defaults.v
index 5563b4544..e05806542 100644
--- a/src/Bedrock/Field/Translation/Parameters/Defaults.v
+++ b/src/Bedrock/Field/Translation/Parameters/Defaults.v
@@ -54,6 +54,7 @@ Section Defs.
| expr.literal... | Write or extend the proof(s) in src/Bedrock/Field/Translation/Parameters/Defaults.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive addition to the `error_free_expr` function definition: it adds a new pattern match case for unary operators (`expr.op1`), which is a real definition/specification change extending the proof-relevant function logic, not a comment, import, whitespace, or generated artifact edit. |
fiat-crypto_4f6be4b7_cb88b33c | fiat-crypto | coq | 4f6be4b747999a8a6fea9420a60bdd086edf29d2 | b4f94a230ea6d322318988724fdace4d5f0eaf69 | Enable `+fragile-hint-constr` (take 2) (#2075) | src/Arithmetic/WordByWordMontgomery.v | proof_add | From Coq Require Import ZArith Lia.
From Coq Require Import List.
Require Import Crypto.Algebra.Ring.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Freeze.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Import Crypto.Arithmetic.Partition.
Require Import Crypto.Arithmetic.P... | From Coq Require Import ZArith Lia.
From Coq Require Import List.
Require Import Crypto.Algebra.Ring.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Freeze.
Require Import Crypto.Arithmetic.ModularArithmeticTheorems.
Require Import Crypto.Arithmetic.Partition.
Require Import Crypto.Arithmetic.P... | [] | diff --git a/src/Arithmetic/WordByWordMontgomery.v b/src/Arithmetic/WordByWordMontgomery.v
index 14cdeb4e9..8a1c8ea68 100644
--- a/src/Arithmetic/WordByWordMontgomery.v
+++ b/src/Arithmetic/WordByWordMontgomery.v
@@ -202,12 +202,16 @@ Module WordByWordMontgomery.
Local Lemma r_big : r > 1.
Proof using lgr_big... | Write or extend the proof(s) in src/Arithmetic/WordByWordMontgomery.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive changes to hint declarations and adds helper definitions to work around Coq's `-fragile-hint-constr` flag behavior; the added `Local Definition`s and `Hint Extern` directives alter how the proof automation searches and applies hints, which is meaningful proof-engineering even though no tacti... |
fiat-crypto_4f6be4b7_0fea689a | fiat-crypto | coq | 4f6be4b747999a8a6fea9420a60bdd086edf29d2 | b4f94a230ea6d322318988724fdace4d5f0eaf69 | Enable `+fragile-hint-constr` (take 2) (#2075) | src/Util/FSets/FMapTrie.v | proof_add | (* Finite map library. *)
(** * FMapTrie *)
(** This module implements tries.
It follows the implementation from Coq's clib, to some extent.
*)
From Coq Require Import Bool.
From Coq Require Import List.
From Coq Require Import Orders.
From Coq Require Import OrdersEx.
From Coq Require Import FMapInterface.
From... | (* Finite map library. *)
(** * FMapTrie *)
(** This module implements tries.
It follows the implementation from Coq's clib, to some extent.
*)
From Coq Require Import Bool.
From Coq Require Import List.
From Coq Require Import Orders.
From Coq Require Import OrdersEx.
From Coq Require Import FMapInterface.
From... | [] | diff --git a/src/Util/FSets/FMapTrie.v b/src/Util/FSets/FMapTrie.v
index 9b07f41a5..9ecb1ed87 100644
--- a/src/Util/FSets/FMapTrie.v
+++ b/src/Util/FSets/FMapTrie.v
@@ -258,6 +258,80 @@ Module Import ListWSfun_gen_proofs.
Local Notation "'M'.map_o'" := M'_map_o.
Local Notation "'M'.empty_1''" := M'_empty_1'.
... | Write or extend the proof(s) in src/Util/FSets/FMapTrie.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds local definition aliases (wrapping existing definitions with primed names) and updates hint references to use the new aliased names, which is a substantive elaboration-shaping change affecting how hints and definitions are exposed to the type-class system—likely to work around fragile-hint-constr issues—... |
fiat-crypto_ebd2f082_0338f1a4 | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/AbstractInterpretation/Wf.v | proof_add | From Coq Require Import Lia.
From Coq Require Import ZArith.
From Coq Require Import Morphisms.
From Coq Require Import RelationPairs.
From Coq Require Import Relations.
Require Import Crypto.Util.ZRange.
Require Import Crypto.Util.Sum.
Require Import Crypto.Util.LetIn.
Require Import Crypto.Util.Prod.
Require Import C... | From Coq Require Import Lia.
From Coq Require Import ZArith.
From Coq Require Import Morphisms.
From Coq Require Import RelationPairs.
From Coq Require Import Relations.
Require Import Crypto.Util.ZRange.
Require Import Crypto.Util.Sum.
Require Import Crypto.Util.LetIn.
Require Import Crypto.Util.Prod.
Require Import C... | [] | diff --git a/src/AbstractInterpretation/Wf.v b/src/AbstractInterpretation/Wf.v
index 32bacd156..9cfc3a78d 100644
--- a/src/AbstractInterpretation/Wf.v
+++ b/src/AbstractInterpretation/Wf.v
@@ -157,7 +157,9 @@ Module Compilers.
destruct t; [ destruct v1, v2, Hv | ]; cbn in *; cbv [respectful]; eauto; intros; ... | Write or extend the proof(s) in src/AbstractInterpretation/Wf.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff converts fragile inline `constr:(...)` expressions in a `Local Hint Resolve` declaration into named `Local Definition`s, which is a substantive proof-engineering improvement to hint robustness; the definitions themselves are real proof content (wiring constructors), not mere mechanical generation or display d... |
fiat-crypto_ebd2f082_7ab59e21 | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/Arithmetic/BaseConversion.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import Derive.
From Coq Require Import List.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.Arithmetic.Partition.
Require Import Crypto.Arithmetic.Saturated.
Require Import Crypto.Util.LetIn.
Require Import Crypto.Ut... | From Coq Require Import ZArith.
From Coq Require Import Derive.
From Coq Require Import List.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.Arithmetic.Partition.
Require Import Crypto.Arithmetic.Saturated.
Require Import Crypto.Util.LetIn.
Require Import Crypto.Ut... | [] | diff --git a/src/Arithmetic/BaseConversion.v b/src/Arithmetic/BaseConversion.v
index b7bb07064..d58aac108 100644
--- a/src/Arithmetic/BaseConversion.v
+++ b/src/Arithmetic/BaseConversion.v
@@ -305,21 +305,32 @@ Section base_conversion_mod_ops.
Local Notation src_wprops := (@wprops src_limbwidth_num src_limbwidth_den... | Write or extend the proof(s) in src/Arithmetic/BaseConversion.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff substantively changes hint registration by converting fragile `Hint Immediate (expr)` constructs (which re-elaborate expressions every time) into named `Local Definition`s that are then hinted by reference, making hints more robust and predictable — a legitimate proof-engineering improvement to reduce brittle... |
fiat-crypto_ebd2f082_32033c14 | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/Arithmetic/Freeze.v | proof_add | From Coq Require Import ZArith Lia.
Require Import QArith_base Qround Crypto.Util.QUtil.
Require Import Crypto.Arithmetic.BaseConversion.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.Arithmetic.Partition.
Require Import Crypto.Arithmetic.Saturated.
Require Import... | From Coq Require Import ZArith Lia.
Require Import QArith_base Qround Crypto.Util.QUtil.
Require Import Crypto.Arithmetic.BaseConversion.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.Arithmetic.Partition.
Require Import Crypto.Arithmetic.Saturated.
Require Import... | [] | diff --git a/src/Arithmetic/Freeze.v b/src/Arithmetic/Freeze.v
index 5cef07fc5..6c0a45506 100644
--- a/src/Arithmetic/Freeze.v
+++ b/src/Arithmetic/Freeze.v
@@ -165,22 +165,32 @@ Section freeze_mod_ops.
Definition wprops_bytes := (@wprops 8 1 ltac:(clear; lia)).
Local Notation wprops := (@wprops limbwidth_num l... | Write or extend the proof(s) in src/Arithmetic/Freeze.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff substantively changes hint declarations and elaboration-shaping infrastructure by converting parenthesized hint constr expressions into named Local Definitions and updating hint references accordingly—a real proof-engineering change to tactic hint behavior, not whitespace or import-only edits. |
fiat-crypto_ebd2f082_0722253e | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/Arithmetic/ModOps.v | proof_add | From Coq Require Import ZArith Lia.
From Coq Require Import Derive.
Require Import QArith_base Qround Crypto.Util.QUtil.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Util.ListUtil.
Require Import Crypto.Util.ZUtil.Tactics.DivModToQuotRem.
Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo.
Requir... | From Coq Require Import ZArith Lia.
From Coq Require Import Derive.
Require Import QArith_base Qround Crypto.Util.QUtil.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Util.ListUtil.
Require Import Crypto.Util.ZUtil.Tactics.DivModToQuotRem.
Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo.
Requir... | [] | diff --git a/src/Arithmetic/ModOps.v b/src/Arithmetic/ModOps.v
index 7c3880b7f..1a08271d8 100644
--- a/src/Arithmetic/ModOps.v
+++ b/src/Arithmetic/ModOps.v
@@ -59,10 +59,15 @@ Section mod_ops.
{ t_weight_with (@pow_ceil_mul_nat_multiples 2). }
{ intros; apply Z.gt_lt. t_weight_with (@pow_ceil_mul_nat_divide ... | Write or extend the proof(s) in src/Arithmetic/ModOps.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff refactors hint declarations by extracting compound expressions into named Local Definitions before registering them as hints; while this is a mechanical improvement to hint robustness rather than a proof-body change, it represents a substantive elaboration-shaping change to hint infrastructure that affects ho... |
fiat-crypto_ebd2f082_ee9a564b | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/Bedrock/Group/AdditionChains.v | proof_add | Require Crypto.Spec.Curve25519.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Loops.
Require Import Rupicola.Lib.ControlFlow.DownTo.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Arithmetic.FLia.
Require Import Crypto.Bedrock.Specs.Field.
Require Import Crypto.Bedrock.Field.I... | Require Crypto.Spec.Curve25519.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Loops.
Require Import Rupicola.Lib.ControlFlow.DownTo.
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Arithmetic.FLia.
Require Import Crypto.Bedrock.Specs.Field.
Require Import Crypto.Bedrock.Field.I... | [] | diff --git a/src/Bedrock/Group/AdditionChains.v b/src/Bedrock/Group/AdditionChains.v
index f7529d890..dec665487 100644
--- a/src/Bedrock/Group/AdditionChains.v
+++ b/src/Bedrock/Group/AdditionChains.v
@@ -326,7 +326,7 @@ Section FElems.
End Lowering.
Section Compilation.
- Hint Resolve @relax_bounds : ... | Write or extend the proof(s) in src/Bedrock/Group/AdditionChains.v. Complete any unfinished proofs or add missing proof content. | accept | claude-sonnet-4-6 | This changes a `Hint Resolve` declaration from `@relax_bounds` (explicit universe/implicit application) to `relax_bounds` (normal application), which is a substantive elaboration-shaping change affecting how the hint is registered and applied. |
fiat-crypto_ebd2f082_33f06e8e | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/Bedrock/Group/ScalarMult/MontgomeryLadder.v | proof_add | Require Crypto.Bedrock.Group.Loops.
Require Import Crypto.Curves.Montgomery.XZ.
Require Import Crypto.Curves.Montgomery.XZProofs.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Alloc.
Require Import Rupicola.Lib.SepLocals.
Require Import Rupicola.Lib.ControlFlow.DownTo.
Require Import Crypto.Arithmetic.Pr... | Require Crypto.Bedrock.Group.Loops.
Require Import Crypto.Curves.Montgomery.XZ.
Require Import Crypto.Curves.Montgomery.XZProofs.
Require Import Rupicola.Lib.Api.
Require Import Rupicola.Lib.Alloc.
Require Import Rupicola.Lib.SepLocals.
Require Import Rupicola.Lib.ControlFlow.DownTo.
Require Import Crypto.Arithmetic.Pr... | [] | diff --git a/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v b/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v
index 8c355e16f..e888b6bca 100644
--- a/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v
+++ b/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v
@@ -168,7 +168,7 @@ Section __.
Context {field_parameters : Fiel... | Write or extend the proof(s) in src/Bedrock/Group/ScalarMult/MontgomeryLadder.v. Complete any unfinished proofs or add missing proof content. | accept | claude-sonnet-4-6 | This changes a `Hint Resolve` declaration by removing the `@` (explicit universe polymorphism/implicit argument prefix), which is a substantive elaboration-shaping change that affects how the hint is resolved. |
fiat-crypto_ebd2f082_35240bf4 | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/BYInversionReificationCache.v | proof_add | (** * Push-Button Synthesis of Bernstein-Yang Inversion: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Util.Tactics.Head.
Require Import Crypto.Util.ZUtil.Pow.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Partition.
Require Import C... | (** * Push-Button Synthesis of Bernstein-Yang Inversion: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Util.Tactics.Head.
Require Import Crypto.Util.ZUtil.Pow.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Partition.
Require Import C... | [] | diff --git a/src/PushButtonSynthesis/BYInversionReificationCache.v b/src/PushButtonSynthesis/BYInversionReificationCache.v
index 933660a0c..3b80822f5 100644
--- a/src/PushButtonSynthesis/BYInversionReificationCache.v
+++ b/src/PushButtonSynthesis/BYInversionReificationCache.v
@@ -36,12 +36,14 @@ Module Export WordByWor... | Write or extend the proof(s) in src/PushButtonSynthesis/BYInversionReificationCache.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive changes to hint declarations and their supporting definitions—introducing intermediate `Local Definition`s to extract projections from proofs, then using these named definitions in `Hint Extern`, `Hint Immediate`, and `Hint Rewrite` declarations instead of inline `proj1`/`proj2` calls. While... |
fiat-crypto_ebd2f082_c091bf3a | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/BarrettReductionReificationCache.v | proof_add | (** * Push-Button Synthesis of Barrett Reduction: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
From Coq Require Import List.
Require Import Crypto.Util.ListUtil.
Require Import Crypto.Arithmetic.BarrettReduction.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Local O... | (** * Push-Button Synthesis of Barrett Reduction: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
From Coq Require Import List.
Require Import Crypto.Util.ListUtil.
Require Import Crypto.Arithmetic.BarrettReduction.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Local O... | [] | diff --git a/src/PushButtonSynthesis/BarrettReductionReificationCache.v b/src/PushButtonSynthesis/BarrettReductionReificationCache.v
index 4e17a7a67..ed8b9ba85 100644
--- a/src/PushButtonSynthesis/BarrettReductionReificationCache.v
+++ b/src/PushButtonSynthesis/BarrettReductionReificationCache.v
@@ -20,14 +20,16 @@ Mod... | Write or extend the proof(s) in src/PushButtonSynthesis/BarrettReductionReificationCache.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive changes to proof engineering infrastructure: it introduces two new `Local Definition`s that extract projections from a proof term, then updates three hint declarations to reference these definitions instead of inline projections—a real refactoring to improve hint stability and performance (t... |
fiat-crypto_ebd2f082_f3f755c3 | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/BaseConversionReificationCache.v | proof_add | (** * Push-Button Synthesis of Unsaturated Solinas: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.BaseConversion.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Local Open Scope Z_scope.
Local Se... | (** * Push-Button Synthesis of Unsaturated Solinas: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.BaseConversion.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Local Open Scope Z_scope.
Local Se... | [] | diff --git a/src/PushButtonSynthesis/BaseConversionReificationCache.v b/src/PushButtonSynthesis/BaseConversionReificationCache.v
index aca329438..7c9eb6719 100644
--- a/src/PushButtonSynthesis/BaseConversionReificationCache.v
+++ b/src/PushButtonSynthesis/BaseConversionReificationCache.v
@@ -13,11 +13,13 @@ Module Expo... | Write or extend the proof(s) in src/PushButtonSynthesis/BaseConversionReificationCache.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff is substantive — it refactors hint declarations from using `proj1`/`proj2` function calls directly in `Hint` statements to introducing `Local Definition` wrappers, then using those definitions in the hints. This is a semantic change to how hints are constructed (eliminating fragile `constr:(...)` construction... |
fiat-crypto_ebd2f082_aaed419e | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/DettmanMultiplicationReificationCache.v | proof_add | (** * Push-Button Synthesis of Bitcoin Multiplication: Reification Cache *)
From Coq Require Import Derive.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Require Import Crypto.Arithmetic.DettmanMultiplication.
Local Set Keyed Unification. (* needed for making [autorewrite] fast, c.f. COQBUG(https://githu... | (** * Push-Button Synthesis of Bitcoin Multiplication: Reification Cache *)
From Coq Require Import Derive.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Require Import Crypto.Arithmetic.DettmanMultiplication.
Local Set Keyed Unification. (* needed for making [autorewrite] fast, c.f. COQBUG(https://githu... | [] | diff --git a/src/PushButtonSynthesis/DettmanMultiplicationReificationCache.v b/src/PushButtonSynthesis/DettmanMultiplicationReificationCache.v
index 098de2b0a..a4793387c 100644
--- a/src/PushButtonSynthesis/DettmanMultiplicationReificationCache.v
+++ b/src/PushButtonSynthesis/DettmanMultiplicationReificationCache.v
@@ ... | Write or extend the proof(s) in src/PushButtonSynthesis/DettmanMultiplicationReificationCache.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff contains substantive proof-engineering changes: it adds `Local Definition` declarations to cache projections and modifies `Hint` declarations to reference these cached definitions instead of inline `proj1`/`proj2` calls—this is a real tactic/elaboration pattern change intended to improve proof robustness and ... |
fiat-crypto_ebd2f082_5ecdca1d | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/FancyMontgomeryReductionReificationCache.v | proof_add | (** * Push-Button Synthesis of fancy mongomery reduction : Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.FancyMontgomeryReduction.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Local Open Scope Z... | (** * Push-Button Synthesis of fancy mongomery reduction : Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.FancyMontgomeryReduction.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Local Open Scope Z... | [] | diff --git a/src/PushButtonSynthesis/FancyMontgomeryReductionReificationCache.v b/src/PushButtonSynthesis/FancyMontgomeryReductionReificationCache.v
index 6025280d1..46a1c5900 100644
--- a/src/PushButtonSynthesis/FancyMontgomeryReductionReificationCache.v
+++ b/src/PushButtonSynthesis/FancyMontgomeryReductionReificatio... | Write or extend the proof(s) in src/PushButtonSynthesis/FancyMontgomeryReductionReificationCache.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive changes to the proof/hint infrastructure by extracting projections into named definitions and refactoring hint declarations to reference them directly instead of inline `proj1`/`proj2` applications—this is a real proof-engineering improvement to reduce fragility and reify-time performance, n... |
fiat-crypto_ebd2f082_e37ad93e | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/Primitives.v | proof_add | (** * Push-Button Synthesis of Primitives *)
From Coq Require Import String.
From Coq Require Import Lia.
From Coq Require Import ZArith.
From Coq Require Import MSetPositive.
From Coq Require Import List.
From Coq Require Import QArith_base Qround.
From Coq Require Import Derive.
Require Import Crypto.Util.ErrorT.
Req... | (** * Push-Button Synthesis of Primitives *)
From Coq Require Import String.
From Coq Require Import Lia.
From Coq Require Import ZArith.
From Coq Require Import MSetPositive.
From Coq Require Import List.
From Coq Require Import QArith_base Qround.
From Coq Require Import Derive.
Require Import Crypto.Util.ErrorT.
Req... | [] | diff --git a/src/PushButtonSynthesis/Primitives.v b/src/PushButtonSynthesis/Primitives.v
index 3f1cb0768..036253fc0 100644
--- a/src/PushButtonSynthesis/Primitives.v
+++ b/src/PushButtonSynthesis/Primitives.v
@@ -61,11 +61,12 @@ Local Coercion QArith_base.inject_Z : Z >-> Q.
Local Coercion Z.pos : positive >-> Z.
L... | Write or extend the proof(s) in src/PushButtonSynthesis/Primitives.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive proof engineering refactoring that replaces fragile `(proj1 ...)` and `(proj2 ...)` constr hints with named local definitions, improving hint robustness and maintainability—this counts as a real `Hint` change under the accept criterion, even though the proofs themselves (`Time cache_reify (). Time... |
fiat-crypto_ebd2f082_1efafa1a | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/SaturatedSolinasReificationCache.v | proof_add | (** * Push-Button Synthesis of Saturated Solinas: Reification Cache *)
From Coq Require Import QArith_base Qround.
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.Arithmetic.Saturated.
Require Import Cr... | (** * Push-Button Synthesis of Saturated Solinas: Reification Cache *)
From Coq Require Import QArith_base Qround.
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.Arithmetic.Saturated.
Require Import Cr... | [] | diff --git a/src/PushButtonSynthesis/SaturatedSolinasReificationCache.v b/src/PushButtonSynthesis/SaturatedSolinasReificationCache.v
index af94b1478..c58523a07 100644
--- a/src/PushButtonSynthesis/SaturatedSolinasReificationCache.v
+++ b/src/PushButtonSynthesis/SaturatedSolinasReificationCache.v
@@ -24,8 +24,9 @@ Modul... | Write or extend the proof(s) in src/PushButtonSynthesis/SaturatedSolinasReificationCache.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff changes a `Hint Immediate` declaration by introducing a named `Local Definition` wrapper around `proj2 reified_mul_gen_correct` instead of applying the projection inline; while this is a stylistic/technical adjustment to hint handling rather than a core proof-body change, it is a substantive modification to h... |
fiat-crypto_ebd2f082_ac07ec7f | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/SolinasReductionReificationCache.v | proof_add | (** * Push-Button Synthesis of Solinas Reduction: Reification Cache *)
From Coq Require Import QArith_base Qround.
From Coq Require Import Nat.
From Coq Require Import ZArith.
From Coq Require Import BinInt.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
... | (** * Push-Button Synthesis of Solinas Reduction: Reification Cache *)
From Coq Require Import QArith_base Qround.
From Coq Require Import Nat.
From Coq Require Import ZArith.
From Coq Require Import BinInt.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.ModOps.
... | [] | diff --git a/src/PushButtonSynthesis/SolinasReductionReificationCache.v b/src/PushButtonSynthesis/SolinasReductionReificationCache.v
index 2e8af8310..4423ccd89 100644
--- a/src/PushButtonSynthesis/SolinasReductionReificationCache.v
+++ b/src/PushButtonSynthesis/SolinasReductionReificationCache.v
@@ -41,16 +41,16 @@ Mod... | Write or extend the proof(s) in src/PushButtonSynthesis/SolinasReductionReificationCache.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive changes to hint declarations and introduces new `Local Definition`s to refactor hint arguments, which affects tactic elaboration behavior; while the semantic intent may remain similar, these are Ltac-relevant declaration changes (Hint Extern/Immediate modifications) that influence proof sear... |
fiat-crypto_ebd2f082_ff907c9a | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/UnsaturatedSolinasReificationCache.v | proof_add | (** * Push-Button Synthesis of Unsaturated Solinas: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Freeze.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Lo... | (** * Push-Button Synthesis of Unsaturated Solinas: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Freeze.
Require Import Crypto.Arithmetic.ModOps.
Require Import Crypto.PushButtonSynthesis.ReificationCache.
Lo... | [] | diff --git a/src/PushButtonSynthesis/UnsaturatedSolinasReificationCache.v b/src/PushButtonSynthesis/UnsaturatedSolinasReificationCache.v
index 9b412e7fa..50757b600 100644
--- a/src/PushButtonSynthesis/UnsaturatedSolinasReificationCache.v
+++ b/src/PushButtonSynthesis/UnsaturatedSolinasReificationCache.v
@@ -18,7 +18,7 ... | Write or extend the proof(s) in src/PushButtonSynthesis/UnsaturatedSolinasReificationCache.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff refactors hint declarations to use intermediate `Local Definition`s for projections instead of inline `(proj1 ...)` / `(proj2 ...)` expressions in hint patterns—a fragile-hint fix that changes how terms are elaborated and preserved in the hint database, which is a substantive proof-engineering improvement eve... |
fiat-crypto_ebd2f082_3b6698ed | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/PushButtonSynthesis/WordByWordMontgomeryReificationCache.v | proof_add | (** * Push-Button Synthesis of Word-By-Word Montgomery: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Util.Tactics.Head.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Freeze.
Require Import Crypto.Arithmetic.ModOps.
Require Import Cr... | (** * Push-Button Synthesis of Word-By-Word Montgomery: Reification Cache *)
From Coq Require Import ZArith.
From Coq Require Import Derive.
Require Import Crypto.Util.Tactics.Head.
Require Import Crypto.Arithmetic.Core.
Require Import Crypto.Arithmetic.Freeze.
Require Import Crypto.Arithmetic.ModOps.
Require Import Cr... | [] | diff --git a/src/PushButtonSynthesis/WordByWordMontgomeryReificationCache.v b/src/PushButtonSynthesis/WordByWordMontgomeryReificationCache.v
index aaca891d9..8b652127c 100644
--- a/src/PushButtonSynthesis/WordByWordMontgomeryReificationCache.v
+++ b/src/PushButtonSynthesis/WordByWordMontgomeryReificationCache.v
@@ -69,... | Write or extend the proof(s) in src/PushButtonSynthesis/WordByWordMontgomeryReificationCache.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff is substantive proof engineering that modifies hint declarations and introduces intermediate definitions to fix fragile `constr` expressions — specifically replacing `(proj1 reified_*_gen_correct)` with named local definitions `reified_*_gen_correct_proj1` throughout, plus updating Python code generation temp... |
fiat-crypto_ebd2f082_9e14e300 | fiat-crypto | coq | ebd2f08228d1e3ab7c51912b0521ba5bd5c7d760 | 0e6671b306bc1829fa3059211b7b30b393cdf43c | Attempt to fix most of the fragile hint constr | src/Util/ZUtil/Pow.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import Lia.
Require Import Crypto.Util.ZUtil.Hints.Core.
Require Import Crypto.Util.ListUtil.
Local Open Scope Z_scope.
Module Z.
Lemma base_pow_neg b n : n < 0 -> b^n = 0.
Proof.
destruct n; intro H; try reflexivity; compute in H; congruence.
Qed.
#[global]
... | From Coq Require Import ZArith.
From Coq Require Import Lia.
Require Import Crypto.Util.ZUtil.Hints.Core.
Require Import Crypto.Util.ListUtil.
Local Open Scope Z_scope.
Module Z.
Lemma base_pow_neg b n : n < 0 -> b^n = 0.
Proof.
destruct n; intro H; try reflexivity; compute in H; congruence.
Qed.
#[global]
... | [] | diff --git a/src/Util/ZUtil/Pow.v b/src/Util/ZUtil/Pow.v
index 986e7a94b..04e3f83e8 100644
--- a/src/Util/ZUtil/Pow.v
+++ b/src/Util/ZUtil/Pow.v
@@ -45,8 +45,11 @@ Module Z.
:= fun a b c y p H0 H1 => Logic.eq_sym (@Logic.eq_trans _ y _ _ (Logic.eq_sym p) (@Z.pow_sub_r a b c H0 H1)).
#[global]
Hint Resolve pow_... | Write or extend the proof(s) in src/Util/ZUtil/Pow.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff replaces fragile inline lambda expressions in a `Hint Resolve` with named local definitions (`f_equal_pow_b` and `f_equal_pow_e`), which is a proof-engineering improvement that changes elaboration behavior and tactic application; while the mathematical content is equivalent, the change to hint structure and d... |
fiat-crypto_fd88aaed_0b019cb9 | fiat-crypto | coq | fd88aaeddcaa56ab8411c8a713a33511d2f48017 | 45d582950dab83178e42d21c6a4d582a952f68e5 | Add --asm-node-reveal-depth (#2055) | src/Assembly/Symbolic.v | proof_add | Require Crypto.Assembly.Parse.
From Coq.Program Require Import Tactics.
From Coq Require Import Derive.
From Coq Require Import List.
From Coq Require Import Lia.
From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import Permutation.
From Coq Require Import Equalities.
From Coq Require Imp... | Require Crypto.Assembly.Parse.
From Coq.Program Require Import Tactics.
From Coq Require Import Derive.
From Coq Require Import List.
From Coq Require Import Lia.
From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import Permutation.
From Coq Require Import Equalities.
From Coq Require Imp... | [] | diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v
index 9d5a7dcb7..fd1fc42f1 100644
--- a/src/Assembly/Symbolic.v
+++ b/src/Assembly/Symbolic.v
@@ -404,6 +404,8 @@ Module Export Options.
Class rewriting_passes_opt := rewriting_passes : list rewrite_pass.
(** Should we symex the assembly first, even t... | Write or extend the proof(s) in src/Assembly/Symbolic.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff makes substantive changes to definitions and records in the symbolic options module (adding new class definitions, record fields, and a default constant) and modifies proof-relevant code by changing the argument to `reveal_node_at_least` in the `simplify` definition from a hardcoded `3` to a configurable opti... |
fiat-crypto_fd88aaed_cb8587ea | fiat-crypto | coq | fd88aaeddcaa56ab8411c8a713a33511d2f48017 | 45d582950dab83178e42d21c6a4d582a952f68e5 | Add --asm-node-reveal-depth (#2055) | src/CLI.v | proof_add | From Coq Require Import QArith.
From Coq Require Import ZArith.
From Coq Require Import Ascii.
From Coq Require Import List.
From Coq Require Import String.
From Coq Require Import HexString.
Require Crypto.Util.Strings.String.
Require Import Crypto.Assembly.Syntax.
Require Import Crypto.Assembly.Parse.
Require Import ... | From Coq Require Import QArith.
From Coq Require Import ZArith.
From Coq Require Import Ascii.
From Coq Require Import List.
From Coq Require Import String.
From Coq Require Import HexString.
Require Crypto.Util.Strings.String.
Require Import Crypto.Assembly.Syntax.
Require Import Crypto.Assembly.Parse.
Require Import ... | [] | diff --git a/src/CLI.v b/src/CLI.v
index fcd2ce398..e595d28b7 100644
--- a/src/CLI.v
+++ b/src/CLI.v
@@ -519,6 +519,10 @@ Module ForExtraction.
Arg.Custom (parse_string_and parse_callee_saved_registers) "REG",
["Either '" ++ show System_V_AMD64 ++ "' (indicating " ++ String.concat "," (List.map show... | Write or extend the proof(s) in src/CLI.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds a new command-line argument specification (`asm_node_reveal_depth_spec`), integrates it into the argument parsing pipeline, and adds supporting helper functions (`to_nat_list`, `to_nat_opt`, `to_nat_default`) for handling the new argument—all substantive configuration/definition additions without proof-b... |
fiat-crypto_fe2c1d01_8fd7a1a1 | fiat-crypto | coq | fe2c1d0158a20b003fad4bb88bc25b93952dd2bb | 84279c4423160353c35c836c7321bb42cc17de6d | Add opcode_size for nop so we don't get errors (#2060) | src/Assembly/Syntax.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Derive.
Require Import Crypto.Util.Prod.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.Reflect.
Require Import Crypto.Util.Listable.
Require Import C... | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Derive.
Require Import Crypto.Util.Prod.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.Reflect.
Require Import Crypto.Util.Listable.
Require Import C... | [] | diff --git a/src/Assembly/Syntax.v b/src/Assembly/Syntax.v
index a09272183..cf8158793 100644
--- a/src/Assembly/Syntax.v
+++ b/src/Assembly/Syntax.v
@@ -312,7 +312,7 @@ Definition standalone_operand_size (x : ARG) : option N :=
Definition opcode_size (op : OpCode) :=
match op with
| seto | setc => Some 8
- | re... | Write or extend the proof(s) in src/Assembly/Syntax.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive definition change to `opcode_size` that adds a case for the `nop` instruction to prevent runtime errors, which affects proof obligations downstream and is genuine proof-engineering work, not whitespace or comment-only edits. |
fiat-crypto_dc9e2094_be90ecdd | fiat-crypto | coq | dc9e2094626e3605ceed3a83509faaffd55f7356 | 298493f16748d9f4313c207e65a518d9c9906e84 | Print the node values of registers (#2056) | src/Assembly/Equivalence.v | proof_add | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
From Coq Require Import NArith.
Require Import Crypto.Assembly.Syntax.
Require Import Crypto.Assembly.Parse.
Require Import Crypto.Assembly.Symbolic.
Require Import Crypto.Util.Strings.Parse.Common.
Require Import Crypto.Util.... | From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import ZArith.
From Coq Require Import NArith.
Require Import Crypto.Assembly.Syntax.
Require Import Crypto.Assembly.Parse.
Require Import Crypto.Assembly.Symbolic.
Require Import Crypto.Util.Strings.Parse.Common.
Require Import Crypto.Util.... | [] | diff --git a/src/Assembly/Equivalence.v b/src/Assembly/Equivalence.v
index 2006770e8..b39bce197 100644
--- a/src/Assembly/Equivalence.v
+++ b/src/Assembly/Equivalence.v
@@ -421,18 +421,19 @@ Definition describe_idx_from_state
| ExprApp (old _ _, _) => true
| _ => false
... | Write or extend the proof(s) in src/Assembly/Equivalence.v. Complete any unfinished proofs or add missing proof content. | accept | claude-sonnet-4-6 | This diff modifies the body of the `describe_idx_from_state` definition, changing its pattern matching logic and string formatting in a substantive way that alters the function's behavior. |
fiat-crypto_d838e6d2_f9a29afc | fiat-crypto | coq | d838e6d20d682245c2e7aeba6db7f16c256a712c | 9cea3e5a405393f79dc6c63e10e44e8ca3bdbdfe | Move a lemma to util (#2052) | src/Assembly/WithBedrock/Proofs.v | proof_add | From Coq Require Import Permutation.
From Coq Require Import List.
From Coq Require Import Lia.
From Coq Require Import NArith.
From Coq Require Import ZArith.
From Coq Require Import Morphisms.
Require Import Crypto.Language.PreExtra.
Require Import Crypto.Language.API.
Require Import Crypto.Language.APINotations.
Req... | From Coq Require Import Permutation.
From Coq Require Import List.
From Coq Require Import Lia.
From Coq Require Import NArith.
From Coq Require Import ZArith.
From Coq Require Import Morphisms.
Require Import Crypto.Language.PreExtra.
Require Import Crypto.Language.API.
Require Import Crypto.Language.APINotations.
Req... | [] | diff --git a/src/Assembly/WithBedrock/Proofs.v b/src/Assembly/WithBedrock/Proofs.v
index ff7e9fc1f..a1adcb784 100644
--- a/src/Assembly/WithBedrock/Proofs.v
+++ b/src/Assembly/WithBedrock/Proofs.v
@@ -66,15 +66,6 @@ Local Open Scope list_scope.
(* TODO: move to global settings *)
Local Set Keyed Unification.
-Local... | Write or extend the proof(s) in src/Assembly/WithBedrock/Proofs.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff removes a local lemma definition and updates a proof to reference the lemma from elsewhere (likely a utility module), which is a substantive proof-engineering change involving identifier migration and proof-body tactic updates, not merely whitespace or mechanical artifacts. |
fiat-crypto_d838e6d2_305be0df | fiat-crypto | coq | d838e6d20d682245c2e7aeba6db7f16c256a712c | 9cea3e5a405393f79dc6c63e10e44e8ca3bdbdfe | Move a lemma to util (#2052) | src/Util/ZUtil/Land.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import Lia.
From Coq Require Import Bool.
Require Import Crypto.Util.ZUtil.Notations.
Require Import Crypto.Util.ZUtil.Definitions.
Require Import Crypto.Util.ZUtil.Hints.Core.
Require Import Crypto.Util.ZUtil.Testbit.
Local Open Scope bool_scope. Local Open Scope Z_scop... | From Coq Require Import ZArith.
From Coq Require Import Lia.
From Coq Require Import Bool.
Require Import Crypto.Util.ZUtil.Notations.
Require Import Crypto.Util.ZUtil.Definitions.
Require Import Crypto.Util.ZUtil.Hints.Core.
Require Import Crypto.Util.ZUtil.Testbit.
Local Open Scope bool_scope. Local Open Scope Z_scop... | [] | diff --git a/src/Util/ZUtil/Land.v b/src/Util/ZUtil/Land.v
index ecf4bfd41..c6df96521 100644
--- a/src/Util/ZUtil/Land.v
+++ b/src/Util/ZUtil/Land.v
@@ -67,7 +67,7 @@ Module Z.
intros. rewrite Z.sub_1_r, <- Z.ones_equiv.
apply Z.land_ones; auto with zarith.
Qed.
-
+
Lemma land_pow2_testbit a b :
a ... | Write or extend the proof(s) in src/Util/ZUtil/Land.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds a substantive new lemma `land_ones_eq_of_bounded` with a complete proof body, and fixes trailing whitespace; the new lemma is real proof engineering (definition + proof-body tactics), making this clearly ACCEPT despite the minor whitespace cleanup. |
fiat-crypto_29c1d504_d53e80a5 | fiat-crypto | coq | 29c1d50429847b85de4713a561762858dcd3b0ae | 2872ecdf8ad092fff36de8edccc545ab922ee9b2 | Add .ascii, .asciz | src/Assembly/Equality.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Morphisms.
From Coq Require Import Bool.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.
Require Import Crypto.Util.Bool.Reflect.
Require Import Crypt... | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Morphisms.
From Coq Require Import Bool.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.
Require Import Crypto.Util.Bool.Reflect.
Require Import Crypt... | [] | diff --git a/src/Assembly/Equality.v b/src/Assembly/Equality.v
index 9a4494130..8ae8893c0 100644
--- a/src/Assembly/Equality.v
+++ b/src/Assembly/Equality.v
@@ -273,6 +273,7 @@ Definition RawLine_beq (x y : RawLine) : bool
| INSTR x, INSTR y => NormalInstruction_beq x y
| ALIGN x, ALIGN y => String.eqb x y
... | Write or extend the proof(s) in src/Assembly/Equality.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds a substantive case to the `RawLine_beq` definition to handle equality comparison for a new `ASCII_` constructor, including its corresponding catch-all case, which is a real definition-body change that enables proof-relevant functionality for the new assembly directive type. |
fiat-crypto_29c1d504_b081e2e6 | fiat-crypto | coq | 29c1d50429847b85de4713a561762858dcd3b0ae | 2872ecdf8ad092fff36de8edccc545ab922ee9b2 | Add .ascii, .asciz | src/Assembly/Parse.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import Derive.
From Coq Require Import Ascii.
From Coq Require Import String.
From Coq Require Import List.
Require Import Crypto.Assembly.Syntax.
Require Import Crypto.Assembly.Equality.
Require Import Crypto.Util.OptionList.
Require Import Crypto.Util.Strings.Parse.Com... | From Coq Require Import ZArith.
From Coq Require Import Derive.
From Coq Require Import Ascii.
From Coq Require Import String.
From Coq Require Import List.
Require Import Crypto.Assembly.Syntax.
Require Import Crypto.Assembly.Equality.
Require Import Crypto.Util.OptionList.
Require Import Crypto.Util.Strings.Parse.Com... | [] | diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v
index f8e60d676..8f0570647 100644
--- a/src/Assembly/Parse.v
+++ b/src/Assembly/Parse.v
@@ -9,6 +9,7 @@ Require Import Crypto.Util.OptionList.
Require Import Crypto.Util.Strings.Parse.Common.
Require Import Crypto.Util.Strings.ParseArithmetic.
Require Import C... | Write or extend the proof(s) in src/Assembly/Parse.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds substantive new definitions (`chars_to_escape_list`, `parse_escaped_char`, `should_escape`, `escape_char`, `escape_string`, `unescape_string`) and extends existing proof-adjacent code (`parse_RawLine`, `show_RawLine`, `get_initial_data`) with real logic for parsing/showing `.ascii` and `.asciz` directive... |
fiat-crypto_29c1d504_27be3075 | fiat-crypto | coq | 29c1d50429847b85de4713a561762858dcd3b0ae | 2872ecdf8ad092fff36de8edccc545ab922ee9b2 | Add .ascii, .asciz | src/Assembly/Symbolic.v | proof_add | Require Crypto.Assembly.Parse.
From Coq.Program Require Import Tactics.
From Coq Require Import Derive.
From Coq Require Import List.
From Coq Require Import Lia.
From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import Permutation.
From Coq Require Import Equalities.
From Coq Require Imp... | Require Crypto.Assembly.Parse.
From Coq.Program Require Import Tactics.
From Coq Require Import Derive.
From Coq Require Import List.
From Coq Require Import Lia.
From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import Permutation.
From Coq Require Import Equalities.
From Coq Require Imp... | [] | diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v
index 171aefcc2..9d5a7dcb7 100644
--- a/src/Assembly/Symbolic.v
+++ b/src/Assembly/Symbolic.v
@@ -4389,6 +4389,7 @@ Definition SymexRawLine {opts : symbolic_options_computed_opt} {descr:descriptio
| EMPTY
| LABEL _
| DIRECTIVE _
+ | ASCII_ _ _
... | Write or extend the proof(s) in src/Assembly/Symbolic.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds a pattern match case (`ASCII_ _ _`) to a definition in the `SymexRawLine` function, which is a substantive change to proof/definition logic affecting control flow and pattern matching behavior, making it a genuine proof engineering modification rather than a mechanical or display-only change. |
fiat-crypto_29c1d504_d54a6405 | fiat-crypto | coq | 29c1d50429847b85de4713a561762858dcd3b0ae | 2872ecdf8ad092fff36de8edccc545ab922ee9b2 | Add .ascii, .asciz | src/Assembly/Syntax.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Derive.
Require Import Crypto.Util.Prod.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.Reflect.
Require Import Crypto.Util.Listable.
Require Import C... | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Derive.
Require Import Crypto.Util.Prod.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.Reflect.
Require Import Crypto.Util.Listable.
Require Import C... | [] | diff --git a/src/Assembly/Syntax.v b/src/Assembly/Syntax.v
index 8194fa0d3..a09272183 100644
--- a/src/Assembly/Syntax.v
+++ b/src/Assembly/Syntax.v
@@ -281,7 +281,10 @@ Inductive RawLine :=
| EMPTY
| INSTR (instr : NormalInstruction)
| DIRECTIVE (d : string)
+| ASCII_ (null_terminated : bool) (s : string)
.
+Notat... | Write or extend the proof(s) in src/Assembly/Syntax.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds a new constructor `ASCII_` to the `RawLine` inductive type and defines two notations (`ASCII` and `ASCIZ`) for it—substantive definition/type changes that extend the syntax representation, though no proof obligations are introduced and no existing proofs require modification. |
fiat-crypto_29c1d504_28e4d1af | fiat-crypto | coq | 29c1d50429847b85de4713a561762858dcd3b0ae | 2872ecdf8ad092fff36de8edccc545ab922ee9b2 | Add .ascii, .asciz | src/Assembly/WithBedrock/Semantics.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import FMapPositive.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Morphisms.
From Coq Require Import Bool.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.
Require Import Crypto.U... | From Coq Require Import ZArith.
From Coq Require Import NArith.
From Coq Require Import FMapPositive.
From Coq Require Import String.
From Coq Require Import List.
From Coq Require Import Morphisms.
From Coq Require Import Bool.
Require Import Crypto.Util.Option.
Require Import Crypto.Util.Bool.
Require Import Crypto.U... | [] | diff --git a/src/Assembly/WithBedrock/Semantics.v b/src/Assembly/WithBedrock/Semantics.v
index ba1b2e5f9..5eedb98ea 100644
--- a/src/Assembly/WithBedrock/Semantics.v
+++ b/src/Assembly/WithBedrock/Semantics.v
@@ -474,6 +474,7 @@ Definition DenoteRawLine (st : machine_state) (rawline : RawLine) : option machi
| EMPTY... | Write or extend the proof(s) in src/Assembly/WithBedrock/Semantics.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds a new pattern match case (`ASCII_ _ _`) to the `DenoteRawLine` definition, which is a substantive change to the definition body that affects how the semantics interpret assembly directives; this is real proof/definition engineering requiring understanding of the assembly language semantics. |
fiat-crypto_29c1d504_87b5635b | fiat-crypto | coq | 29c1d50429847b85de4713a561762858dcd3b0ae | 2872ecdf8ad092fff36de8edccc545ab922ee9b2 | Add .ascii, .asciz | src/Assembly/WithBedrock/SymbolicProofs.v | proof_add | From Coq Require Import List.
From Coq Require Import Lia.
Require Import Crypto.Util.ZUtil.Tactics.PullPush.
From Coq Require Import NArith.
From Coq Require Import ZArith.
Require Import Crypto.Util.ZUtil.Testbit.
Require Import Crypto.AbstractInterpretation.ZRange.
Require Import Crypto.Util.ErrorT.
Import Coq.Lists... | From Coq Require Import List.
From Coq Require Import Lia.
Require Import Crypto.Util.ZUtil.Tactics.PullPush.
From Coq Require Import NArith.
From Coq Require Import ZArith.
Require Import Crypto.Util.ZUtil.Testbit.
Require Import Crypto.AbstractInterpretation.ZRange.
Require Import Crypto.Util.ErrorT.
Import Coq.Lists... | [] | diff --git a/src/Assembly/WithBedrock/SymbolicProofs.v b/src/Assembly/WithBedrock/SymbolicProofs.v
index a367e5b74..abfc5af80 100644
--- a/src/Assembly/WithBedrock/SymbolicProofs.v
+++ b/src/Assembly/WithBedrock/SymbolicProofs.v
@@ -1374,12 +1374,12 @@ Lemma SymexLines_R {opts : symbolic_options_computed_opt} s m (HR :... | Write or extend the proof(s) in src/Assembly/WithBedrock/SymbolicProofs.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff modifies proof tactics in an existing lemma (`SymexLines_R`) in a hand-written proof file (`src/Assembly/WithBedrock/SymbolicProofs.v`), changing destructors and match-handling tactics (`destruct a` → `destruct_head' Line`, `destruct v` → `destruct_head'_prod`, adding `break_innermost_match`) and refining pat... |
fiat-crypto_29c1d504_2587e9f3 | fiat-crypto | coq | 29c1d50429847b85de4713a561762858dcd3b0ae | 2872ecdf8ad092fff36de8edccc545ab922ee9b2 | Add .ascii, .asciz | src/Util/Strings/Ascii.v | proof_add | From Coq Require Import NArith.
From Coq Require Import Ascii.
Require Import Crypto.Util.Notations.
Local Open Scope bool_scope.
Local Open Scope N_scope.
Local Open Scope char_scope.
(** Special characters *)
Example Null := "000".
Example Backspace := "008".
Example Tab := "009".
Example LF := "010".
Example NewP... | From Coq Require Import NArith.
From Coq Require Import Ascii.
Require Import Crypto.Util.Notations.
Local Open Scope bool_scope.
Local Open Scope N_scope.
Local Open Scope char_scope.
(** Special characters *)
Example Null := "000".
Example Backspace := "008".
Example Tab := "009".
Example HorizontalTab := "009".
E... | [] | diff --git a/src/Util/Strings/Ascii.v b/src/Util/Strings/Ascii.v
index b969dd9c8..2bbfa0334 100644
--- a/src/Util/Strings/Ascii.v
+++ b/src/Util/Strings/Ascii.v
@@ -11,11 +11,14 @@ Local Open Scope char_scope.
Example Null := "000".
Example Backspace := "008".
Example Tab := "009".
+Example HorizontalTab := "009".
... | Write or extend the proof(s) in src/Util/Strings/Ascii.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This diff adds new definitions (`is_printable`) and example aliases (`HorizontalTab`, `NewLine`, `VerticalTab`, `FormFeed`), which are substantive additions to the utility library, but they are trivial boilerplate with no proof obligations—the changes amount to data/specification additions rather than proof engineering... |
fiat-crypto_29c1d504_1e9d87c1 | fiat-crypto | coq | 29c1d50429847b85de4713a561762858dcd3b0ae | 2872ecdf8ad092fff36de8edccc545ab922ee9b2 | Add .ascii, .asciz | src/Util/Strings/ParseArithmetic.v | proof_add | From Coq Require Import Ascii String List.
From Coq Require Import BinNat.
From Coq Require Import QArith.
From Coq Require Import BinInt.
Require Import Crypto.Util.Option.
From Coq Require BinaryString.
From Coq Require OctalString.
From Coq Require HexString.
Require Import Crypto.Util.Strings.Decimal.
Require Impor... | From Coq Require Import Ascii String List.
From Coq Require Import BinNat.
From Coq Require Import QArith.
From Coq Require Import BinInt.
Require Import Crypto.Util.Option.
From Coq Require BinaryString.
From Coq Require OctalString.
From Coq Require HexString.
Require Import Crypto.Util.Strings.Decimal.
Require Impor... | [] | diff --git a/src/Util/Strings/ParseArithmetic.v b/src/Util/Strings/ParseArithmetic.v
index be571d1bc..a0e15b848 100644
--- a/src/Util/Strings/ParseArithmetic.v
+++ b/src/Util/Strings/ParseArithmetic.v
@@ -64,7 +64,6 @@ Definition parse_digits_gen_step (base : N) : ParserAction N
(String (a... | Write or extend the proof(s) in src/Util/Strings/ParseArithmetic.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | The diff adds substantive new definitions (`parse_N_fixed_digits`) and notations (`parse_oct_char`, `parse_hex_char`) to the file, which are real proof engineering artifacts; the blank-line removal is pure formatting and should be disregarded per the reject rules. |
fiat-crypto_70284809_75a824e2 | fiat-crypto | coq | 7028480959c19a9976e92f452c2ac4e1bff30e56 | 3029a8b14e311182bee87e78f7d008b25b1c8cdc | Strip trailing newlines from asm | src/Assembly/Parse.v | proof_add | From Coq Require Import ZArith.
From Coq Require Import Derive.
From Coq Require Import Ascii.
From Coq Require Import String.
From Coq Require Import List.
Require Import Crypto.Assembly.Syntax.
Require Import Crypto.Assembly.Equality.
Require Import Crypto.Util.OptionList.
Require Import Crypto.Util.Strings.Parse.Com... | From Coq Require Import ZArith.
From Coq Require Import Derive.
From Coq Require Import Ascii.
From Coq Require Import String.
From Coq Require Import List.
Require Import Crypto.Assembly.Syntax.
Require Import Crypto.Assembly.Equality.
Require Import Crypto.Util.OptionList.
Require Import Crypto.Util.Strings.Parse.Com... | [] | diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v
index f8e60d676..70d8ac560 100644
--- a/src/Assembly/Parse.v
+++ b/src/Assembly/Parse.v
@@ -385,10 +385,11 @@ Global Instance show_RawLine : Show RawLine
Global Instance show_Line : Show Line
:= fun l
- => l.(indent) ++ show l.(rawline) ++ l.(pre_commen... | Write or extend the proof(s) in src/Assembly/Parse.v. Complete any unfinished proofs or add missing proof content. | accept | claude-haiku-4-5 | This is a substantive proof-body/definition change: the `show_Line` instance definition is modified to wrap the existing string concatenation with a `strip_trailing_newline` function call, altering the semantic behavior of how lines are displayed. This is a real functional modification to a definition body, not a white... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.