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_6100053c_561acb31
fiat-crypto
coq
6100053cabe8cf0906401ca97f660d25e35b14d0
ee3ab4253c4ea6b4087e4a06ab71486eb34e0bc4
resolved extraction issues, bedrock fails to compile
src/PushButtonSynthesis/SolinasReductionReificationCache.v
proof_add
(** * Push-Button Synthesis of Solinas Reduction: Reification Cache *) Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Saturated. ...
(** * Push-Button Synthesis of Solinas Reduction: Reification Cache *) Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Saturated. ...
[]
diff --git a/src/PushButtonSynthesis/SolinasReductionReificationCache.v b/src/PushButtonSynthesis/SolinasReductionReificationCache.v index e83befaee..b2d63a4cb 100644 --- a/src/PushButtonSynthesis/SolinasReductionReificationCache.v +++ b/src/PushButtonSynthesis/SolinasReductionReificationCache.v @@ -14,78 +14,74 @@ Loc...
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
The diff primarily involves de-indenting code and moving `Import`/`Strategy` declarations outside a module wrapper—changes that are mostly structural/mechanical with indentation. However, the presence of a `Derive ... SuchThat ... Proof` block and substantive `Hint` directives (which are elaboration-shaping constructs)...
fiat-crypto_ee3ab425_01045583
fiat-crypto
coq
ee3ab4253c4ea6b4087e4a06ab71486eb34e0bc4
841a8faf6215c54a1fb5a9ac849e7a4231c6c36f
updated more CLI files
src/Bedrock/Standalone/StandaloneOCamlMain.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Import Crypto.CLI. Require Export Crypto.StandaloneOCamlMain. Require Import Crypto.Bedrock.Field.Stringification.Stringification. Import ListNotations. Local Open Scope string_scope. Local Open Scope list_scope. (** Needed to work around COQBUG...
Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Import Crypto.CLI. Require Export Crypto.StandaloneOCamlMain. Require Import Crypto.Bedrock.Field.Stringification.Stringification. Import ListNotations. Local Open Scope string_scope. Local Open Scope list_scope. (** Needed to work around COQBUG...
[]
diff --git a/src/Bedrock/Standalone/StandaloneOCamlMain.v b/src/Bedrock/Standalone/StandaloneOCamlMain.v index 346a0f120..456bf504e 100644 --- a/src/Bedrock/Standalone/StandaloneOCamlMain.v +++ b/src/Bedrock/Standalone/StandaloneOCamlMain.v @@ -32,6 +32,11 @@ Module Bedrock2First. := main_gen ForExtraction.Satur...
Write or extend the proof(s) in src/Bedrock/Standalone/StandaloneOCamlMain.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds two new module definitions (`SolinasReduction`) with simple `Definition main` statements that follow the established pattern in the file; while these are substantive additions to the codebase structure and represent real proof engineering scaffolding (not whitespace-only or imports-only changes), they ar...
fiat-crypto_ee3ab425_08444ede
fiat-crypto
coq
ee3ab4253c4ea6b4087e4a06ab71486eb34e0bc4
841a8faf6215c54a1fb5a9ac849e7a4231c6c36f
updated more CLI files
src/StandaloneOCamlMain.v
proof_add
Require Export Coq.extraction.Extraction. Require Export Coq.extraction.ExtrOcamlBasic. Require Export Coq.extraction.ExtrOcamlString. Require Import Coq.Lists.List. Require Import Coq.Strings.Ascii. Require Import Coq.Strings.String. Require Crypto.Util.Strings.String. Require Import Crypto.CLI. Require Import Crypto....
Require Export Coq.extraction.Extraction. Require Export Coq.extraction.ExtrOcamlBasic. Require Export Coq.extraction.ExtrOcamlString. Require Import Coq.Lists.List. Require Import Coq.Strings.Ascii. Require Import Coq.Strings.String. Require Crypto.Util.Strings.String. Require Import Crypto.CLI. Require Import Crypto....
[]
diff --git a/src/StandaloneOCamlMain.v b/src/StandaloneOCamlMain.v index 2d60dccec..795af2a4c 100644 --- a/src/StandaloneOCamlMain.v +++ b/src/StandaloneOCamlMain.v @@ -219,6 +219,11 @@ Module SaturatedSolinas. := main_gen ForExtraction.SaturatedSolinas.PipelineMain. End SaturatedSolinas. +Module SolinasReducti...
Write or extend the proof(s) in src/StandaloneOCamlMain.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive addition of a new module definition that wires up a pipeline (small boilerplate but real code structure), not a mechanical template instantiation or import-only change; it follows the pattern of other hand-written integration modules in the file and represents genuine proof engineering to expose e...
fiat-crypto_841a8faf_f2cbeb12
fiat-crypto
coq
841a8faf6215c54a1fb5a9ac849e7a4231c6c36f
947723e10076cc2573d63bd182dc09156dc3cf7c
update CLI for solinas reduction
src/CLI.v
proof_add
Require Import Coq.QArith.QArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.Ascii. Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Import Coq.Strings.HexString. Require Crypto.Util.Strings.String. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. R...
Require Import Coq.QArith.QArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.Ascii. Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Import Coq.Strings.HexString. Require Crypto.Util.Strings.String. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. R...
[]
diff --git a/src/CLI.v b/src/CLI.v index db4edf335..7d07fb75d 100644 --- a/src/CLI.v +++ b/src/CLI.v @@ -22,6 +22,7 @@ Require Crypto.PushButtonSynthesis.SaturatedSolinas. Require Crypto.PushButtonSynthesis.UnsaturatedSolinas. Require Crypto.PushButtonSynthesis.WordByWordMontgomery. Require Crypto.PushButtonSynthesi...
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 is a substantive change adding a new module `SolinasReduction` to the CLI with real definitions, instance declarations, and synthesize pipeline logic — not merely imports or generated boilerplate, but hand-written proof-engineering infrastructure integrating a new reduction algorithm into the command-line interfac...
fiat-crypto_841a8faf_e74694a8
fiat-crypto
coq
841a8faf6215c54a1fb5a9ac849e7a4231c6c36f
947723e10076cc2573d63bd182dc09156dc3cf7c
update CLI for solinas reduction
src/COperationSpecifications.v
proof_add
(** * C Operation Specifications *) (** The specifications for the various operations to be synthesized. *) Require Import Coq.ZArith.ZArith Coq.micromega.Lia. Require Import Coq.Lists.List. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.BaseConversion. ...
(** * C Operation Specifications *) (** The specifications for the various operations to be synthesized. *) Require Import Coq.ZArith.ZArith Coq.micromega.Lia. Require Import Coq.Lists.List. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.BaseConversion. ...
[]
diff --git a/src/COperationSpecifications.v b/src/COperationSpecifications.v index dba50ac35..4a253326e 100644 --- a/src/COperationSpecifications.v +++ b/src/COperationSpecifications.v @@ -509,7 +509,8 @@ Module SolinasReduction. list_Z_bounded_by saturated_bounds x -> list_Z_bounded_by saturated_boun...
Write or extend the proof(s) in src/COperationSpecifications.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff changes a specification/statement in a non-generated proof file by replacing `is_bounded_by saturated_bounds (mulmod x y) = true` with `list_Z_bounded_by saturated_bounds (mulmod x y)`, which is a substantive type/statement change affecting the proof obligations; however, the actual proof body is not shown in ...
fiat-crypto_841a8faf_d8bf06b8
fiat-crypto
coq
841a8faf6215c54a1fb5a9ac849e7a4231c6c36f
947723e10076cc2573d63bd182dc09156dc3cf7c
update CLI for solinas reduction
src/PushButtonSynthesis/SolinasReduction.v
proof_add
(** * Push-Button Synthesis of Saturated Reduction *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Re...
(** * Push-Button Synthesis of Saturated Reduction *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Re...
[]
diff --git a/src/PushButtonSynthesis/SolinasReduction.v b/src/PushButtonSynthesis/SolinasReduction.v index ef3899a32..9179942a5 100644 --- a/src/PushButtonSynthesis/SolinasReduction.v +++ b/src/PushButtonSynthesis/SolinasReduction.v @@ -31,7 +31,8 @@ Require Import Crypto.BoundsPipeline. Require Import Crypto.COperati...
Write or extend the proof(s) in src/PushButtonSynthesis/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof engineering changes: modifications to function signatures (machine_wordsize becomes a Context definition), deletion and redefinition of `nreductions`, new definitions for `weight`, `up_bound`, and `base`, changes to the `use_curve_good` lemma statement and proof body with new tactic...
fiat-crypto_841a8faf_7bc08549
fiat-crypto
coq
841a8faf6215c54a1fb5a9ac849e7a4231c6c36f
947723e10076cc2573d63bd182dc09156dc3cf7c
update CLI for solinas reduction
src/PushButtonSynthesis/SolinasReductionReificationCache.v
proof_add
(** * Push-Button Synthesis of Solinas Reduction: Reification Cache *) Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Saturated. ...
(** * Push-Button Synthesis of Solinas Reduction: Reification Cache *) Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Saturated. ...
[]
diff --git a/src/PushButtonSynthesis/SolinasReductionReificationCache.v b/src/PushButtonSynthesis/SolinasReductionReificationCache.v index 3c750aa82..e83befaee 100644 --- a/src/PushButtonSynthesis/SolinasReductionReificationCache.v +++ b/src/PushButtonSynthesis/SolinasReductionReificationCache.v @@ -11,22 +11,6 @@ Loca...
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 removes obsolete imports and Ltac definitions, then renames key reification definitions from `reified_solred_gen` to `reified_solmul_gen` with corresponding updates to hint and opaque declarations—substantive proof engineering changes to reification machinery even though the `Derive` proof body is unchanged, ...
fiat-crypto_947723e1_931cd0d2
fiat-crypto
coq
947723e10076cc2573d63bd182dc09156dc3cf7c
d90e757a628f12eb6b7cb5f8ef5d5cd995f3aecc
add list of identifiers to cache reify
src/Arithmetic/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/Arithmetic/SolinasReduction.v b/src/Arithmetic/SolinasReduction.v index d5485eb53..0b123189c 100644 --- a/src/Arithmetic/SolinasReduction.v +++ b/src/Arithmetic/SolinasReduction.v @@ -899,6 +899,20 @@ Module SolinasReduction. else f (add_to_nth 0 (weight (m) * snd r_flat) (fst r_flat))....
Write or extend the proof(s) in src/Arithmetic/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-sonnet-4-6
The diff adds new definitions (`reduce1'`, `reduce2_cps`, `reduce2'`, `reduce_full'`) with real bodies computed via `eval cbv beta delta`, which constitutes substantive definition changes beyond mere whitespace or import edits.
fiat-crypto_947723e1_27667912
fiat-crypto
coq
947723e10076cc2573d63bd182dc09156dc3cf7c
d90e757a628f12eb6b7cb5f8ef5d5cd995f3aecc
add list of identifiers to cache reify
src/PushButtonSynthesis/SolinasReductionReificationCache.v
proof_add
(** * Push-Button Synthesis of Solinas Reduction: Reification Cache *) Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Saturated. ...
(** * Push-Button Synthesis of Solinas Reduction: Reification Cache *) Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Saturated. ...
[]
diff --git a/src/PushButtonSynthesis/SolinasReductionReificationCache.v b/src/PushButtonSynthesis/SolinasReductionReificationCache.v index 22e41c025..3c750aa82 100644 --- a/src/PushButtonSynthesis/SolinasReductionReificationCache.v +++ b/src/PushButtonSynthesis/SolinasReductionReificationCache.v @@ -11,25 +11,110 @@ Lo...
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
The diff adds substantive proof engineering content: new imports, Ltac tactic definitions (`cache_reify'`), a `Strategy` directive (reduction-list declaration), and changes the `Derive` statement with a different reification target (`reduce_full'` instead of `mul`) and proof invocation, which are all elaboration-shapin...
fiat-crypto_d90e757a_d870d032
fiat-crypto
coq
d90e757a628f12eb6b7cb5f8ef5d5cd995f3aecc
7dbaae616084b74a8cc03edc9583a75c17bc1017
update
src/PushButtonSynthesis/SolinasReductionReificationCache.v
proof_add
(** * Push-Button Synthesis of Solinas Reduction: Reification Cache *) Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Saturated. ...
(** * Push-Button Synthesis of Solinas Reduction: Reification Cache *) Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Saturated. ...
[]
diff --git a/src/PushButtonSynthesis/SolinasReductionReificationCache.v b/src/PushButtonSynthesis/SolinasReductionReificationCache.v index f76017316..22e41c025 100644 --- a/src/PushButtonSynthesis/SolinasReductionReificationCache.v +++ b/src/PushButtonSynthesis/SolinasReductionReificationCache.v @@ -9,25 +9,24 @@ Requi...
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 changes definitions (renaming `mulmod` to `mul`, restructuring its body), modifies proof statements (`Derive`/`SuchThat` with new identifiers), and enables a performance directive (`Local Set Keyed Unification`), all substantive proof-engineering changes; however, it also includes display directives (`Print`,...
fiat-crypto_7dbaae61_be35dfec
fiat-crypto
coq
7dbaae616084b74a8cc03edc9583a75c17bc1017
323dce919a853e0bd1b330cd60f019e60c5cc9a8
reifying solinas reduction for cli
src/Arithmetic/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/Arithmetic/SolinasReduction.v b/src/Arithmetic/SolinasReduction.v index 6cdb020e4..d5485eb53 100644 --- a/src/Arithmetic/SolinasReduction.v +++ b/src/Arithmetic/SolinasReduction.v @@ -58,7 +58,7 @@ Local Coercion Z.of_nat : nat >-> Z. Local Coercion QArith_base.inject_Z : Z >-> Q. Local Coercion Z.po...
Write or extend the proof(s) in src/Arithmetic/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff contains one substantive change (module rename from `solinas_reduction` to `SolinasReduction`), one elaboration-shaping change (adding `id` to the `cbv` delta list, which affects term production), and one pure display directive (`Print mulmod`); the rename and delta-list edit are ACCEPT-worthy proof engineerin...
fiat-crypto_7dbaae61_6fd1f846
fiat-crypto
coq
7dbaae616084b74a8cc03edc9583a75c17bc1017
323dce919a853e0bd1b330cd60f019e60c5cc9a8
reifying solinas reduction for cli
src/PushButtonSynthesis/SolinasReduction.v
proof_add
(** * Push-Button Synthesis of Saturated Reduction *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Re...
(** * Push-Button Synthesis of Saturated Reduction *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Re...
[]
diff --git a/src/PushButtonSynthesis/SolinasReduction.v b/src/PushButtonSynthesis/SolinasReduction.v index 00e8af181..ef3899a32 100644 --- a/src/PushButtonSynthesis/SolinasReduction.v +++ b/src/PushButtonSynthesis/SolinasReduction.v @@ -26,12 +26,12 @@ Require Import Crypto.Stringification.Language. Require Import Cry...
Write or extend the proof(s) in src/PushButtonSynthesis/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff changes imports and module exports in a hand-written proof orchestration file (`src/PushButtonSynthesis/` is substantive per the rules), uncommenting a real requirement and swapping import aliases; while purely structural on the surface, these are necessary specification/module wiring changes that enable the ...
fiat-crypto_7dbaae61_42ef8367
fiat-crypto
coq
7dbaae616084b74a8cc03edc9583a75c17bc1017
323dce919a853e0bd1b330cd60f019e60c5cc9a8
reifying solinas reduction for cli
src/PushButtonSynthesis/SolinasReductionReificationCache.v
proof_add
(** * Push-Button Synthesis of Solinas Reduction: Reification Cache *) Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Saturated. ...
[]
diff --git a/src/PushButtonSynthesis/SolinasReductionReificationCache.v b/src/PushButtonSynthesis/SolinasReductionReificationCache.v new file mode 100644 index 000000000..f76017316 --- /dev/null +++ b/src/PushButtonSynthesis/SolinasReductionReificationCache.v @@ -0,0 +1,39 @@ +(** * Push-Button Synthesis of Solinas Red...
Write the proof content for the declarations in src/PushButtonSynthesis/SolinasReductionReificationCache.v.
accept
claude-haiku-4-5
This is a new file introducing real proof content (a `Derive` statement with a substantive `cache_reify ()` tactic proof, followed by hints and instances), which is hand-written proof engineering in `src/PushButtonSynthesis/` (a hand-written directory per the rules), not generated artifact code; the `Print` and `Comput...
fiat-crypto_6d4afaf4_d0e8c3a6
fiat-crypto
coq
6d4afaf4f7d4edf1c05e7d996356a9a6da547900
105e64c3f8aac299d147fcafa2f6b7b76a7605a9
equality between CPS and non-CPS implementations
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 4def0dfa4..71d37b573 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -1030,11 +1030,101 @@ Module solinas_reduction. r3 else add_to_nth 0 (weight n * nth_default 0 r1 n) (firstn n r1). - Definition mulmod base s ...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff introduces substantive proof engineering: new CPS (continuation-passing style) definitions (`reduce1_cps`, `reduce_full_cps`, `mul_no_reduce_cps`, `mulmod_cps`) with their correctness lemmas, a refactored `mulmod` definition using `ltac:` elaboration, and new proofs (`mulmod'_correct`, `mulmod_cps_conv`) esta...
fiat-crypto_105e64c3_e266cfc6
fiat-crypto
coq
105e64c3f8aac299d147fcafa2f6b7b76a7605a9
d529bfcce7daf72d1478367c90e5c573cdb34b32
cps implementation
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 3eaeda351..4def0dfa4 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -41,6 +41,7 @@ Require Import Coq.ZArith.Znat. Require Import Crypto.Util.CPSUtil. Require Import Crypto.Util.CPSNotations. Local Open Scope cps_scope. +Notation...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof/specification engineering changes: adding a CPS (continuation-passing style) notation, refactoring function signatures to add explicit type parameters and continuation arguments, restructuring proof implementations from direct-style to CPS, and modifying the `Reify` call—all of whic...
fiat-crypto_105e64c3_5de9606a
fiat-crypto
coq
105e64c3f8aac299d147fcafa2f6b7b76a7605a9
d529bfcce7daf72d1478367c90e5c573cdb34b32
cps implementation
src/tmp.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Crypto.Stringification.C. Require Crypto.Stringification.Go. Require Crypto...
[]
diff --git a/src/tmp.v b/src/tmp.v new file mode 100644 index 000000000..c1fb17db3 --- /dev/null +++ b/src/tmp.v @@ -0,0 +1,125 @@ +Require Import Coq.ZArith.ZArith. +Require Import Coq.QArith.QArith. +Require Import Coq.QArith.Qround. +Require Import Coq.Strings.String. +Require Import Coq.derive.Derive. +Require Impo...
Write the proof content for the declarations in src/tmp.v.
accept
claude-haiku-4-5
This is a new file containing substantive definitions and proof content (e.g., `Definition x`, `Check`, `Print`, `Compute` directives with real logic), along with module structure, section setup, and instance declarations—all foundational proof engineering work that goes beyond imports or documentation; however, the he...
fiat-crypto_6b3f5d78_9799438f
fiat-crypto
coq
6b3f5d7833f7dc0c2e885cf01142899a35620f14
83817ecd1defc23c276d6991005de24df0e4d258
starting cps implementation + more refactoring
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index a7da2c016..b5a459e03 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -38,6 +38,10 @@ Require Import Crypto.Util.ZUtil.Tactics.RewriteModSmall. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Coq.ZArith.Znat...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff substantively changes definition bodies and signatures (adding CPS-style function variants `reduce1_cps`, `reduce_full_cps`, `mul_no_reduce_cps`, `mulmod_cps`, `mulmod`), modifies proof structures (Check statements for CPS functions, Fail-wrapping a computation), reorganizes hint declarations (consolidating m...
fiat-crypto_f7aec123_8da1607c
fiat-crypto
coq
f7aec12302fe180af4eca49895e6b78b0a6e55a7
6fdf8888a660cf49584c02b70d1ab4e397d7e90b
small update to c code
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 2a76e0ae4..6da4c7c9d 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -133,11 +133,17 @@ Module solinas_reduction. (* red. *) Definition mulmod base s c n (p q : list Z) := - let mul := mul_no_reduce base n p ...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff substantially changes the `mulmod` definition (replacing a three-step reduce1 approach with a new Saturated-based implementation and bounds checking) and uncomments a `Time Compute` directive with generated C code output; while the C code itself is non-substantive display content, the Coq definition change is ...
fiat-crypto_6fdf8888_4e886dd9
fiat-crypto
coq
6fdf8888a660cf49584c02b70d1ab4e397d7e90b
3b8196a633f27fabe4148536f06eaa2912650d0d
chaining mul_no_reduce and reduce_full fails
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 03feb9bc5..2a76e0ae4 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -73,6 +73,133 @@ Module solinas_reduction. Import Crypto.Arithmetic.Saturated. + Module tmp. + + Section __. + + Context (machine_wordsize := 64) + ...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds substantive new definitions (mul_no_reduce, sat_reduce, reduce1, reduce_full, mulmod) and modifies proof tactics (changing `apply OrdersEx.Z_as_DT.div_pos` to `apply OrdersEx.Z_as_OT.mul_pos_pos` plus additional tactic branches, and updating Hint Rewrite clauses with different premises), which constitute...
fiat-crypto_3b8196a6_d04cda98
fiat-crypto
coq
3b8196a633f27fabe4148536f06eaa2912650d0d
04240570e75eaf8dd63a76508523880586293b65
proving lemmas about standlone is_bounded_by
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 807b2f3c2..03feb9bc5 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -90,6 +90,44 @@ Module solinas_reduction. autorewrite with zsimplify_const; ring_simplify. + Ltac solve_ineq := + repeat + match goal...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff is a substantive proof engineering change that adds new lemmas (`fold_right_add`, `eval_is_bounded_by_pos`, `eval_is_bounded_by`), defines new Ltac tactics (`solve_ineq`), adds Hint Rewrite declarations, and significantly refactors/rewrites the proof body of `eval_weight_S'` to handle a more general parametric...
fiat-crypto_04240570_1086176f
fiat-crypto
coq
04240570e75eaf8dd63a76508523880586293b65
968a5c7f36e1ff2f5c9df41552ea87e0186e254a
reimplement mul_no_reduce
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 14e1b4e1d..807b2f3c2 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -80,139 +80,6 @@ Module solinas_reduction. (up_bound := 2 ^ (machine_wordsize / 4)) {wprops : @weight_properties weight}. - Definitio...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff is a substantial proof engineering change that reorganizes definitions and lemmas into a `Section canon`, refactors proof structures (including lemma statements and tactic bodies), and removes/reimplements significant proof content—this is clearly a proof-body and organizational change rather than any form of ...
fiat-crypto_968a5c7f_df429c24
fiat-crypto
coq
968a5c7f36e1ff2f5c9df41552ea87e0186e254a
4534d72f7ca3341fe1a39b5d2128eba83e92d5ab
prove mulmod correct
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 679b2db80..14e1b4e1d 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -157,6 +157,8 @@ Module solinas_reduction. autorewrite with zsimplify_const push_eval; trivial. Qed. Hint Rewrite eval_sat_reduce using auto : push...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff adds a substantive proof (`eval_mul_no_reduce` theorem) and a main correctness theorem (`mulmod_correct`), along with two hint rewrites; it removes an unrelated test section; these are core proof-engineering changes to the module, not generated artifacts or mechanical edits.
fiat-crypto_3ed1e5b8_76da0a01
fiat-crypto
coq
3ed1e5b80033b144527c959cc40a1548f0e169c5
4f3f3b51d508808ebfebb310c08f8353d546ebad
proved correctness of reduce_full assuming first reduce is in bounds
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index c1452eca2..81da05d83 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -36,7 +36,6 @@ Require Import Crypto.Util.ZUtil.Hints.Core. Require Import Crypto.Util.ZUtil.Tactics.LtbToLt. Require Import Crypto.Util.ZUtil.Tactics.RewriteModS...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds substantial proof content: a new definition `reduce_full` with guard logic, new helper definitions (`fold_andb`, `dual_map`, `is_bounded_by`), and three significant lemmas (`reduce_first_canonical`, `reduce_first`, `reduce_first_correct`) with nontrivial proof bodies using tactics and mathematical reason...
fiat-crypto_4f3f3b51_98298b02
fiat-crypto
coq
4f3f3b51d508808ebfebb310c08f8353d546ebad
cd1e593972d68dcf7e343108846619b02af9ab48
compile reduce_full' with Z*Z instead of zrange
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 5cb7c63ff..c1452eca2 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -1701,7 +1701,12 @@ Module solinas_reduction. := (fold_andb_map' (fun r v'' => is_bounded_by0o r v'') bounds ls). Fail Compute ltac:(let r := Reify (is_...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof engineering changes: new `Let` declarations moved before `reduce_full`, a new definition `is_bounded_by''` with real body logic, and a new definition `reduce_full'` with substantial computation logic, followed by a `Print` directive and commented error output documenting synthesis f...
fiat-crypto_cd1e5939_c33b2b67
fiat-crypto
coq
cd1e593972d68dcf7e343108846619b02af9ab48
0895dd020f740012a683c5f26d3c5ec7de9b5c6f
fix foldb_andb_map, test zrange projection workarounds
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 99535c025..5cb7c63ff 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -1678,39 +1678,86 @@ Module solinas_reduction. Context (machine_wordsize := 64) (up_bound := 2 ^ (machine_wordsize / 4)). + Definition is_b...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff includes multiple substantive proof/definition changes mixed with diagnostic/test directives: (1) new definitions (`fold_andb`, `dual_map`, `fold_andb_map'`, `is_bounded_by'`, `tmp`, `test`) and proofs attempting to reify them, (2) changes to `reduce_full` logic (switching to `is_bounded_by'` and parenthesiza...
fiat-crypto_0895dd02_bd5c985d
fiat-crypto
coq
0895dd020f740012a683c5f26d3c5ec7de9b5c6f
cae95eecfefff002f548d408e3c2f648298b596d
error reifying if-then statement
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 0b39bf817..99535c025 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -24,6 +24,7 @@ Require Import Crypto.Algebra.Ring. Require Import Crypto.Util.Decidable. Require Import Crypto.Util.LetIn. Require Import Crypto.Util.ListUtil. +...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff contains a mix of substantive changes (new `up_bound` parameter, new `test_reduce_full` section with real definitions, changes to `reduce_full` logic, modifications to `Reify` invocations) and non-substantive noise (removing `Print` and `Search` directives, moving `up_bound` definition to context). The core pr...
fiat-crypto_cae95eec_b91acd9a
fiat-crypto
coq
cae95eecfefff002f548d408e3c2f648298b596d
71c706eac337172a1673b8e912163b75fc9013c3
prove value_reduce_first
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 61bb70e55..0b39bf817 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -316,7 +316,6 @@ Module solinas_reduction. intuition; apply H5; rewrite H3; apply in_or_app; eauto. Qed. - (* helps with proving lemmas about the...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff contains substantive proof-body additions: three new lemmas (`split_gt`, `map_weight_seq`, `split_p'`) with complete proofs, a major new lemma `value_reduce_first` with extensive proof tactics, a comment removal, and uncommented/modified a computation directive. While the compute directive at the end is displa...
fiat-crypto_71c706ea_82a14eea
fiat-crypto
coq
71c706eac337172a1673b8e912163b75fc9013c3
8a99161fd92cc7c77ce9f3f07f222d984b071cbe
proved correctness of third reduction
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 6e7191d82..61bb70e55 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -343,8 +343,7 @@ Module solinas_reduction. | _ => apply OrdersEx.Z_as_OT.mul_nonneg_nonneg | _ => apply OrdersEx.Z_as_DT.div_pos - | _ =>...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff substantially modifies proof bodies and lemma statements in a hand-written proof file (non-generated src/SolinasReduction.v), including: new lemma `reduce_second_correct` with a complete proof, renamed and modified `reduce_third` → `reduce_third_canonical` with significant proof-body restructuring, reordered ...
fiat-crypto_8a99161f_e024255c
fiat-crypto
coq
8a99161fd92cc7c77ce9f3f07f222d984b071cbe
961d682b782f222fd79bbd7d1c873c689c20a693
change hi upper bound to machine_wordsize / 4
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 7196842c2..6e7191d82 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -317,7 +317,7 @@ Module solinas_reduction. Qed. (* helps with proving lemmas about the length of the reduction *) - Ltac length_q q := + Ltac solv...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains significant, substantive proof engineering changes: renaming the `length_q` tactic to `solve_length`, refactoring `solve_ineq`, `solve_in`, and `solve_hi` tactics with new pattern matching and control flow, introducing new tactics like `apply_iff`, restructuring the `canonical_app` Ltac procedure, an...
fiat-crypto_961d682b_06f6f879
fiat-crypto
coq
961d682b782f222fd79bbd7d1c873c689c20a693
b0d10d12e136310a69a756afedc9630cc4526615
cleanup value_reduce_second
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index e5c12b39e..7196842c2 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -336,6 +336,73 @@ Module solinas_reduction. cbn [length] in H; cbn [length]; lia end. + Ltac solve_ineq := + repeat match goal with + ...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof-body edits including new lemmas (`reduce_in_range`), Ltac definitions (`solve_ineq`, `solve_in`, `solve_hi`, etc.), significant changes to proof tactics and arguments in `reduce_second_canonical` and `value_reduce_second` lemmas, and context modifications (removing `s_nz`, changing ...
fiat-crypto_6e301f6a_028557ce
fiat-crypto
coq
6e301f6a87ba237e398ea3ca645ec5dc99c68113
da013d0ef4fe743f3b234677365172032c155d53
add context assumptions, second reduce proof QED
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index ab2f28ff1..91924fdbd 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -174,9 +174,9 @@ Module solinas_reduction. unfold weight, uweight, ModOps.weight; rewrite !Z.div_1_r; rewrite !Z.opp_involutive; - rewrite...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantial proof-body changes, including completing previously admitted proofs with explicit tactics (replacing `admit` with actual proof steps like `etransitivity`, `apply`, `lia`), moving context assumptions from lemma parameters to a `Context` block, and finishing the `value_reduce_second` proof ...
fiat-crypto_da013d0e_26e7a10e
fiat-crypto
coq
da013d0ef4fe743f3b234677365172032c155d53
ef3643d81a4054febec258735814cffb563dadb7
finish lemmas about canonical_repr, finish most side lemmas in reduce theorem
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index f9481bb55..ab2f28ff1 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -170,6 +170,16 @@ Module solinas_reduction. Hint Resolve length_partition : push_length. Hint Resolve Rows.length_from_associational : push_length. + ...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff substantially extends proofs in SolinasReduction.v by completing lemmas (canonical_iff, canonical_cons, canonical_app_l/r, eval_weight_S', canonical_eval_bounded, split_lt, weight_mono'), adding a new weight_comp tactic, and filling in previously admitted/admitted proof bodies—all clear proof engineering work ...
fiat-crypto_ef3643d8_48a574ec
fiat-crypto
coq
ef3643d81a4054febec258735814cffb563dadb7
bb77297696c6d0a3969a6ea0d8535583417a0d41
proving subsequences of canonical representations are canonical
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index d263824da..f9481bb55 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -220,6 +220,48 @@ Module solinas_reduction. eauto. } Qed. + Lemma canonical_eval_bounded n : forall (p : list Z), + canonical_repr n p -> ...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff contains substantive proof-engineering work: new lemma definitions (canonical_eval_bounded, canonical_app), a renamed and extended theorem (reduce_second' with detailed tactic work), and modifications to existing proofs (reduce_second, with many intermediate proof steps added), including tactic changes and ass...
fiat-crypto_bb772976_92e4b67d
fiat-crypto
coq
bb77297696c6d0a3969a6ea0d8535583417a0d41
9c56609370dd13914660f794ce46b0b292b77a13
prove canonical representation is positive
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index f7350fadc..d263824da 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -170,27 +170,40 @@ Module solinas_reduction. Hint Resolve length_partition : push_length. Hint Resolve Rows.length_from_associational : push_length. + ...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff contains substantive proof-body changes: a new lemma `canonical_pos` is added with a complete proof, the proof of `canonical_bounded` is completed (changed from `Admitted` to `Qed`), and tactical edits occur in an unfinished proof (`value_reduce_second`); however, there are also incomplete elements (comments, ...
fiat-crypto_9c566093_6ed597da
fiat-crypto
coq
9c56609370dd13914660f794ce46b0b292b77a13
8b3564fcdf672b1e8fbee8d16714634d71783d1a
generalized output of eval of second reduce
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 300512447..f7350fadc 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -77,7 +77,8 @@ Module solinas_reduction. Print weight_properties. - Context (weight := uweight 64) + Context (machine_wordsize := 64) + (w...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof-engineering changes: adding a new `machine_wordsize` parameter to the context (a signature change), introducing two new lemmas (`canonical_bounded` and `value_reduce_second`) with non-trivial proof bodies using tactics like `unfold`, `rewrite`, `assert`, and `admit`, and modifying t...
fiat-crypto_8b3564fc_69841148
fiat-crypto
coq
8b3564fcdf672b1e8fbee8d16714634d71783d1a
07ab110d147aa6fc0b02ab800ef368372bf57d6e
plugging in constant values
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 832669e19..300512447 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -10,6 +10,7 @@ Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Partition. Require Import Crypto.PushButtonSynthesis.UnsaturatedSolinas. ...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof-body changes (tactic rewrites, `cbv` additions, `Search` removals, new `assert` statements with strategic instantiations of constants, and intermediate lemma applications), which are ACCEPT-category edits; however, it also includes a `Print weight_properties` display directive and m...
fiat-crypto_07ab110d_64db8773
fiat-crypto
coq
07ab110d147aa6fc0b02ab800ef368372bf57d6e
5d11435797e989e04f22b869ff2ec46a62faaace
starting to prove q_hi1 = 0 when q_hi2 = 1
src/SolinasReduction.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SolinasReduction.v b/src/SolinasReduction.v index 2d8e99369..832669e19 100644 --- a/src/SolinasReduction.v +++ b/src/SolinasReduction.v @@ -189,7 +189,7 @@ Module solinas_reduction. forall q_lo q_hi1 q_hi2, let q := reduce1 base s c (S n) (S n) p in q = q_lo ++ [q_hi1] ++...
Write or extend the proof(s) in src/SolinasReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff shows substantive proof-engineering work: the author is actively developing an incomplete proof by fixing type arguments (changing `n` to `S n` in canonical_repr and eval calls), removing intermediate debugging artifacts (Search commands, admit-based assertions), restructuring the proof strategy with new sub-...
fiat-crypto_e624d7d7_3a8461fc
fiat-crypto
coq
e624d7d7dce74bbc8c892eecb8b6c53a18498d9d
b0c926daa14f82adc503b5e6c2aa5adfeffa7b09
implemented reduce, working on bounds inference
src/SlowPrimeSynthesisExamplesCopy.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SlowPrimeSynthesisExamplesCopy.v b/src/SlowPrimeSynthesisExamplesCopy.v index 57826a5cf..c886f18a5 100644 --- a/src/SlowPrimeSynthesisExamplesCopy.v +++ b/src/SlowPrimeSynthesisExamplesCopy.v @@ -51,7 +51,8 @@ Local Instance : class_name_opt := None. Local Existing Instance default_output_options. ...
Write or extend the proof(s) in src/SlowPrimeSynthesisExamplesCopy.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff makes substantive changes to definitions and proof content in a non-generated file: it renames a module (`debugging_mul` → `compiling_mul`), removes/adds definition bodies (`sat_reduce`, `reduce1`, `reduce`, `mul_no_reduce`, `mulmod` are newly defined with real implementations), adds new `Compute` directives f...
fiat-crypto_89f2c1fe_798d8c0e
fiat-crypto
coq
89f2c1febbf695bc67ce16aa54c2ded3bf33d624
8a40e8367b2513ef84cc50823a3b9b655262162e
Modified assembly equivalence checker to allow parsing asm files containing "or" instructions. (#1492)
src/Assembly/Parse.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Coq.Strings.Ascii. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Equality. Require Import Crypto.Util.OptionList. Require Import Crypto.Util.String...
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. Require Import Coq.Strings.Ascii. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Equality. Require Import Crypto.Util.OptionList. Require Import Crypto.Util.String...
[]
diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v index f654292e0..09d1439cd 100644 --- a/src/Assembly/Parse.v +++ b/src/Assembly/Parse.v @@ -152,6 +152,7 @@ Global Instance show_OpCode : Show OpCode | movzx => "movzx" | mul => "mul" | mulx => "mulx" + | or => "or" | po...
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 a single pattern-match case (`| or => "or"`) to an existing `Show` instance for `OpCode`, which is a substantive extension to proof/verification infrastructure (the assembly equivalence checker now recognizes a new instruction); however, the change is minimal and mechanical—adding support for a new opcod...
fiat-crypto_89f2c1fe_442fdc05
fiat-crypto
coq
89f2c1febbf695bc67ce16aa54c2ded3bf33d624
8a40e8367b2513ef84cc50823a3b9b655262162e
Modified assembly equivalence checker to allow parsing asm files containing "or" instructions. (#1492)
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Program.Tactics. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.Sorting.Permutation. Require Import Coq.Structures.Equalities. Requ...
Require Crypto.Assembly.Parse. Require Import Coq.Program.Tactics. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.Sorting.Permutation. Require Import Coq.Structures.Equalities. Requ...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 333d641b4..42135519f 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -3361,6 +3361,11 @@ Definition SymexNormalInstruction {descr:description} (instr : NormalInstruction _ <- SetOperand dst v; _ <- HavocFlags; zero...
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 substantive new case to the `SymexNormalInstruction` match statement, handling the "or" instruction with its symbolic semantics (side effects, flag updates), which is a real proof engineering change that extends the assembly equivalence checker's instruction coverage.
fiat-crypto_89f2c1fe_2a1e47ab
fiat-crypto
coq
89f2c1febbf695bc67ce16aa54c2ded3bf33d624
8a40e8367b2513ef84cc50823a3b9b655262162e
Modified assembly equivalence checker to allow parsing asm files containing "or" instructions. (#1492)
src/Assembly/Syntax.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.derive.Derive. Require Import Crypto.Util.Option. Require Crypto.Util.Tuple. Require Crypto.Util.OptionList. Import ListNotations. Local Open Scope list_scope. Local...
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.derive.Derive. Require Import Crypto.Util.Option. Require Crypto.Util.Tuple. Require Crypto.Util.OptionList. Import ListNotations. Local Open Scope list_scope. Local...
[]
diff --git a/src/Assembly/Syntax.v b/src/Assembly/Syntax.v index fddc4d435..4cb9c94eb 100644 --- a/src/Assembly/Syntax.v +++ b/src/Assembly/Syntax.v @@ -75,6 +75,7 @@ Inductive OpCode := | movzx | mul | mulx +| or | pop | push | rcr
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 change to the `OpCode` inductive type definition (adding a new constructor `or`), which affects the syntax and semantics of the assembly language being formalized; while the diff itself is minimal, it represents a real extension to the proof engineering artifact that likely requires corresponding ...
fiat-crypto_89f2c1fe_446ab9ba
fiat-crypto
coq
89f2c1febbf695bc67ce16aa54c2ded3bf33d624
8a40e8367b2513ef84cc50823a3b9b655262162e
Modified assembly equivalence checker to allow parsing asm files containing "or" instructions. (#1492)
src/Assembly/WithBedrock/Semantics.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.FSets.FMapPositive. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.Classes.Morphisms. Require Import Coq.Bool.Bool. Require Import Crypto.Util.Option. Require Import Crypto.Util.Bool. Require Imp...
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.FSets.FMapPositive. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.Classes.Morphisms. Require Import Coq.Bool.Bool. Require Import Crypto.Util.Option. Require Import Crypto.Util.Bool. Require Imp...
[]
diff --git a/src/Assembly/WithBedrock/Semantics.v b/src/Assembly/WithBedrock/Semantics.v index e347aa498..1a4c64f3a 100644 --- a/src/Assembly/WithBedrock/Semantics.v +++ b/src/Assembly/WithBedrock/Semantics.v @@ -329,8 +329,8 @@ Definition DenoteNormalInstruction (st : machine_state) (instr : NormalInstructi let...
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 extends the proof semantics by adding support for the "or" instruction to the assembly equivalence checker—modifying pattern matching and case logic in `DenoteNormalInstruction`, which is a core proof-relevant definition that affects how assembly instructions are semantically interpreted. This i...
fiat-crypto_89f2c1fe_0a892ff4
fiat-crypto
coq
89f2c1febbf695bc67ce16aa54c2ded3bf33d624
8a40e8367b2513ef84cc50823a3b9b655262162e
Modified assembly equivalence checker to allow parsing asm files containing "or" instructions. (#1492)
src/Assembly/WithBedrock/SymbolicProofs.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Crypto.Util.ZUtil.Tactics.PullPush. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Crypto.AbstractInterpretation.ZRange. Require Import Crypto.Util.ErrorT. Import Coq.Lists.List. (* [map] is [List.map] no...
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Crypto.Util.ZUtil.Tactics.PullPush. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Crypto.AbstractInterpretation.ZRange. Require Import Crypto.Util.ErrorT. Import Coq.Lists.List. (* [map] is [List.map] no...
[]
diff --git a/src/Assembly/WithBedrock/SymbolicProofs.v b/src/Assembly/WithBedrock/SymbolicProofs.v index 7aaa4ec14..8621e3d8c 100644 --- a/src/Assembly/WithBedrock/SymbolicProofs.v +++ b/src/Assembly/WithBedrock/SymbolicProofs.v @@ -1142,7 +1142,7 @@ Proof using Type. | progress Option.inversion_op...
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 is a substantive proof-body tactic change: adding `?Z.lor_0_r` to a `rewrite` tactic list in a proof that previously only had `?Z.lxor_0_r`, which extends the rewriting rules to handle bitwise-or identity lemmas—a real proof engineering adjustment to support parsing "or" instructions.
fiat-crypto_ca883867_71370a4e
fiat-crypto
coq
ca883867a7ccbb2814fa779e29ea6bbf54f3b975
7b8219c06cc09f4d01a9d214a76ad1c453d54e5a
Refactored HelpfulFunctions.v (split into Core.v and ListUtil.v)
src/Util/ListUtil.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.Lists.SetoidList. Require Import Coq.micromega.Lia. Require Import Coq.Arith.Peano_dec. Require Import Coq.ZArith.ZArith. Require Import Coq.Arith.Arith. Require Import Coq.Classes.Morphisms. Require Import Coq.Numbers.Natural.Peano.NPeano. Require Import Crypto.Util.Na...
Require Import Coq.Lists.List. Require Import Coq.Lists.SetoidList. Require Import Coq.micromega.Lia. Require Import Coq.Arith.Peano_dec. Require Import Coq.ZArith.ZArith. Require Import Coq.Arith.Arith. Require Import Coq.Classes.Morphisms. Require Import Coq.Numbers.Natural.Peano.NPeano. Require Import Crypto.Util.Na...
[]
diff --git a/src/Util/ListUtil.v b/src/Util/ListUtil.v index 9cd942062..c8710ca01 100644 --- a/src/Util/ListUtil.v +++ b/src/Util/ListUtil.v @@ -3420,3 +3420,87 @@ Lemma fold_left_rev_higher_order A B f a ls : @fold_left A B f (List.rev ls) a = fold_left (fun acc x a => acc (f a x)) ls id a. Proof. symmetry; a...
Write or extend the proof(s) in src/Util/ListUtil.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds substantive new definitions (`is_in`, `just_once`) and their associated lemmas (`is_in_true_iff`, `is_in_false_iff`, `just_once_in_iff`, `just_once_split`) with real proof bodies, constituting genuine proof engineering work that should be evaluated for synthesis capability.
fiat-crypto_2209b063_66cd909a
fiat-crypto
coq
2209b0631740f09e63f821e6617778d354ba7606
c68a80bace827202d962815eda3522fae83f0108
Add some ZUtil/Land/Fold.v lemmas (#1487)
src/Util/ZUtil/Land/Fold.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.micromega.Lia. Require Import Coq.Lists.List. Require Import Crypto.Util.ZUtil.Land. Require Import Crypto.Util.ZUtil.Hints.Core. Local Open Scope bool_scope. Local Open Scope Z_scope. Module Z. Lemma fold_right_land_m1_cps v ls : fold_right Z.land v ls ...
[]
diff --git a/src/Util/ZUtil/Land/Fold.v b/src/Util/ZUtil/Land/Fold.v new file mode 100644 index 000000000..62b682e2c --- /dev/null +++ b/src/Util/ZUtil/Land/Fold.v @@ -0,0 +1,25 @@ +Require Import Coq.ZArith.ZArith. +Require Import Coq.micromega.Lia. +Require Import Coq.Lists.List. +Require Import Crypto.Util.ZUtil.Lan...
Write the proof content for the declarations in src/Util/ZUtil/Land/Fold.v.
accept
claude-haiku-4-5
This is a new file adding two substantive lemmas (`fold_right_land_m1_cps` and `fold_right_land_ones_id`) with complete proof bodies using induction and basic tactic reasoning — clear proof engineering content that belongs in an evaluation dataset, not a generated or mechanical artifact.
fiat-crypto_c68a80ba_e6a7ab3e
fiat-crypto
coq
c68a80bace827202d962815eda3522fae83f0108
5047e39e77c2124eadb5b46c7d870e88baa16b39
bump bedrock2 (#1484)
src/Bedrock/End2End/RupicolaCrypto/Low.v
proof_add
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Examples.Loops Rupicola.Lib.Loops. (*TODO: move this file to Rupicola.Lib*) Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Broadcast. Requi...
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Examples.Loops Rupicola.Lib.Loops. (*TODO: move this file to Rupicola.Lib*) Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Broadcast. Requi...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Low.v b/src/Bedrock/End2End/RupicolaCrypto/Low.v index ccf1a41b2..411f79325 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Low.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Low.v @@ -1066,7 +1066,7 @@ Proof using Type. eapply expr_compile_var; auto. } eapply Prop...
Write or extend the proof(s) in src/Bedrock/End2End/RupicolaCrypto/Low.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff modifies a proof tactic from `eapply H1; cycle 2; eauto; try lia.` to `eapply H1; cycle 2; try ecancel_assumption; eauto; try lia.` by inserting a `try ecancel_assumption` call — a substantive proof-body tactic change that adapts to a bedrock2 library bump, which is real proof engineering and thus ACCEPT-wort...
fiat-crypto_c68a80ba_ce67e190
fiat-crypto
coq
c68a80bace827202d962815eda3522fae83f0108
5047e39e77c2124eadb5b46c7d870e88baa16b39
bump bedrock2 (#1484)
src/Bedrock/End2End/X25519/GarageDoor.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Crypto.Spec.Curve25519. Require Import bedrock2.Map.Separation. Require Import bedrock2.Syntax. Require Import compiler.Pipeline. Require Import compiler.Symbols. Require Import compiler.MMIO. Require Impo...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Crypto.Spec.Curve25519. Require Import bedrock2.Map.Separation. Require Import bedrock2.Syntax. Require Import compiler.Pipeline. Require Import compiler.Symbols. Require Import compiler.MMIO. Require Impo...
[]
diff --git a/src/Bedrock/End2End/X25519/GarageDoor.v b/src/Bedrock/End2End/X25519/GarageDoor.v index ffcded6de..e6b3ef855 100644 --- a/src/Bedrock/End2End/X25519/GarageDoor.v +++ b/src/Bedrock/End2End/X25519/GarageDoor.v @@ -47,16 +47,17 @@ Definition initfn := func! { Definition loopfn := func! { st=$ST; pk=$PK;...
Write or extend the proof(s) in src/Bedrock/End2End/X25519/GarageDoor.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof-body tactic changes (replacing variable substitution patterns with `match goal with` structures, adding `progress` guards, removing `change` lemmas, and rewriting tactic invocations) alongside variable renames in the code being proved, which are all covered by the ACCEPT criteria de...
fiat-crypto_c68a80ba_6af1bc20
fiat-crypto
coq
c68a80bace827202d962815eda3522fae83f0108
5047e39e77c2124eadb5b46c7d870e88baa16b39
bump bedrock2 (#1484)
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. Section Compile. Context {width: Z} {BW: Bitwidth width} {word: word.word width} {mem: map.map word Byte.byte}. Context {loca...
[]
diff --git a/src/Bedrock/Field/Interface/Compilation2.v b/src/Bedrock/Field/Interface/Compilation2.v index 134e27f5a..ddb5fe74e 100644 --- a/src/Bedrock/Field/Interface/Compilation2.v +++ b/src/Bedrock/Field/Interface/Compilation2.v @@ -269,16 +269,7 @@ Section Compile. prove_field_compilation. apply H3. - ...
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 replaces verbose proof tactics with higher-level proof automation tactics (`extract_ex1_and_emp_in_goal`, `ssplit`) in two proofs, which are semantically-equivalent tactic refactorings that constitute substantive proof-body changes (not merely whitespace/comment adjustments), making this acceptable despite the...
fiat-crypto_5047e39e_6d22577f
fiat-crypto
coq
5047e39e77c2124eadb5b46c7d870e88baa16b39
540035bdcaf3687a79abd6639dd2dc4ff0510037
add cmovo (#1483)
src/Assembly/Syntax.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.derive.Derive. Require Import Crypto.Util.Option. Require Crypto.Util.Tuple. Require Crypto.Util.OptionList. Import ListNotations. Local Open Scope list_scope. Local...
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.derive.Derive. Require Import Crypto.Util.Option. Require Crypto.Util.Tuple. Require Crypto.Util.OptionList. Import ListNotations. Local Open Scope list_scope. Local...
[]
diff --git a/src/Assembly/Syntax.v b/src/Assembly/Syntax.v index 6cb40f6fd..fddc4d435 100644 --- a/src/Assembly/Syntax.v +++ b/src/Assembly/Syntax.v @@ -59,6 +59,7 @@ Inductive OpCode := | cmovb | cmovc | cmovnz +| cmovo | cmp | db | dd
Write or extend the proof(s) in src/Assembly/Syntax.v. Complete any unfinished proofs or add missing proof content.
accept
claude-sonnet-4-6
A new constructor `cmovo` is added to the `OpCode` inductive type, which is a substantive modification to a type definition.
fiat-crypto_5047e39e_5ab517e2
fiat-crypto
coq
5047e39e77c2124eadb5b46c7d870e88baa16b39
540035bdcaf3687a79abd6639dd2dc4ff0510037
add cmovo (#1483)
src/Assembly/WithBedrock/Semantics.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.FSets.FMapPositive. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.Classes.Morphisms. Require Import Coq.Bool.Bool. Require Import Crypto.Util.Option. Require Import Crypto.Util.Bool. Require Imp...
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.FSets.FMapPositive. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.Classes.Morphisms. Require Import Coq.Bool.Bool. Require Import Crypto.Util.Option. Require Import Crypto.Util.Bool. Require Imp...
[]
diff --git a/src/Assembly/WithBedrock/Semantics.v b/src/Assembly/WithBedrock/Semantics.v index fed36bd63..e347aa498 100644 --- a/src/Assembly/WithBedrock/Semantics.v +++ b/src/Assembly/WithBedrock/Semantics.v @@ -179,12 +179,14 @@ Definition DenoteNormalInstruction (st : machine_state) (instr : NormalInstructi Set...
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 substantive definition/specification changes to handle a new instruction (`cmovo`) by extending the pattern-matching case in `DenoteNormalInstruction`, refactoring the conditional-move logic to support multiple flags (CF, OF, PF), and updating the catch-all clause for error handling—all of which are real...
fiat-crypto_5047e39e_5bc92b5e
fiat-crypto
coq
5047e39e77c2124eadb5b46c7d870e88baa16b39
540035bdcaf3687a79abd6639dd2dc4ff0510037
add cmovo (#1483)
src/Assembly/WithBedrock/SymbolicProofs.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Crypto.Util.ZUtil.Tactics.PullPush. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Crypto.AbstractInterpretation.ZRange. Require Import Crypto.Util.ErrorT. Import Coq.Lists.List. (* [map] is [List.map] no...
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Crypto.Util.ZUtil.Tactics.PullPush. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Crypto.AbstractInterpretation.ZRange. Require Import Crypto.Util.ErrorT. Import Coq.Lists.List. (* [map] is [List.map] no...
[]
diff --git a/src/Assembly/WithBedrock/SymbolicProofs.v b/src/Assembly/WithBedrock/SymbolicProofs.v index 78980799e..7aaa4ec14 100644 --- a/src/Assembly/WithBedrock/SymbolicProofs.v +++ b/src/Assembly/WithBedrock/SymbolicProofs.v @@ -1264,8 +1264,8 @@ Proof using Type. Unshelve. all : match goal with H : context[Synt...
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 makes a substantive change to proof-body tactics: it extends an `Unshelve` goal-matching pattern and updates a comment to handle a new instruction variant (cmovo), then applies the same tactic proof strategy (`destruct vCF; cbn...; eauto 9`) to the new case, which is a real proof-engineering modification addi...
fiat-crypto_540035bd_02a4f5e8
fiat-crypto
coq
540035bdcaf3687a79abd6639dd2dc4ff0510037
a061024555ef8561ab3979e8d1bb23844bb75037
Fix up Low.v to work with rebase & Broadcast.v updates
src/Bedrock/End2End/RupicolaCrypto/Low.v
proof_add
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Examples.Loops Rupicola.Lib.Loops. (*TODO: move this file to Rupicola.Lib*) Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Broadcast. Requi...
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Examples.Loops Rupicola.Lib.Loops. (*TODO: move this file to Rupicola.Lib*) Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Broadcast. Requi...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Low.v b/src/Bedrock/End2End/RupicolaCrypto/Low.v index 64402c90b..ccf1a41b2 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Low.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Low.v @@ -1027,7 +1027,7 @@ Lemma compile_byte_memcpy (n : nat) (bs bs2 : list byte) : Lemma com...
Write or extend the proof(s) in src/Bedrock/End2End/RupicolaCrypto/Low.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof-body changes (two `admit` statements added, a TODO comment wrapping a proof section, and a lemma signature type change from `list Syntax.func` to `list (String.string * Syntax.func)`), which constitute real proof engineering modifications that belong in a benchmark dataset, despite ...
fiat-crypto_a0610245_69ce43ee
fiat-crypto
coq
a061024555ef8561ab3979e8d1bb23844bb75037
dd17b7e8d299fd96786f428081604b53111288c6
Prove remaining theorems in Broadcast
src/Bedrock/End2End/RupicolaCrypto/Broadcast.v
proof_add
Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Loops. Require Coq.Init.Byte Coq.Strings.String. Import Init.Byte(byte(..)) String. Require Import coqutil.Datatypes.List. Import Lists.List List.ListNotations. Require Import Coq.ZArith.BinInt. Import Zdiv. Local Open Scope...
Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Loops. Require Coq.Init.Byte Coq.Strings.String. Import Init.Byte(byte(..)) String. Require Import coqutil.Datatypes.List. Import Lists.List List.ListNotations. Require Import Coq.ZArith.BinInt. Import Zdiv. Local Open Scope...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v b/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v index 6687c5885..15c15af3d 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v @@ -382,9 +382,9 @@ Section with_parameters. broadcast_expr l i...
Write or extend the proof(s) in src/Bedrock/End2End/RupicolaCrypto/Broadcast.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof-body changes: completing `Admitted` proofs with actual tactics and proof content (e.g., `broadcast_var`, `compile_broadcast_expr'`), fixing type signatures (adding `tr idx to` parameters), and rewriting tactic sequences (e.g., `ecancel_assumption_impl` → `seprewrite_in`/`ecancel_ass...
fiat-crypto_dd17b7e8_1807dcbb
fiat-crypto
coq
dd17b7e8d299fd96786f428081604b53111288c6
084d130195546531bac86ff9df4beb9cf8db0558
Prove more admits in main broadcast lemma
src/Bedrock/End2End/RupicolaCrypto/Broadcast.v
proof_add
Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Loops. Require Coq.Init.Byte Coq.Strings.String. Import Init.Byte(byte(..)) String. Require Import coqutil.Datatypes.List. Import Lists.List List.ListNotations. Require Import Coq.ZArith.BinInt. Import Zdiv. Local Open Scope...
Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Loops. Require Coq.Init.Byte Coq.Strings.String. Import Init.Byte(byte(..)) String. Require Import coqutil.Datatypes.List. Import Lists.List List.ListNotations. Require Import Coq.ZArith.BinInt. Import Zdiv. Local Open Scope...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v b/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v index f18b26ec2..6687c5885 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v @@ -189,7 +189,7 @@ Section with_parameters. truncate_of_T : for...
Write or extend the proof(s) in src/Bedrock/End2End/RupicolaCrypto/Broadcast.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof-body changes: two new lemmas (`map_predT_to_truncated_word` and `map_upd`) with full proof bodies, a signature change (`impl1 → iff1`), TODO comment updates, and significant tactic work completing previously admitted proof sections in `compile_broadcast_expr'`, making it a clear ACC...
fiat-crypto_084d1301_1eb2e087
fiat-crypto
coq
084d130195546531bac86ff9df4beb9cf8db0558
ad574987126935c02acadea6dac2065943c7ac52
Prove some subgoals of remaining admitted lemmas
src/Bedrock/End2End/RupicolaCrypto/Broadcast.v
proof_add
Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Loops. Require Coq.Init.Byte Coq.Strings.String. Import Init.Byte(byte(..)) String. Require Import coqutil.Datatypes.List. Import Lists.List List.ListNotations. Require Import Coq.ZArith.BinInt. Import Zdiv. Local Open Scope...
Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Loops. Require Coq.Init.Byte Coq.Strings.String. Import Init.Byte(byte(..)) String. Require Import coqutil.Datatypes.List. Import Lists.List List.ListNotations. Require Import Coq.ZArith.BinInt. Import Zdiv. Local Open Scope...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v b/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v index e674af692..f18b26ec2 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Broadcast.v @@ -240,7 +240,79 @@ Section with_parameters. + Lemma ranged_for...
Write or extend the proof(s) in src/Bedrock/End2End/RupicolaCrypto/Broadcast.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff shows substantive proof engineering work: completing three new lemmas (`ranged_for'_length_helper`, `ranged_for'_invariant`, `skipn_ranged_for'_upd`) with real proof bodies using induction and established tactics, replacing two `admit`s in `compile_broadcast_expr'` with actual proof content (contradiction argu...
fiat-crypto_ad574987_10a3f9bc
fiat-crypto
coq
ad574987126935c02acadea6dac2065943c7ac52
c0491a487648280afd8fb493d9655433753ca4e1
Get compilation lemmas applying for (pretty much) all of chacha20. TODO: side conditions
src/Bedrock/End2End/RupicolaCrypto/Derive.v
proof_add
Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Arrays. Require Import Rupicola.Lib.Loops. Require Import Rupicola.Lib.Gensym. Require Import coqutil.Word.LittleEndianList. Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Low. Require Import bedrock2.BasicC32Semantics. Section Bedrock2. Instance sp...
Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Arrays. Require Import Rupicola.Lib.Loops. Require Import Rupicola.Lib.Gensym. Require Import coqutil.Word.LittleEndianList. Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Low. Require Import bedrock2.BasicC32Semantics. Require Import Crypto.Bedrock.End...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Derive.v b/src/Bedrock/End2End/RupicolaCrypto/Derive.v index 0b11a72d2..e6a526294 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Derive.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Derive.v @@ -5,6 +5,7 @@ Require Import Rupicola.Lib.Gensym. Require Import coqutil.Word.Li...
Write or extend the proof(s) in src/Bedrock/End2End/RupicolaCrypto/Derive.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff substantially changes proof tactics and structure within an incomplete chacha20_block derivation proof—replacing `Fail` and commented-out attempts with new `eapply` applications of compilation lemmas, strategic `shelve`/`admit` placeholders, and restructured tactic sequences—representing genuine proof enginee...
fiat-crypto_c0491a48_088304f6
fiat-crypto
coq
c0491a487648280afd8fb493d9655433753ca4e1
b6dae11c838d026745f1886a93dc40e524a94b24
Add compilation lemma for word memcpy
src/Bedrock/End2End/RupicolaCrypto/Low.v
proof_add
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Examples.Loops Rupicola.Lib.Loops. (*TODO: move this file to Rupicola.Lib*) Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Broadcast. Requi...
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Examples.Loops Rupicola.Lib.Loops. (*TODO: move this file to Rupicola.Lib*) Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Broadcast. Requi...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Low.v b/src/Bedrock/End2End/RupicolaCrypto/Low.v index 98676b12c..64402c90b 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Low.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Low.v @@ -1024,8 +1024,65 @@ Lemma compile_byte_memcpy (n : nat) (bs bs2 : list byte) : } Qed...
Write or extend the proof(s) in src/Bedrock/End2End/RupicolaCrypto/Low.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds a new substantial lemma `compile_word_memcpy` with a real proof body using tactics, and modifies an existing proof (converting an `admit` to a structured proof attempt with `Abort`), which are both proof-engineering changes; the whitespace and commented sections are secondary.
fiat-crypto_b6dae11c_00e9b833
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/End2End/RupicolaCrypto/Low.v
proof_add
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Examples.Loops Rupicola.Lib.Loops. (*TODO: move this file to Rupicola.Lib*) Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Broadcast. Requi...
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Rupicola.Examples.Loops Rupicola.Lib.Loops. (*TODO: move this file to Rupicola.Lib*) Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Broadcast. Requi...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Low.v b/src/Bedrock/End2End/RupicolaCrypto/Low.v index 9d4b849f1..98676b12c 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Low.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Low.v @@ -157,7 +157,7 @@ Definition buf_pad {T} (buf: buffer_t T) (len: nat) (t: T) : buffer_t T := ...
Write or extend the proof(s) in src/Bedrock/End2End/RupicolaCrypto/Low.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff changes type signatures in `Context` declarations from `list Syntax.func` to `list (String.string * Syntax.func)`, which is a substantive type signature change that reflects a bedrock2 API update; this is an ACCEPT category change (type/signature modification), though the proofs themselves appear unchanged, su...
fiat-crypto_b6dae11c_3df403e3
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/End2End/X25519/Field25519.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import coqutil.Word.Bitwidth32. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Require Import Crypto.Bedrock.Field.Common.Names.VarnameGenerator. Require Import Crypto.Bedrock.Field.Interface.Representation...
Require Import Coq.Strings.String. Local Open Scope string_scope. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import coqutil.Word.Bitwidth32. Require Import coqutil.Macros.WithBaseName. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Require Import Crypto.Bedrock.Field.Common.Names.Var...
[]
diff --git a/src/Bedrock/End2End/X25519/Field25519.v b/src/Bedrock/End2End/X25519/Field25519.v index 64081cb65..a155e7e2a 100644 --- a/src/Bedrock/End2End/X25519/Field25519.v +++ b/src/Bedrock/End2End/X25519/Field25519.v @@ -1,7 +1,8 @@ -Require Import Coq.Strings.String. +Require Import Coq.Strings.String. Local Open ...
Write or extend the proof(s) in src/Bedrock/End2End/X25519/Field25519.v. Complete any unfinished proofs or add missing proof content.
accept
claude-sonnet-4-6
The diff changes proof statement signatures by replacing `(fe25519_X :: functions)` with `(&,fe25519_X :: functions)` using the new `WithBaseName` notation across multiple theorems, which constitutes a substantive identifier/notation change in proof bodies and specifications, plus adds a new import and removes commente...
fiat-crypto_b6dae11c_dd146744
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/End2End/X25519/GarageDoor.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Crypto.Spec.Curve25519. Require Import bedrock2.Map.Separation. Require Import bedrock2.Syntax. Require Import compiler.Pipeline. Require Import compiler.Symbols. Require Import compiler.MMIO. Require Impo...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Crypto.Spec.Curve25519. Require Import bedrock2.Map.Separation. Require Import bedrock2.Syntax. Require Import compiler.Pipeline. Require Import compiler.Symbols. Require Import compiler.MMIO. Require Impo...
[]
diff --git a/src/Bedrock/End2End/X25519/GarageDoor.v b/src/Bedrock/End2End/X25519/GarageDoor.v index 7390352cf..ffcded6de 100644 --- a/src/Bedrock/End2End/X25519/GarageDoor.v +++ b/src/Bedrock/End2End/X25519/GarageDoor.v @@ -37,16 +37,15 @@ Local Notation ST := 0x80000000. Local Notation PK := 0x80000040. Local Notat...
Write or extend the proof(s) in src/Bedrock/End2End/X25519/GarageDoor.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff contains substantive proof engineering changes including function definition refactoring (moving from explicit tuple syntax to `func!` notation), signature modifications (spec_of changes from function values to string names), instance declarations with updated arguments, and lemma statement edits—all of which ...
fiat-crypto_b6dae11c_9be73f0c
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/End2End/X25519/MontgomeryLadder.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Crypto.Spec.Curve25519. Require Import bedrock2.Map.Separation. Require Import bedrock2.Syntax. Require Import compiler.Pipeline. Require Import compiler.Symbols. Require Import compiler.MMIO. Require Impo...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Crypto.Spec.Curve25519. Require Import bedrock2.Map.Separation. Require Import bedrock2.Syntax. Require Import compiler.Pipeline. Require Import compiler.Symbols. Require Import compiler.MMIO. Require Impo...
[]
diff --git a/src/Bedrock/End2End/X25519/MontgomeryLadder.v b/src/Bedrock/End2End/X25519/MontgomeryLadder.v index 888aa640a..e2e2ee4e3 100644 --- a/src/Bedrock/End2End/X25519/MontgomeryLadder.v +++ b/src/Bedrock/End2End/X25519/MontgomeryLadder.v @@ -29,21 +29,21 @@ Proof. vm_compute. subst; exact eq_refl. Qed. Requir...
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 contains substantive proof engineering changes: (1) function definitions are rewritten from tuple constructor style to the new `func!` notation syntax, (2) spec instance types change from `spec_of x25519` to `spec_of "x25519"` (signature/statement change), and (3) the `funcs` list is refactored with new local...
fiat-crypto_b6dae11c_a051cf8e
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import bedrock2.Map.Separation. Require Import bedrock2.Map.SeparationLogic. Require Import bedrock2.Syntax. Require Import compiler.Pipeline. Require Import compiler.MMIO. Require Import compiler.NaiveRiscvWordProperties. Require Import coqutil.Map.SortedListWord. Require Impo...
Require Import Coq.ZArith.ZArith. Require Import bedrock2.Map.Separation. Require Import bedrock2.Map.SeparationLogic. Require Import bedrock2.Syntax. Require Import compiler.Pipeline. Require Import compiler.MMIO. Require Import compiler.NaiveRiscvWordProperties. Require Import coqutil.Map.SortedListWord. Require Impo...
[]
diff --git a/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v b/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v index ffa161ef9..d82dceb5e 100644 --- a/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v +++ b/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v @@ -18,17 +18,9 @@ Require Import C...
Write or extend the proof(s) in src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff removes intermediate definition bindings (`fname`, `argnames`, `retnames`, `fbody`) and refactors `f_rel_pos` from a tactic proof to a direct `ltac:(...)` term, then updates a proof that references these definitions by inlining the string literal and simplifying a `cbn` list—these are proof-body tactic changes...
fiat-crypto_b6dae11c_3e90779f
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Field/Stringification/Stringification.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Import bedrock2.Syntax. Require Import bedrock2.ToCString. Require Import coqutil.Word.Naive coqutil.Map.SortedListWord coqutil.Map.SortedListString. Require Import Crypto.Stringification.Language. Require Import...
Require Import Coq.ZArith.ZArith. Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Import bedrock2.Syntax. Require Import bedrock2.ToCString. Require Import coqutil.Word.Naive coqutil.Map.SortedListWord coqutil.Map.SortedListString. Require Import Crypto.Stringification.Language. Require Import...
[]
diff --git a/src/Bedrock/Field/Stringification/Stringification.v b/src/Bedrock/Field/Stringification/Stringification.v index e0599a2e3..1614a80e5 100644 --- a/src/Bedrock/Field/Stringification/Stringification.v +++ b/src/Bedrock/Field/Stringification/Stringification.v @@ -109,7 +109,7 @@ Section with_parameters. e...
Write or extend the proof(s) in src/Bedrock/Field/Stringification/Stringification.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff changes function signatures and type annotations (from `func` to `string * func`) in three places, which are substantive type/signature modifications affecting proof engineering; however, the changes appear mechanical (likely to adapt to a bedrock2 API change based on the commit message), and the actual proof...
fiat-crypto_b6dae11c_2897fea9
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Field/Synthesis/Examples/p224_64_new.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/Field/Synthesis/Examples/p224_64_new.v b/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v index 7189c0b63..25dc8f6eb 100644 --- a/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v +++ b/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v @@ -137,7 +137,7 @@ Section Field. ...
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 modifies proof tactics in a hand-written Bedrock example file (not a generated artifact like CurveParameters.v or synthesized op files). The changes remove trailing `; auto` tactics and restructure how `auto` is applied—semantically meaningful tactic edits that fall under substantive proof-body changes and be...
fiat-crypto_b6dae11c_f4d880b4
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Field/Synthesis/New/ComputedOp.v
proof_add
Require Import bedrock2.Syntax. Require Import Crypto.Bedrock.Field.Common.Types. Require Import Crypto.BoundsPipeline. Require Import Crypto.Bedrock.Field.Synthesis.New.Signature. Require Import Crypto.Language.API. Import API.Compilers. Record computed_op {width BW word mem locals env ext_spec varname_gen erro...
Require Import bedrock2.Syntax. Require Import Crypto.Bedrock.Field.Common.Types. Require Import Crypto.BoundsPipeline. Require Import Crypto.Bedrock.Field.Synthesis.New.Signature. Require Import Crypto.Language.API. Import API.Compilers. Record computed_op {width BW word mem locals env ext_spec varname_gen erro...
[]
diff --git a/src/Bedrock/Field/Synthesis/New/ComputedOp.v b/src/Bedrock/Field/Synthesis/New/ComputedOp.v index f34059927..faf87855e 100644 --- a/src/Bedrock/Field/Synthesis/New/ComputedOp.v +++ b/src/Bedrock/Field/Synthesis/New/ComputedOp.v @@ -15,9 +15,7 @@ Record computed_op { res : API.Expr t; b2_func : func...
Write or extend the proof(s) in src/Bedrock/Field/Synthesis/New/ComputedOp.v. Complete any unfinished proofs or add missing proof content.
accept
claude-sonnet-4-6
The diff modifies the `func_eq` field signature in the `computed_op` record definition by removing the `name` argument from `make_bedrock_func`, which is a substantive type/signature change to a definition.
fiat-crypto_b6dae11c_32fd126a
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Field/Synthesis/New/Signature.v
proof_add
Require Rupicola.Lib.Tactics. Require Import Coq.micromega.Lia. Require Import Coq.Strings.String. Require Import Coq.Lists.List. (* after strings *) Require Import Coq.QArith.QArith. Require Import Coq.ZArith.ZArith. Require Import bedrock2.Map.Separation. Require Import bedrock2.Map.SeparationLogic. Require Import be...
Require Rupicola.Lib.Tactics. Require Import Coq.micromega.Lia. Require Import Coq.Strings.String. Require Import Coq.Lists.List. (* after strings *) Require Import Coq.QArith.QArith. Require Import Coq.ZArith.ZArith. Require Import bedrock2.Map.Separation. Require Import bedrock2.Map.SeparationLogic. Require Import be...
[]
diff --git a/src/Bedrock/Field/Synthesis/New/Signature.v b/src/Bedrock/Field/Synthesis/New/Signature.v index e0d3514f6..0e5a567f7 100644 --- a/src/Bedrock/Field/Synthesis/New/Signature.v +++ b/src/Bedrock/Field/Synthesis/New/Signature.v @@ -39,14 +39,11 @@ Section Generic. Context {width BW word mem locals env...
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 contains substantive signature and proof-body changes: the `make_bedrock_func` definition is refactored to remove the `name` parameter (signature change), and multiple lemma statements are updated to reflect this change along with modified function list construction in proof contexts. These are real API migra...
fiat-crypto_b6dae11c_c21c3e88
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.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. ...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.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. ...
[]
diff --git a/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v b/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v index 86224593f..a245c75e1 100644 --- a/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v +++ b/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v @@ -307,7 +307,7 @@ Section UnsaturatedSolinas....
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 diff changes lemma statements (signatures) and proof-body tactics (`eapply` → `rapply`, plus an `Import` for Coq.Program.Tactics), which are substantive proof-engineering modifications; it also updates list cons patterns in function specs to use pairs instead of bare functions, reflecting API changes. These are re...
fiat-crypto_b6dae11c_894e73d8
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v
proof_add
Require Import Coq.micromega.Lia. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import bedrock2.Syntax. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Spec.ModularArithmetic. Require Import Crypto.Arithmetic.ModularArithmeticTheorems. Require I...
Require Import Coq.micromega.Lia. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import bedrock2.Syntax. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Spec.ModularArithmetic. Require Import Crypto.Arithmetic.ModularArithmeticTheorems. Require I...
[]
diff --git a/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v b/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v index e0cd04327..170c39f16 100644 --- a/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v +++ b/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v @@ -333,7 +333,7 @@ Qed. Lemma mul_f...
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
The diff changes function list constructions from `func :: functions` to `(name, func) :: functions` in multiple lemma statements, which is a substantive signature/specification change affecting the interface of these correctness lemmas, despite the syntactic similarity and the "bump bedrock2" context suggesting toolin...
fiat-crypto_b6dae11c_cbe74016
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Field/Translation/Proofs/Func.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import bedrock2.Syntax. Require Import bedrock2.ProgramLogic. Require Import bedrock2.Map.Separation. Require Import bedrock2.Map.SeparationLogic. Require Import bedrock2.Weakest...
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import bedrock2.Syntax. Require Import bedrock2.ProgramLogic. Require Import bedrock2.Map.Separation. Require Import bedrock2.Map.SeparationLogic. Require Import bedrock2.Weakest...
[]
diff --git a/src/Bedrock/Field/Translation/Proofs/Func.v b/src/Bedrock/Field/Translation/Proofs/Func.v index 130a81385..86364aabc 100644 --- a/src/Bedrock/Field/Translation/Proofs/Func.v +++ b/src/Bedrock/Field/Translation/Proofs/Func.v @@ -88,7 +88,7 @@ Section Func. forall (tr : Semantics.trace) ...
Write or extend the proof(s) in src/Bedrock/Field/Translation/Proofs/Func.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff changes type signatures in a Bedrock verification file from `list func` to `list (string*func)` and updates corresponding variable bindings—these are substantive signature/statement modifications to proof specifications that affect the proof-relevant structure, making it a real proof engineering challenge.
fiat-crypto_b6dae11c_03923aa8
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Group/ScalarMult/CSwap.v
proof_add
Require Import Coq.Program.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.Allo...
Require Import Coq.Program.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.Allo...
[]
diff --git a/src/Bedrock/Group/ScalarMult/CSwap.v b/src/Bedrock/Group/ScalarMult/CSwap.v index 524395d4a..be4291ee5 100644 --- a/src/Bedrock/Group/ScalarMult/CSwap.v +++ b/src/Bedrock/Group/ScalarMult/CSwap.v @@ -517,10 +517,8 @@ Section __. Import LoopCompiler. Hint Extern 10 (_ < _) => lia: compiler_side_condit...
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 engineering changes: it removes a separate `Definition felem_cswap := "felem_cswap"` definition and instead inlines the string literal directly into the spec and function invocations, which represents a real refactoring of how the function name is managed; additionally, it changes t...
fiat-crypto_b6dae11c_0e6c1d43
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Group/ScalarMult/MontgomeryLadder.v
proof_add
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.PrimeFieldTheorems. Require Import Crypto.Bedrock.Group.ScalarMult.LadderStep. Require Import Crypto.Bedrock.Group.ScalarMult.CSwap....
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.PrimeFieldTheorems. Require Import Crypto.Bedrock.Group.ScalarMult.LadderStep. Require Import Crypto.Bedrock.Group.ScalarMult.CSwap....
[]
diff --git a/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v b/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v index d718456a7..4410de585 100644 --- a/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v +++ b/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v @@ -301,14 +301,14 @@ Section __. Context { F_M_pos : Z.pos M_...
Write or extend the proof(s) in src/Bedrock/Group/ScalarMult/MontgomeryLadder.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff includes substantive changes to proof infrastructure (adding a new `Hint Extern` rule for `spec_of_cswap` and changing a string literal in the `using` clause from `felem_cswap` to `"felem_cswap"`), along with a minor Redirect output directive change; the hint addition and string quoting change are semantic pro...
fiat-crypto_b6dae11c_33fb8806
fiat-crypto
coq
b6dae11c838d026745f1886a93dc40e524a94b24
8b5135b4256ead45c2616343730be3d107fadee0
bump bedrock2 for func! Notations and clean up
src/Bedrock/Group/ScalarMult/ScalarMult.v
proof_add
(* NOTE: broken, fix after Crypto.Bedrock.Group.ScalarMult.MontgomeryLadder. *) Require Import Rupicola.Lib.Api. (* for helpful tactics + notations *) Require Import coqutil.Byte. Require Import Crypto.Algebra.Hierarchy. Require Import Crypto.Algebra.ScalarMult. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Requ...
(* NOTE: broken, fix after Crypto.Bedrock.Group.ScalarMult.MontgomeryLadder. *) Require Import Rupicola.Lib.Api. (* for helpful tactics + notations *) Require Import coqutil.Byte. Require Import Crypto.Algebra.Hierarchy. Require Import Crypto.Algebra.ScalarMult. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Requ...
[]
diff --git a/src/Bedrock/Group/ScalarMult/ScalarMult.v b/src/Bedrock/Group/ScalarMult/ScalarMult.v index 04fcfa73d..7481fd3f9 100644 --- a/src/Bedrock/Group/ScalarMult/ScalarMult.v +++ b/src/Bedrock/Group/ScalarMult/ScalarMult.v @@ -117,11 +117,10 @@ Module M. cmd.stackalloc n size (repeat_stackalloc size ...
Write or extend the proof(s) in src/Bedrock/Group/ScalarMult/ScalarMult.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof engineering changes: (1) the definition of `scmul_func` is refactored from tuple syntax to the newer `func!` notation, which is a real API migration requiring elaboration-shaping (`Import NotationsCustomEntry`), (2) the lemma statement for `scmul_func_correct` changes from `program_...
fiat-crypto_1390c025_da3ccc81
fiat-crypto
coq
1390c025936b58b32be3dda98cb809c09cd90eaa
b82e94e3358c7625bef9a6426cc5afcd8b23b70a
Handle `r[0~>0]` casts on `Z.mul_split` (#1474)
src/Rewriter/Rules.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Crypto.Util.ListUtil Coq.Lists.List Crypto.Util.ListUtil.FoldBool. Require Import Crypto.Util.ZRange. Require Import Crypto.Util.ZRange.Operations. Require Import Crypto.Util.ZUtil.Definitions. Require Import Crypto.Util.ZUtil.Notations. Require Import Crypto.Util.ZRange...
Require Import Coq.ZArith.ZArith. Require Import Crypto.Util.ListUtil Coq.Lists.List Crypto.Util.ListUtil.FoldBool. Require Import Crypto.Util.ZRange. Require Import Crypto.Util.ZRange.Operations. Require Import Crypto.Util.ZUtil.Definitions. Require Import Crypto.Util.ZUtil.Notations. Require Import Crypto.Util.ZRange...
[]
diff --git a/src/Rewriter/Rules.v b/src/Rewriter/Rules.v index 1ed263edd..68c345cdd 100644 --- a/src/Rewriter/Rules.v +++ b/src/Rewriter/Rules.v @@ -928,7 +928,8 @@ Section with_bitwidth. Context (bitwidth : Z) (lgcarrymax : Z). - Local Notation singlewidth_range := r[0~>2^bitwidth - 1]%zrange. + Loca...
Write or extend the proof(s) in src/Rewriter/Rules.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive proof/spec change adding a new rewrite rule lemma with multiple preconditions to handle `r[0~>0]` casts on `Z.mul_split`; it also refactors `singlewidth_range` notation to use an abstracted `singlewidth_upperbound`, which is a real engineering change affecting how the lemma is structured and prove...
fiat-crypto_1390c025_cb0e0d72
fiat-crypto
coq
1390c025936b58b32be3dda98cb809c09cd90eaa
b82e94e3358c7625bef9a6426cc5afcd8b23b70a
Handle `r[0~>0]` casts on `Z.mul_split` (#1474)
src/Rewriter/RulesProofs.v
proof_add
Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Crypto.Util.ListUtil Coq.Lists.List Crypto.Util.ListUtil.FoldBool. Require Import Crypto.Util.ZRange. Require Import Crypto.Util.ZRange.Operations. Require Import Crypto.Util.ZUtil.Definitions. Require Import Crypto.Util.ZUtil.Notations....
Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith Coq.ZArith.Znumtheory. Require Import Crypto.Util.ListUtil Coq.Lists.List Crypto.Util.ListUtil.FoldBool. Require Import Crypto.Util.ZRange. Require Import Crypto.Util.ZRange.Operations. Require Import Crypto.Util.ZUtil.Definitions. Require Import Crypto...
[]
diff --git a/src/Rewriter/RulesProofs.v b/src/Rewriter/RulesProofs.v index 481b09ada..6c7375bec 100644 --- a/src/Rewriter/RulesProofs.v +++ b/src/Rewriter/RulesProofs.v @@ -1,5 +1,5 @@ Require Import Coq.micromega.Lia. -Require Import Coq.ZArith.ZArith. +Require Import Coq.ZArith.ZArith Coq.ZArith.Znumtheory. Require...
Write or extend the proof(s) in src/Rewriter/RulesProofs.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff modifies proof tactics and adds import statements in a non-templated hand-written file (`src/Rewriter/RulesProofs.v`). The substantive changes are: adding imports (`Coq.ZArith.Znumtheory`, `Crypto.Util.ZUtil.Tactics.RewriteModDivide`, `Crypto.Util.ZUtil.Divide.Bool`), inserting a `subst;` tactic, and adding a...
fiat-crypto_19569f85_e693c29c
fiat-crypto
coq
19569f85099850eecb84d58ee634a852d4e83558
23442e4171c6375049b8fd43438ea583bbfbbe0b
Add `Z.divideb` and `Bool.reflect` for `Z.divide` (#1473)
src/Util/ZUtil/Definitions.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Crypto.Util.Decidable. Require Import Crypto.Util.ZUtil.Notations. Require Import Crypto.Util.LetIn. Local Open Scope Z_scope. Module Z. Definition pow2_mod n i := (n &' (Z.ones i)). Definition zselect (cond zero_case nonzero_case : Z) := if cond =? 0 then zero...
Require Import Coq.ZArith.ZArith. Require Import Crypto.Util.Decidable. Require Import Crypto.Util.ZUtil.Notations. Require Import Crypto.Util.LetIn. Local Open Scope Z_scope. Module Z. Definition divideb (x y : Z) : bool := if x =? 0 then y =? 0 else y mod x =? 0. Definition pow2_mod n i := (n ...
[]
diff --git a/src/Util/ZUtil/Definitions.v b/src/Util/ZUtil/Definitions.v index 6635cfb4a..1f40d191c 100644 --- a/src/Util/ZUtil/Definitions.v +++ b/src/Util/ZUtil/Definitions.v @@ -5,6 +5,11 @@ Require Import Crypto.Util.LetIn. Local Open Scope Z_scope. Module Z. + Definition divideb (x y : Z) : bool + := if x ...
Write or extend the proof(s) in src/Util/ZUtil/Definitions.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff adds a substantive new definition `Z.divideb` (a boolean decidability function for divisibility), introduces supporting notation, and includes minor whitespace fixes; this is a real API extension to the utility library that belongs in an evaluation dataset despite being small.
fiat-crypto_19569f85_d966dd60
fiat-crypto
coq
19569f85099850eecb84d58ee634a852d4e83558
23442e4171c6375049b8fd43438ea583bbfbbe0b
Add `Z.divideb` and `Bool.reflect` for `Z.divide` (#1473)
src/Util/ZUtil/Divide.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.ZArith.Znumtheory. Require Import Coq.micromega.Lia. Require Import Crypto.Util.ZUtil.Hints.Core. Require Import Crypto.Util.ZUtil.Div. Require Import Crypto.Util.ZUtil.Tactics.DivideExistsMul. Local Open Scope Z_scope. Module Z. Lemma divide_mul_div: forall a b c...
Require Import Coq.ZArith.ZArith. Require Import Coq.ZArith.Znumtheory. Require Import Coq.micromega.Lia. Require Import Crypto.Util.ZUtil.Hints.Core. Require Import Crypto.Util.ZUtil.Div. Require Import Crypto.Util.ZUtil.Tactics.DivideExistsMul. Require Import Crypto.Util.Tactics.DestructHead. Local Open Scope Z_scope...
[]
diff --git a/src/Util/ZUtil/Divide.v b/src/Util/ZUtil/Divide.v index 0b3bb18bc..679fbf8c3 100644 --- a/src/Util/ZUtil/Divide.v +++ b/src/Util/ZUtil/Divide.v @@ -4,6 +4,7 @@ Require Import Coq.micromega.Lia. Require Import Crypto.Util.ZUtil.Hints.Core. Require Import Crypto.Util.ZUtil.Div. Require Import Crypto.Util....
Write or extend the proof(s) in src/Util/ZUtil/Divide.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds substantive new lemmas (`mod_divide_full` and `mod_div_mod_full`) with complete proof bodies and a `Hint Rewrite` directive to a hand-written utility module (`src/Util/ZUtil/Divide.v`), plus a single import addition—all clear proof engineering content that belongs in an evaluation dataset.
fiat-crypto_19569f85_d750590d
fiat-crypto
coq
19569f85099850eecb84d58ee634a852d4e83558
23442e4171c6375049b8fd43438ea583bbfbbe0b
Add `Z.divideb` and `Bool.reflect` for `Z.divide` (#1473)
src/Util/ZUtil/Divide/Bool.v
proof_add
Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Crypto.Util.Bool.Reflect. Require Import Crypto.Util.ZUtil.Definitions. Require Import Crypto.Util.Tactics.DestructHead. Require Import Crypto.Util.Tactics.SpecializeBy. Local Open Scope Z_scope. Module Z. Lemma divideb_divide x y : Z...
[]
diff --git a/src/Util/ZUtil/Divide/Bool.v b/src/Util/ZUtil/Divide/Bool.v new file mode 100644 index 000000000..f961ae885 --- /dev/null +++ b/src/Util/ZUtil/Divide/Bool.v @@ -0,0 +1,25 @@ +Require Import Coq.micromega.Lia. +Require Import Coq.ZArith.ZArith. +Require Import Crypto.Util.Bool.Reflect. +Require Import Crypt...
Write the proof content for the declarations in src/Util/ZUtil/Divide/Bool.v.
accept
claude-haiku-4-5
This is a new file with substantive proof content—two lemmas (`divideb_divide` and a `reflect_rel` instance)—providing proof engineering for divisibility predicates, which clearly belongs in an evaluation dataset for AI proof synthesis.
fiat-crypto_19569f85_5bf6f401
fiat-crypto
coq
19569f85099850eecb84d58ee634a852d4e83558
23442e4171c6375049b8fd43438ea583bbfbbe0b
Add `Z.divideb` and `Bool.reflect` for `Z.divide` (#1473)
src/Util/ZUtil/Tactics/RewriteModDivide.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Crypto.Util.ZUtil.Divide. Local Open Scope Z_scope. Module Z. (** [rewrite_mod_divide] is a better version of [rewrite <- Z.mod_div_mod_full by rewrite_mod_divide_solver]; it backtracks across occurences that the solver fails to solve the side-conditions o...
[]
diff --git a/src/Util/ZUtil/Tactics/RewriteModDivide.v b/src/Util/ZUtil/Tactics/RewriteModDivide.v new file mode 100644 index 000000000..1f01d3401 --- /dev/null +++ b/src/Util/ZUtil/Tactics/RewriteModDivide.v @@ -0,0 +1,21 @@ +Require Import Coq.ZArith.ZArith. +Require Import Crypto.Util.ZUtil.Divide. +Local Open Scope...
Write the proof content for the declarations in src/Util/ZUtil/Tactics/RewriteModDivide.v.
accept
claude-haiku-4-5
This is a new file containing hand-written Ltac tactic definitions (not generated or auto-applied code) with real proof-engineering content—the tactics `rewrite_mod_divide`, `rewrite_mod_divide_in_hyps`, and `rewrite_mod_divide_in_all` are substantive Ltac-body edits that constitute novel proof infrastructure, making t...
fiat-crypto_b94f9839_63fb4c0f
fiat-crypto
coq
b94f983972a4fa26d11ee9527baa5623ead0b689
42cace10dde6471b6422ca282c585894dd16978b
Disable debug in StandaloneDebuggingExamples
src/StandaloneDebuggingExamples.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.Strings.Ascii. Require Import Coq.Strings.String. Require Crypto.Util.Strings.String. Require Import Crypto.CLI. Require Import Crypto.Util.Notations. Require Import Crypto.StandaloneOCamlMain. Import ListNotations. Local Open Scope string_scope. Module debugging_no_as...
Require Import Coq.Lists.List. Require Import Coq.Strings.Ascii. Require Import Coq.Strings.String. Require Crypto.Util.Strings.String. Require Import Crypto.CLI. Require Import Crypto.Util.Notations. Require Import Crypto.StandaloneOCamlMain. Import ListNotations. Local Open Scope string_scope. Module debugging_no_as...
[]
diff --git a/src/StandaloneDebuggingExamples.v b/src/StandaloneDebuggingExamples.v index ad56a44bd..9bdd440b4 100644 --- a/src/StandaloneDebuggingExamples.v +++ b/src/StandaloneDebuggingExamples.v @@ -15,7 +15,7 @@ Module debugging_no_asm. pose main as v. cbv beta iota zeta delta [main main_gen] in v. se...
Write or extend the proof(s) in src/StandaloneDebuggingExamples.v. Complete any unfinished proofs or add missing proof content.
accept
claude-sonnet-4-6
The diff modifies `assert (k = [...]) by admit` statements inside proof bodies, changing the string-literal arguments to the assertion (adding `"--debug"; "-all"` flags), which constitutes a substantive proof-body tactic change.
fiat-crypto_ceb01e7d_cc9b7e23
fiat-crypto
coq
ceb01e7d72c6e0eaa41f452cfd852e6414a216f1
598e05c4568296d72dd26e9e9908b238f3731adc
Revert "Perf hack: replace debug info with unit"
src/Util/DebugMonad.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Util.Notations. Require Export Crypto.Util.GlobalSettings. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Boolean Equality Schemes. Local Set Decidable Equality Schemes. Local Set Implicit Arguments. Mod...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Util.Notations. Require Export Crypto.Util.GlobalSettings. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Boolean Equality Schemes. Local Set Decidable Equality Schemes. Local Set Implicit Arguments. Mod...
[]
diff --git a/src/Util/DebugMonad.v b/src/Util/DebugMonad.v index 6ea439a44..31124ab49 100644 --- a/src/Util/DebugMonad.v +++ b/src/Util/DebugMonad.v @@ -30,30 +30,30 @@ Module tree. (* for efficient debugging at various depths *) End tree. Global Arguments empty {_}. End tree. -Definition DebugM {dbg : Type} (T ...
Write or extend the proof(s) in src/Util/DebugMonad.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff is a substantive reversion of a performance hack that changes the core definition of `DebugM` from `unit * T` back to `(tree.t (unit -> list dbg)) * T`, updates multiple function bodies (`debug'`, `bind`, `ret`, `get_debug_info`) to properly manipulate debug trees instead of ignoring them, and updates type si...
fiat-crypto_598e05c4_ee95a70d
fiat-crypto
coq
598e05c4568296d72dd26e9e9908b238f3731adc
f1c561d1ebc3fba887910b292a8667474a1c48f6
Perf hack: replace debug info with unit
src/Util/DebugMonad.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Util.Notations. Require Export Crypto.Util.GlobalSettings. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Boolean Equality Schemes. Local Set Decidable Equality Schemes. Local Set Implicit Arguments. Mod...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Util.Notations. Require Export Crypto.Util.GlobalSettings. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Boolean Equality Schemes. Local Set Decidable Equality Schemes. Local Set Implicit Arguments. Mod...
[]
diff --git a/src/Util/DebugMonad.v b/src/Util/DebugMonad.v index 31124ab49..6ea439a44 100644 --- a/src/Util/DebugMonad.v +++ b/src/Util/DebugMonad.v @@ -30,30 +30,30 @@ Module tree. (* for efficient debugging at various depths *) End tree. Global Arguments empty {_}. End tree. -Definition DebugM {dbg} (T : Type)...
Write or extend the proof(s) in src/Util/DebugMonad.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive proof-engineering change that replaces the debug-info data structure with a unit stub (performance optimization), modifying multiple definition bodies and signatures throughout a hand-written utility module (`src/Util/DebugMonad.v` is not a generated file); while the changes are semantically simpl...
fiat-crypto_f1c561d1_2e9aa9a5
fiat-crypto
coq
f1c561d1ebc3fba887910b292a8667474a1c48f6
d4f66d980839e0d75ff4ed85ad0e7dccdc74f4c8
Make slow prime synthesis more robust
src/SlowPrimeSynthesisExamples.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SlowPrimeSynthesisExamples.v b/src/SlowPrimeSynthesisExamples.v index 24616f803..e4da91753 100644 --- a/src/SlowPrimeSynthesisExamples.v +++ b/src/SlowPrimeSynthesisExamples.v @@ -397,8 +397,8 @@ Module debugging_typedefs. cbv [Language.Compilers.ToString.ToFunctionLines] in v. cbv [C.Out...
Write or extend the proof(s) in src/SlowPrimeSynthesisExamples.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff modifies proof-body tactics in substantive ways—wrapping a `set`/`vm_compute`/`subst` block in a `try` statement and changing two `pose` to `epose` calls—these are genuine proof engineering changes that improve robustness by handling potential failures, making them ACCEPT despite being in a demonstration/debug...
fiat-crypto_d4f66d98_149204dd
fiat-crypto
coq
d4f66d980839e0d75ff4ed85ad0e7dccdc74f4c8
bfa84000fb032e39a218ad1846b121ee6b6eaef1
Perf hack: More lets
src/Util/DebugMonad.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Util.Notations. Require Export Crypto.Util.GlobalSettings. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Boolean Equality Schemes. Local Set Decidable Equality Schemes. Local Set Implicit Arguments. Mod...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Util.Notations. Require Export Crypto.Util.GlobalSettings. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Boolean Equality Schemes. Local Set Decidable Equality Schemes. Local Set Implicit Arguments. Mod...
[]
diff --git a/src/Util/DebugMonad.v b/src/Util/DebugMonad.v index 4259b1c5b..31124ab49 100644 --- a/src/Util/DebugMonad.v +++ b/src/Util/DebugMonad.v @@ -41,13 +41,16 @@ Module Debug. Notation debug v := (debug' (fun 'tt => v)). Local Notation eta x := (fst x, snd x). Definition bind {dbg A B} (x : DebugM A) (k...
Write or extend the proof(s) in src/Util/DebugMonad.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive proof-body/definition edit: the `bind` and `map` definitions have their implementation changed by introducing additional `let` bindings (a performance optimization technique to control reduction during elaboration), which affects the computational behavior and proof-relevant structure even though ...
fiat-crypto_ecfa5e28_231c3d89
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/BoundsPipeline.v
proof_add
(** * BoundsPipeline *) (** This file assembles the various compiler stages together into a composed pipeline. It is the final interface for the compiler, right before integration with Arithmetic. *) Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith_base. Require Import Coq.Lists.List. Require...
(** * BoundsPipeline *) (** This file assembles the various compiler stages together into a composed pipeline. It is the final interface for the compiler, right before integration with Arithmetic. *) Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith_base. Require Import Coq.Lists.List. Require...
[]
diff --git a/src/BoundsPipeline.v b/src/BoundsPipeline.v index 87aea8ec3..b398e3f02 100644 --- a/src/BoundsPipeline.v +++ b/src/BoundsPipeline.v @@ -31,6 +31,7 @@ Require Import Crypto.Util.Tactics.UniquePose. Require Import Crypto.Util.Tactics.AllInstances. Require Import Crypto.Util.Tactics.PrintContext. Require I...
Write or extend the proof(s) in src/BoundsPipeline.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff adds substantive proof engineering content: new type class definitions (`debug_rewriting_opt`, etc.), scope declarations, a new monad module `M` with binding operations and notations, and refactored definitions (`RewriteAndEliminateDeadAndInline_gen`) that change proof signatures and tactics (using monadic bin...
fiat-crypto_ecfa5e28_1b12ca13
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/CLI.v
proof_add
Require Import Coq.QArith.QArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.Ascii. Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Import Coq.Strings.HexString. Require Crypto.Util.Strings.String. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. R...
Require Import Coq.QArith.QArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.Ascii. Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Import Coq.Strings.HexString. Require Crypto.Util.Strings.String. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. R...
[]
diff --git a/src/CLI.v b/src/CLI.v index 83f35fea3..7c05f8c57 100644 --- a/src/CLI.v +++ b/src/CLI.v @@ -16,6 +16,8 @@ Require Import Crypto.Util.Strings.NamingConventions. Require Import Crypto.Util.Option. Require Import Crypto.Util.OptionList. Require Import Crypto.Util.Strings.Show. +Require Import Crypto.Util.S...
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 makes substantive changes to proof/definition bodies and function signatures (CollectErrors, debug_spec, CLI option record additions), including meaningful updates to how debug information flows through the synthesizer pipeline via monad transformations—these are real proof engineering changes despite the fea...
fiat-crypto_ecfa5e28_aa4fadaa
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/PushButtonSynthesis/BarrettReduction.v
proof_add
(** * Push-Button Synthesis of Barrett Reduction *) Require Import Coq.Strings.String. Require Import Coq.ZArith.ZArith. Require Import Coq.Lists.List. Require Import Coq.derive.Derive. Require Import Coq.micromega.Lia. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ListUtil. Require Import Crypto.Util.Z...
(** * Push-Button Synthesis of Barrett Reduction *) Require Import Coq.Strings.String. Require Import Coq.ZArith.ZArith. Require Import Coq.Lists.List. Require Import Coq.derive.Derive. Require Import Coq.micromega.Lia. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ListUtil. Require Import Crypto.Util.Z...
[]
diff --git a/src/PushButtonSynthesis/BarrettReduction.v b/src/PushButtonSynthesis/BarrettReduction.v index 2f0877105..445c10257 100644 --- a/src/PushButtonSynthesis/BarrettReduction.v +++ b/src/PushButtonSynthesis/BarrettReduction.v @@ -157,7 +157,7 @@ Section rbarrett_red. bound. Definition sbarrett_red...
Write or extend the proof(s) in src/PushButtonSynthesis/BarrettReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff changes a type signature from `Pipeline.ErrorT` to `Pipeline.M` in the definition of `sbarrett_red`, which is a substantive type-level change that affects the proof/definition's interface and semantics, making it an ACCEPT despite the minimal syntactic change.
fiat-crypto_ecfa5e28_5884e6f1
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/PushButtonSynthesis/BaseConversion.v
proof_add
(** * Push-Button Synthesis of Unsaturated Solinas *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Re...
(** * Push-Button Synthesis of Unsaturated Solinas *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Re...
[]
diff --git a/src/PushButtonSynthesis/BaseConversion.v b/src/PushButtonSynthesis/BaseConversion.v index 8ebcb765b..8cfd82fbe 100644 --- a/src/PushButtonSynthesis/BaseConversion.v +++ b/src/PushButtonSynthesis/BaseConversion.v @@ -240,7 +240,7 @@ Section __. (Some out_bounds). Definition sconvert_bases (pr...
Write or extend the proof(s) in src/PushButtonSynthesis/BaseConversion.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff changes type signatures in two definition statements from `Pipeline.ErrorT` to `Pipeline.M`, which is a substantive type-level change affecting the return types of `sconvert_bases` and `Synthesize`; these are not mere whitespace or comment changes, but alterations to actual definitions that impact their seman...
fiat-crypto_ecfa5e28_87ff9495
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/PushButtonSynthesis/FancyMontgomeryReduction.v
proof_add
(** * Push-Button Synthesis of Montgomery Reduction *) Require Import Coq.Strings.String. Require Import Coq.ZArith.ZArith. Require Import Coq.micromega.Lia. Require Import Coq.Lists.List. Require Import Coq.derive.Derive. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ListUtil. Require Import Crypto.Uti...
(** * Push-Button Synthesis of Montgomery Reduction *) Require Import Coq.Strings.String. Require Import Coq.ZArith.ZArith. Require Import Coq.micromega.Lia. Require Import Coq.Lists.List. Require Import Coq.derive.Derive. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ListUtil. Require Import Crypto.Uti...
[]
diff --git a/src/PushButtonSynthesis/FancyMontgomeryReduction.v b/src/PushButtonSynthesis/FancyMontgomeryReduction.v index 03bbde5da..f0e065cf5 100644 --- a/src/PushButtonSynthesis/FancyMontgomeryReduction.v +++ b/src/PushButtonSynthesis/FancyMontgomeryReduction.v @@ -142,7 +142,7 @@ Section rmontred. bound. ...
Write or extend the proof(s) in src/PushButtonSynthesis/FancyMontgomeryReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive type signature change to `smontred`, modifying the return type from `Pipeline.ErrorT (Pipeline.ExtendedSynthesisResult _)` to `Pipeline.M (Pipeline.ExtendedSynthesisResult _)`, which represents a real proof engineering API migration in the synthesis pipeline infrastructure.
fiat-crypto_ecfa5e28_cb038dca
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/PushButtonSynthesis/Primitives.v
proof_add
(** * Push-Button Synthesis of Primitives *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Require Imp...
(** * Push-Button Synthesis of Primitives *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Require Imp...
[]
diff --git a/src/PushButtonSynthesis/Primitives.v b/src/PushButtonSynthesis/Primitives.v index 5a65ece2e..4e8c17241 100644 --- a/src/PushButtonSynthesis/Primitives.v +++ b/src/PushButtonSynthesis/Primitives.v @@ -35,6 +35,7 @@ Require Import Crypto.PushButtonSynthesis.ReificationCache. Require Import Crypto.Util.Error...
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 diff contains substantive changes to type signatures (replacing `Pipeline.ErrorT` with `Pipeline.M`), structural changes to record definitions (adding `debug_rewriting` field), and semantic proof-body changes (e.g., `match res` → `match Debug.eval_result res`), which are beyond the scope of REJECT categories and c...
fiat-crypto_ecfa5e28_882f0011
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/PushButtonSynthesis/SaturatedSolinas.v
proof_add
(** * Push-Button Synthesis of Saturated Solinas *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Requ...
(** * Push-Button Synthesis of Saturated Solinas *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Requ...
[]
diff --git a/src/PushButtonSynthesis/SaturatedSolinas.v b/src/PushButtonSynthesis/SaturatedSolinas.v index 47daa50ec..69355e4f8 100644 --- a/src/PushButtonSynthesis/SaturatedSolinas.v +++ b/src/PushButtonSynthesis/SaturatedSolinas.v @@ -160,7 +160,7 @@ Section __. (Some boundsn, None (* Should be: Some r[0~>0...
Write or extend the proof(s) in src/PushButtonSynthesis/SaturatedSolinas.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff changes type signatures in two function definitions (`smul` and `Synthesize`) from `Pipeline.ErrorT` to `Pipeline.M`, which is a substantive type-level change affecting the proof engineering interface; while the actual proof bodies remain unchanged in this diff, the signature modifications represent a semanti...
fiat-crypto_ecfa5e28_841b5ef8
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/PushButtonSynthesis/UnsaturatedSolinas.v
proof_add
(** * Push-Button Synthesis of Unsaturated Solinas *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Re...
(** * Push-Button Synthesis of Unsaturated Solinas *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.derive.Derive. Re...
[]
diff --git a/src/PushButtonSynthesis/UnsaturatedSolinas.v b/src/PushButtonSynthesis/UnsaturatedSolinas.v index 7b6654333..64d033a31 100644 --- a/src/PushButtonSynthesis/UnsaturatedSolinas.v +++ b/src/PushButtonSynthesis/UnsaturatedSolinas.v @@ -345,7 +345,7 @@ Section __. (Some tight_bounds). Definition ...
Write or extend the proof(s) in src/PushButtonSynthesis/UnsaturatedSolinas.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff primarily changes type signatures from `Pipeline.ErrorT` to `Pipeline.M` (a monad abstraction refactor) across multiple definition return types in the UnsaturatedSolinas synthesis module, with one substantive proof-body change (`copy_correct` lemma switching from `Primitives.prove_correctness` to `apply Primi...
fiat-crypto_ecfa5e28_491f13cc
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/PushButtonSynthesis/WordByWordMontgomery.v
proof_add
(** * Push-Button Synthesis of Word-By-Word Montgomery *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.Program.Tacti...
(** * Push-Button Synthesis of Word-By-Word Montgomery *) Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.MSets.MSetPositive. Require Import Coq.Lists.List. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Import Coq.Program.Tacti...
[]
diff --git a/src/PushButtonSynthesis/WordByWordMontgomery.v b/src/PushButtonSynthesis/WordByWordMontgomery.v index 62dcc42ec..74888dc11 100644 --- a/src/PushButtonSynthesis/WordByWordMontgomery.v +++ b/src/PushButtonSynthesis/WordByWordMontgomery.v @@ -288,7 +288,7 @@ Section __. (Some montgomery_domain_bound...
Write or extend the proof(s) in src/PushButtonSynthesis/WordByWordMontgomery.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff changes type signatures across multiple definitions from `Pipeline.ErrorT` to `Pipeline.M`, which is a substantive type-level/API migration affecting definition signatures; while the proofs themselves remain unchanged (only `Eval cbv beta in` expressions compute the same values), the signature changes represe...
fiat-crypto_ecfa5e28_29afa982
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/Rewriter/PerfTesting/Core.v
proof_add
Require Export Coq.ZArith.ZArith. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Export Coq.Strings.String. Require Import Coq.Lists.List. Require Crypto.ArithmeticCPS.Core. Require Crypto.ArithmeticCPS.ModOps. Require Crypto.ArithmeticCPS.Saturated. Require Crypto.ArithmeticCPS.WordByWordMontgomery. ...
Require Export Coq.ZArith.ZArith. Require Import Coq.QArith.QArith_base Coq.QArith.Qround. Require Export Coq.Strings.String. Require Import Coq.Lists.List. Require Crypto.ArithmeticCPS.Core. Require Crypto.ArithmeticCPS.ModOps. Require Crypto.ArithmeticCPS.Saturated. Require Crypto.ArithmeticCPS.WordByWordMontgomery. ...
[]
diff --git a/src/Rewriter/PerfTesting/Core.v b/src/Rewriter/PerfTesting/Core.v index d5f04eac9..fc5957698 100644 --- a/src/Rewriter/PerfTesting/Core.v +++ b/src/Rewriter/PerfTesting/Core.v @@ -121,7 +121,7 @@ Module Import UnsaturatedSolinas. Definition PipelineArithOf : Expr _ := let E := E2 in - ...
Write or extend the proof(s) in src/Rewriter/PerfTesting/Core.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff modifies definition bodies in a hand-written proof file (`src/Rewriter/PerfTesting/Core.v`, which is not a generated artifact per the guidelines) by wrapping pipeline calls with debug instrumentation and adding a string label argument — this is a substantive change to definitions and their semantics that affec...
fiat-crypto_ecfa5e28_4765bca1
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/SlowPrimeSynthesisExamples.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
Require Import Coq.ZArith.ZArith. Require Import Coq.QArith.QArith. Require Import Coq.QArith.Qround. Require Import Coq.Strings.String. Require Import Coq.derive.Derive. Require Import Coq.Lists.List. Require Import Crypto.Util.ZRange. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Req...
[]
diff --git a/src/SlowPrimeSynthesisExamples.v b/src/SlowPrimeSynthesisExamples.v index 5f6f702aa..24616f803 100644 --- a/src/SlowPrimeSynthesisExamples.v +++ b/src/SlowPrimeSynthesisExamples.v @@ -16,6 +16,7 @@ Require Crypto.Stringification.C. Require Crypto.Stringification.Go. Require Crypto.Stringification.Java. ...
Write or extend the proof(s) in src/SlowPrimeSynthesisExamples.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff modifies proof-body tactics in a hand-written debugging/examples file (src/SlowPrimeSynthesisExamples.v), changing `set`, `vm_compute`, `cbv`, and `unfold` directives to work with a new `DebugMonad` infrastructure and `Pipeline.BoundsPipelineWithDebug` function; while the changes are extensive tactical refact...
fiat-crypto_ecfa5e28_b0882983
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/StandaloneDebuggingExamples.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.Strings.Ascii. Require Import Coq.Strings.String. Require Crypto.Util.Strings.String. Require Import Crypto.CLI. Require Import Crypto.Util.Notations. Require Import Crypto.StandaloneOCamlMain. Import ListNotations. Local Open Scope string_scope. Module debugging_no_as...
Require Import Coq.Lists.List. Require Import Coq.Strings.Ascii. Require Import Coq.Strings.String. Require Crypto.Util.Strings.String. Require Import Crypto.CLI. Require Import Crypto.Util.Notations. Require Import Crypto.StandaloneOCamlMain. Import ListNotations. Local Open Scope string_scope. Module debugging_no_as...
[]
diff --git a/src/StandaloneDebuggingExamples.v b/src/StandaloneDebuggingExamples.v index 0e9cfc0a7..ad56a44bd 100644 --- a/src/StandaloneDebuggingExamples.v +++ b/src/StandaloneDebuggingExamples.v @@ -25,6 +25,8 @@ Module debugging_no_asm. cbv [ForExtraction.parse_common_optional_options] in v. cbv [ForExtrac...
Write or extend the proof(s) in src/StandaloneDebuggingExamples.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff adds substantive tactic sequences to an existing proof (computational simplification steps using `vm_compute`, `cbv`, `cbn`, `let`, `rename`, `pose`, `subst`, and `unfold`), which constitutes real proof-body engineering that shapes term elaboration and proof state; although the file is a debugging/examples mod...
fiat-crypto_ecfa5e28_bc80ad06
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/Util/DebugMonad.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Util.Notations. Require Export Crypto.Util.GlobalSettings. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Boolean Equality Schemes. Local Set Decidable Equality Schemes. Local Set Implicit Arguments. Mod...
[]
diff --git a/src/Util/DebugMonad.v b/src/Util/DebugMonad.v new file mode 100644 index 000000000..4259b1c5b --- /dev/null +++ b/src/Util/DebugMonad.v @@ -0,0 +1,69 @@ +Require Import Coq.Strings.String. +Require Import Coq.Lists.List. +Require Import Crypto.Util.Notations. +Require Export Crypto.Util.GlobalSettings. +Re...
Write the proof content for the declarations in src/Util/DebugMonad.v.
accept
claude-haiku-4-5
This is a new file with substantive proof/definition content (a monad implementation for debugging with multiple definitions, a helper lemma, and notation declarations), which qualifies as ACCEPT under the "A new file with real definitions/lemmas/proofs" rule; the single lemma proof is trivial (reflexivity) but the ove...
fiat-crypto_ecfa5e28_41fdb86b
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/Util/FSets/FMapString.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.FSets.FMapFullAVL. Require Import Coq.FSets.FMapInterface. Require Import Coq.Structures.OrderedTypeEx. Require Export Crypto.Util.FixCoqMistakes. (* TODO: use tries instead? *) Module StringMap <: S := FMapFullAVL.Make String_as_OT.
[]
diff --git a/src/Util/FSets/FMapString.v b/src/Util/FSets/FMapString.v new file mode 100644 index 000000000..4a445c1fb --- /dev/null +++ b/src/Util/FSets/FMapString.v @@ -0,0 +1,8 @@ +Require Import Coq.Strings.String. +Require Import Coq.FSets.FMapFullAVL. +Require Import Coq.FSets.FMapInterface. +Require Import Coq.S...
Write the proof content for the declarations in src/Util/FSets/FMapString.v.
accept
claude-sonnet-4-6
This is a new file with a real module definition (`StringMap`) that instantiates a functional map over strings, which is substantive proof engineering content.
fiat-crypto_ecfa5e28_4a05cf89
fiat-crypto
coq
ecfa5e286e6d7591c413e5967f5a0b3582c1218d
db7bba10444d26132f705dde8da5eb34386c1fdc
Add `--debug` flag and debug info for rewriting
src/Util/Strings/ParseDebugOptions.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Crypto.Util.Strings.String. Require Import Crypto.Util.Strings.Show. Require Crypto.Util.Tuple. Require Import Crypto.Util.Option. Require Import Crypto.Util.FSets.FMapString. Require Import Crypto.Util.MSets.MSetString. Import ListNotatio...
[]
diff --git a/src/Util/Strings/ParseDebugOptions.v b/src/Util/Strings/ParseDebugOptions.v new file mode 100644 index 000000000..a4023a5ec --- /dev/null +++ b/src/Util/Strings/ParseDebugOptions.v @@ -0,0 +1,95 @@ +Require Import Coq.Strings.String. +Require Import Coq.Lists.List. +Require Import Crypto.Util.Strings.Strin...
Write the proof content for the declarations in src/Util/Strings/ParseDebugOptions.v.
accept
claude-haiku-4-5
This is a new file with substantive definitions and proof-like structures (Variants, Coercions, Instances, Fixpoint) defining a debug-option parsing module—real proof engineering content that belongs in a benchmark dataset, despite containing no explicit Coq proofs (it's declarative/definitional).
fiat-crypto_73c467e0_5c2a1e6d
fiat-crypto
coq
73c467e0309f7dea6b854ec9e5311a8c7e13b014
bc9a5ad6eadde5b97f5209e0d7d752c710def7e3
Add Tuple.{cons,rsnoc} (#1462)
src/Util/Tuple.v
proof_add
Require Import Coq.Classes.Morphisms. Require Import Coq.Relations.Relation_Definitions. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Crypto.Util.Option. Require Import Crypto.Util.Prod. Require Import Crypto.Util.Tactics.DestructHead. Require Import Crypto.Util.Tactics.BreakMatch. Re...
Require Import Coq.Classes.Morphisms. Require Import Coq.Relations.Relation_Definitions. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Crypto.Util.Option. Require Import Crypto.Util.Prod. Require Import Crypto.Util.Tactics.DestructHead. Require Import Crypto.Util.Tactics.BreakMatch. Re...
[]
diff --git a/src/Util/Tuple.v b/src/Util/Tuple.v index 1f1fd169f..19280e6e5 100644 --- a/src/Util/Tuple.v +++ b/src/Util/Tuple.v @@ -42,6 +42,11 @@ Fixpoint rsnoc' T n {struct n} : forall (x : rtuple' T n) (y : T), rtuple' T (S | S n' => fun x y => (fst x, @rsnoc' T n' (snd x) y) end. Global Arguments rsno...
Write or extend the proof(s) in src/Util/Tuple.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds two substantive new definitions (`rsnoc` and `cons` wrappers around their primed versions) and makes minor stylistic updates (replacing `cons` pattern with `::` notation in list matching), all in a hand-written utility file (`src/Util/Tuple.v`), which constitutes real proof engineering content and is wel...
fiat-crypto_bc9a5ad6_3c8e0292
fiat-crypto
coq
bc9a5ad6eadde5b97f5209e0d7d752c710def7e3
5a8251207057208717f62fb8f4b23b172824e5bd
allow input aliasing in compile_binop
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. Section Compile. Context {width: Z} {BW: Bitwidth width} {word: word.word width} {mem: map.map word Byte.byte}. Context {loca...
[]
diff --git a/src/Bedrock/Field/Interface/Compilation2.v b/src/Bedrock/Field/Interface/Compilation2.v index d7714ff42..134e27f5a 100644 --- a/src/Bedrock/Field/Interface/Compilation2.v +++ b/src/Bedrock/Field/Interface/Compilation2.v @@ -107,7 +107,7 @@ Section Compile. {tr m l functions} x y: let v := bin...
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 changes the theorem statement (signature/type) of `compile_binop_correct` by splitting the input memory assertion from a combined `Rin` into separate `Rx` and `Ry` predicates, and updates the proof tactics accordingly (`H5 → H6`), which is a substantive specification and proof-body change that affects the pro...