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_a7e929b9_db597507
fiat-crypto
coq
a7e929b9f8e39e593235202cadd0710db8589557
bb756e43d1a819d41d0a3ca0f32be2870f83067c
Support duplicate functions in --hints-file
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 3d22d9edc..5e30e366e 100644 --- a/src/BoundsPipeline.v +++ b/src/BoundsPipeline.v @@ -222,7 +222,7 @@ Typeclasses Opaque widen_bytes_opt. Class unfold_value_barrier_opt := unfold_value_barrier : bool. Typeclasses Opaque unfold_value_barrier_opt. (** Line...
Write or extend the proof(s) in src/BoundsPipeline.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive change to definition signatures and proof-related error-handling infrastructure in the BoundsPipeline module: it modifies the `assembly_hints_lines_opt` class type, adds new constructor variants to the `exception` inductive type (`Equivalence_checking_failure_pre_asm` and updates to `Assembly_pars...
fiat-crypto_a7e929b9_6db5d026
fiat-crypto
coq
a7e929b9f8e39e593235202cadd0710db8589557
bb756e43d1a819d41d0a3ca0f32be2870f83067c
Support duplicate functions in --hints-file
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 cc9bc77ee..998e12c74 100644 --- a/src/CLI.v +++ b/src/CLI.v @@ -390,7 +390,7 @@ Module ForExtraction. Definition hint_file_spec : named_argT := ([Arg.long_key "hints-file"], Arg.String, - ["An assembly file to be read for hinting the synthesis process. U...
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-engineering logic: it modifies the type and handling of `assembly_hints_lines_opt` from an `Option` type (accepting `None`/`Some`) to a list type (accepting `[]`/cons), which requires updating function signatures, pattern matches, and CPS continuations throughout the code—th...
fiat-crypto_a7e929b9_076b1861
fiat-crypto
coq
a7e929b9f8e39e593235202cadd0710db8589557
bb756e43d1a819d41d0a3ca0f32be2870f83067c
Support duplicate functions in --hints-file
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 1cd77df6b..3b34d5990 100644 --- a/src/PushButtonSynthesis/BarrettReduction.v +++ b/src/PushButtonSynthesis/BarrettReduction.v @@ -72,7 +72,7 @@ Section rbarrett_red. Local Instance split_mul_to : split_mul_to_o...
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 is a substantive change to a configuration instance (`assembly_hints_lines`) that affects proof synthesis behavior—changing from `None` to `[]` alters how the system handles assembly hints, which is a meaningful semantic difference in a hand-written `src/PushButtonSynthesis/` file (not a generated artifact), quali...
fiat-crypto_a7e929b9_26538de2
fiat-crypto
coq
a7e929b9f8e39e593235202cadd0710db8589557
bb756e43d1a819d41d0a3ca0f32be2870f83067c
Support duplicate functions in --hints-file
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 f760007ef..13a7e1a32 100644 --- a/src/PushButtonSynthesis/FancyMontgomeryReduction.v +++ b/src/PushButtonSynthesis/FancyMontgomeryReduction.v @@ -75,7 +75,7 @@ Section rmontred. Local Instance s...
Write or extend the proof(s) in src/PushButtonSynthesis/FancyMontgomeryReduction.v. Complete any unfinished proofs or add missing proof content.
accept
claude-sonnet-4-6
This changes a `Local Instance` body from `None` to `[]`, which is a substantive type/value change in a definition body within a non-generated proof engineering file.
fiat-crypto_a7e929b9_d3fda1b6
fiat-crypto
coq
a7e929b9f8e39e593235202cadd0710db8589557
bb756e43d1a819d41d0a3ca0f32be2870f83067c
Support duplicate functions in --hints-file
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 62fe71b0b..3d2f0263f 100644 --- a/src/PushButtonSynthesis/Primitives.v +++ b/src/PushButtonSynthesis/Primitives.v @@ -32,6 +32,8 @@ Require Import Crypto.Arithmetic.UniformWeight. Require Import Crypto.BoundsPipeline. Requi...
Write or extend the proof(s) in src/PushButtonSynthesis/Primitives.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive proof engineering change that modifies the core logic of assembly function parsing and handling—replacing single-file assembly hints with multi-file support, refactoring `split_to_assembly_functions`, and adjusting the synthesis pipeline accordingly; while there are import additions and whitespace...
fiat-crypto_a7e929b9_9842feef
fiat-crypto
coq
a7e929b9f8e39e593235202cadd0710db8589557
bb756e43d1a819d41d0a3ca0f32be2870f83067c
Support duplicate functions in --hints-file
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 21904fddc..c2c1b96d3 100644 --- a/src/SlowPrimeSynthesisExamples.v +++ b/src/SlowPrimeSynthesisExamples.v @@ -39,7 +39,7 @@ Local Coercion Z.pos : positive >-> Z. Local Existing Instance default_low_level_rewriter_method. Local Exi...
Write or extend the proof(s) in src/SlowPrimeSynthesisExamples.v. Complete any unfinished proofs or add missing proof content.
accept
claude-sonnet-4-6
This changes a `Local Instance` body from `None` to `[]`, which is a real type/value change to an instance definition (switching from an option type to a list type), not merely a whitespace or import change.
fiat-crypto_a7e929b9_1dd15e89
fiat-crypto
coq
a7e929b9f8e39e593235202cadd0710db8589557
bb756e43d1a819d41d0a3ca0f32be2870f83067c
Support duplicate functions in --hints-file
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 3c25251ab..109aacde9 100644 --- a/src/StandaloneDebuggingExamples.v +++ b/src/StandaloneDebuggingExamples.v @@ -65,7 +65,7 @@ Module debugging_no_asm. vm_compute Language.Compilers.ToString.int.option.interp.to_union in v. ...
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 proof-body tactics (adding `Primitives.parse_asm_files_lines` to a `cbv` reduction list and inserting a new `cbn [ErrorT.bind]` tactic step), which are substantive proof-body changes.
fiat-crypto_a7e929b9_a27ebfd5
fiat-crypto
coq
a7e929b9f8e39e593235202cadd0710db8589557
bb756e43d1a819d41d0a3ca0f32be2870f83067c
Support duplicate functions in --hints-file
src/Util/ErrorT.v
proof_add
Require Import Crypto.Util.Notations. Local Set Boolean Equality Schemes. Local Set Decidable Equality Schemes. Local Set Implicit Arguments. Inductive ErrorT {ErrT T} := | Success (v : T) | Error (msg : ErrT). Global Arguments ErrorT : clear implicits. Delimit Scope error_scope with error. Bind Scope error_scope wit...
Require Import Crypto.Util.Notations. Local Set Boolean Equality Schemes. Local Set Decidable Equality Schemes. Local Set Implicit Arguments. Inductive ErrorT {ErrT T} := | Success (v : T) | Error (msg : ErrT). Global Arguments ErrorT : clear implicits. Delimit Scope error_scope with error. Bind Scope error_scope wit...
[]
diff --git a/src/Util/ErrorT.v b/src/Util/ErrorT.v index 0cf0581da..57c397b65 100644 --- a/src/Util/ErrorT.v +++ b/src/Util/ErrorT.v @@ -23,6 +23,24 @@ Definition bind {A B ErrT} (x : ErrorT ErrT A) (k : A -> ErrorT ErrT B) : ErrorT | Error msg => Error msg end. +Definition map2 {ErrT1 ErrT2 A B} (f : A -...
Write or extend the proof(s) in src/Util/ErrorT.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds four new substantive definitions (`map2`, `map`, `map_error`, `error_bind`) to a utility module with real bodies performing meaningful transformations on the `ErrorT` type, constituting clear proof-engineering work that belongs in an evaluation dataset.
fiat-crypto_a7e929b9_895d3603
fiat-crypto
coq
a7e929b9f8e39e593235202cadd0710db8589557
bb756e43d1a819d41d0a3ca0f32be2870f83067c
Support duplicate functions in --hints-file
src/Util/ErrorT/List.v
proof_add
Require Import Coq.micromega.Lia. Require Import Coq.Lists.List. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.Tactics.DestructHead. Require Import Crypto.Util.Tactics.SplitInContext. Require Import Crypto.Util.Tactics.BreakMatch. Require Import Crypto.Util.Tactics.SpecializeBy. Require Import Crypto.Ut...
[]
diff --git a/src/Util/ErrorT/List.v b/src/Util/ErrorT/List.v new file mode 100644 index 000000000..28545e870 --- /dev/null +++ b/src/Util/ErrorT/List.v @@ -0,0 +1,164 @@ +Require Import Coq.micromega.Lia. +Require Import Coq.Lists.List. +Require Import Crypto.Util.ErrorT. +Require Import Crypto.Util.Tactics.DestructHea...
Write the proof content for the declarations in src/Util/ErrorT/List.v.
accept
claude-haiku-4-5
This is a new file with substantive proof engineering content—multiple lemmas with real proof bodies (using `Proof ... Qed`), definitions with real implementations (`bind_list`, `lift`), notations, and non-trivial tactic-driven proofs; it clearly belongs in an evaluation dataset for AI proof synthesis.
fiat-crypto_bb756e43_7a783b20
fiat-crypto
coq
bb756e43d1a819d41d0a3ca0f32be2870f83067c
697c4671295c9e9196e976a95c566a6cb5193ba0
Add more operations to parsing in the equivalence checker (#1197)
src/Assembly/Equality.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.Classes.Morphisms. Require Import Coq.Bool.Bool. Require Import Crypto.Util.Option. Require Import Crypto.Util.Bool. Require Import Crypto.Util.Bool.Reflect. Require I...
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. 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 Import Crypto.Util.Bool.Reflect. Require I...
[]
diff --git a/src/Assembly/Equality.v b/src/Assembly/Equality.v index c324e7c3d..f0ed8f9af 100644 --- a/src/Assembly/Equality.v +++ b/src/Assembly/Equality.v @@ -13,6 +13,21 @@ Require Import Crypto.Util.Notations. Require Import Crypto.Util.Prod. Require Import Crypto.Assembly.Syntax. +Local Ltac t_dec := + lazyma...
Write or extend the proof(s) in src/Assembly/Equality.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds substantive new definitions, lemmas, and proof bodies (t_dec tactic, JUMP_LABEL equality framework, AccessSize/OpPrefix equality instances, updated MEM_beq/ARG_beq/NormalInstruction_beq/RawLine_beq definitions with new constructors), which constitute real proof engineering work extending the equivalence ...
fiat-crypto_bb756e43_6b7112bd
fiat-crypto
coq
bb756e43d1a819d41d0a3ca0f32be2870f83067c
697c4671295c9e9196e976a95c566a6cb5193ba0
Add more operations to parsing in the equivalence checker (#1197)
src/Assembly/Equivalence.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
[]
diff --git a/src/Assembly/Equivalence.v b/src/Assembly/Equivalence.v index 3eb281291..c7a433ea5 100644 --- a/src/Assembly/Equivalence.v +++ b/src/Assembly/Equivalence.v @@ -66,27 +66,48 @@ Typeclasses Opaque assembly_argument_registers_left_to_right_opt. (** Stack size (in bytes) *) Class assembly_stack_size_opt := a...
Write or extend the proof(s) in src/Assembly/Equivalence.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive changes to proof/specification logic: (1) a function `assembly_stack_size_at` is added with a fixed-point recursion to track stack size changes across multiple instruction types (sub, add, lea, push, pop), (2) the definition of `assembly_stack_size` is rewritten to use the new function in...
fiat-crypto_bb756e43_4f602e1f
fiat-crypto
coq
bb756e43d1a819d41d0a3ca0f32be2870f83067c
697c4671295c9e9196e976a95c566a6cb5193ba0
Add more operations to parsing in the equivalence checker (#1197)
src/Assembly/EquivalenceProofs.v
proof_add
Require Import Coq.Lists.SetoidList. Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language....
Require Import Coq.Lists.SetoidList. Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language....
[]
diff --git a/src/Assembly/EquivalenceProofs.v b/src/Assembly/EquivalenceProofs.v index fdccf3cd1..6a07ece48 100644 --- a/src/Assembly/EquivalenceProofs.v +++ b/src/Assembly/EquivalenceProofs.v @@ -46,6 +46,7 @@ Require Import Crypto.Util.ZUtil.LandLorBounds. Require Import Crypto.Util.ZUtil.Tactics.PeelLe. Require Im...
Write or extend the proof(s) in src/Assembly/EquivalenceProofs.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff modifies proof tactics and logic within an equivalence-checking module by adding a new tactic step (`same_reg_some_of_success_t_step_normal_nobreak`), adding a new `Require Import`, and extending the proof body of a substantive lemma with additional tactic steps (`intro reg`, `specialize`, `rewrite`, `break_in...
fiat-crypto_bb756e43_d40ec5d9
fiat-crypto
coq
bb756e43d1a819d41d0a3ca0f32be2870f83067c
697c4671295c9e9196e976a95c566a6cb5193ba0
Add more operations to parsing in the equivalence checker (#1197)
src/Assembly/Parse.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
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 59823a7ef..592aa1e64 100644 --- a/src/Assembly/Parse.v +++ b/src/Assembly/Parse.v @@ -1,5 +1,6 @@ Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. +Require Import Coq.Strings.Ascii. Require Import Coq.Strings.String. Require Import Co...
Write or extend the proof(s) in src/Assembly/Parse.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive proof engineering change adding real definitions, instances, and proof content (Show instances for OpPrefix and AccessSize with accompanying Derive/Listable machinery, new parser definitions like parse_label and expanded parse_MEM) to support more operations in the assembly parser, with proper pro...
fiat-crypto_bb756e43_a17e2a52
fiat-crypto
coq
bb756e43d1a819d41d0a3ca0f32be2870f83067c
697c4671295c9e9196e976a95c566a6cb5193ba0
Add more operations to parsing in the equivalence checker (#1197)
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 1adc34dc8..fac70b179 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -2153,6 +2153,9 @@ Module error. | expected_const (_ : idx) (_ : expr) | unsupported_memory_access_size (_:N) + | unsupported_label_in_memory (_:string...
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 substantive new error cases, extends pattern matching in functions like `GetOperand`/`SetOperand`/`SymexNormalInstruction` with new handling for labels and prefixes, modifies the `Address` function with a new label check, adds `cmovb` instruction support, and updates the `mem_of_reg` record constructor —...
fiat-crypto_bb756e43_1f6b0ad3
fiat-crypto
coq
bb756e43d1a819d41d0a3ca0f32be2870f83067c
697c4671295c9e9196e976a95c566a6cb5193ba0
Add more operations to parsing in the equivalence checker (#1197)
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 0e0322d52..f53dd6583 100644 --- a/src/Assembly/Syntax.v +++ b/src/Assembly/Syntax.v @@ -25,10 +25,25 @@ Inductive REG := Definition CONST := Z. Coercion CONST_of_Z (x : Z) : CONST := x. -Record MEM := { mem_is_byte : bool ; mem_base_reg : option REG ;...
Write or extend the proof(s) in src/Assembly/Syntax.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds substantive new inductive types (AccessSize, OpPrefix, JUMP_LABEL), modifies record definitions (MEM, NormalInstruction) with real semantic changes (replacing mem_is_byte with mem_bits_access_size, adding prefix field), extends an inductive (OpCode with many new constructors), adds a coercion function (b...
fiat-crypto_bb756e43_1afb7bd4
fiat-crypto
coq
bb756e43d1a819d41d0a3ca0f32be2870f83067c
697c4671295c9e9196e976a95c566a6cb5193ba0
Add more operations to parsing in the equivalence checker (#1197)
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 5ed33a87f..aa5351f84 100644 --- a/src/Assembly/WithBedrock/Semantics.v +++ b/src/Assembly/WithBedrock/Semantics.v @@ -116,6 +116,7 @@ Definition DenoteOperand (sa s : N) (st : machine_state) (a : ARG) : option Z := | reg a...
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 is a substantive proof/specification change that extends the semantics of assembly instruction parsing and denoting by adding new operation cases (`label`, `cmovb`, `db`, `dw`, `dd`, `dq`, `mul`, `call`, `cmp`, `je`, `jmp`, `push`, `pop`, `shrx`) and new pattern-matching branches (`ALIGN`, `DEFAULT_REL`), plus add...
fiat-crypto_bb756e43_a65fcf36
fiat-crypto
coq
bb756e43d1a819d41d0a3ca0f32be2870f83067c
697c4671295c9e9196e976a95c566a6cb5193ba0
Add more operations to parsing in the equivalence checker (#1197)
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. Require Import Crypto.Util.ListUtil.IndexOf. Req...
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. Require Import Crypto.Util.ListUtil.IndexOf. Req...
[]
diff --git a/src/Assembly/WithBedrock/SymbolicProofs.v b/src/Assembly/WithBedrock/SymbolicProofs.v index dd8a56b71..fc59b7e6d 100644 --- a/src/Assembly/WithBedrock/SymbolicProofs.v +++ b/src/Assembly/WithBedrock/SymbolicProofs.v @@ -73,7 +73,8 @@ Section Memory. End Memory. -Import BreakMatch DestructHead UniquePo...
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 contains substantive proof-body changes including tactic modifications (adding `inversion_ErrorT`, `inversion_pair`, `subst`, changing `BreakMatch.break_innermost_match` to `break_innermost_match; inversion_ErrorT`), signature changes to lemmas (adding `prefix` parameter), and proof restructuring (converting ...
fiat-crypto_bb756e43_f3128b1f
fiat-crypto
coq
bb756e43d1a819d41d0a3ca0f32be2870f83067c
697c4671295c9e9196e976a95c566a6cb5193ba0
Add more operations to parsing in the equivalence checker (#1197)
src/Util/Strings/Parse/Common.v
proof_add
Require Import Coq.Strings.Ascii Coq.Strings.String Coq.Lists.List. Require Import Crypto.Util.Option. Require Import Crypto.Util.OptionList. Require Import Crypto.Util.Strings.String. Require Import Crypto.Util.Strings.Ascii. Require Import Crypto.Util.Notations. Import ListNotations. Local Open Scope list_scope. Loca...
Require Import Coq.Strings.Ascii Coq.Strings.String Coq.Lists.List. Require Import Crypto.Util.Option. Require Import Crypto.Util.OptionList. Require Import Crypto.Util.Strings.String. Require Import Crypto.Util.Strings.Ascii. Require Import Crypto.Util.Notations. Import ListNotations. Local Open Scope list_scope. Loca...
[]
diff --git a/src/Util/Strings/Parse/Common.v b/src/Util/Strings/Parse/Common.v index bc22bdf40..8e93e6e83 100644 --- a/src/Util/Strings/Parse/Common.v +++ b/src/Util/Strings/Parse/Common.v @@ -31,6 +31,15 @@ Definition parse_alt_gen {A B C} (f : A + B -> C) (p1 : ParserAction A) (p2 : Pa ++ List.map (fun '(...
Write or extend the proof(s) in src/Util/Strings/Parse/Common.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds two new substantive definitions (`parse_or_else_gen` and `parse_or_else`) with real logic implementing a conditional parsing combinator; the definitions have meaningful function bodies (not boilerplate) and represent genuine proof engineering work in the parsing utility module, even though there are no a...
fiat-crypto_fac48c62_afb9930c
fiat-crypto
coq
fac48c624f89cea869b6ef0c50529333b423e173
49cd99720214999b3808b8ac264a69325c35a92d
Add support for TIMED=1 in make test-amd64-files (#1196)
src/StandaloneHaskellMain.v
proof_add
Require Export Coq.extraction.Extraction. Require Export Coq.extraction.ExtrHaskellBasic. Require Export Coq.extraction.ExtrHaskellString. Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Crypto.Util.Strings.String. Require Import Crypto.CLI. Require Import Crypto.Util.Notations. Import ListNot...
Require Export Coq.extraction.Extraction. Require Export Coq.extraction.ExtrHaskellBasic. Require Export Coq.extraction.ExtrHaskellString. Require Import Coq.Lists.List. Require Import Coq.Strings.String. Require Crypto.Util.Strings.String. Require Import Crypto.CLI. Require Import Crypto.Util.Notations. Import ListNot...
[]
diff --git a/src/StandaloneHaskellMain.v b/src/StandaloneHaskellMain.v index eabea6bd8..9ccfdd745 100644 --- a/src/StandaloneHaskellMain.v +++ b/src/StandaloneHaskellMain.v @@ -65,9 +65,13 @@ Extract Inlined Constant String.eqb => "((Prelude.==) :: Prelude.String -> Prelu Local Notation "x <- y ; f" := (_IO_bind _ _...
Write or extend the proof(s) in src/StandaloneHaskellMain.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains a substantive refactoring: extracting repeated logic into a named definition `raise_failure` and modifying the instance field to pass this function rather than a lambda, which is a real proof-engineering change affecting the extracted Haskell code structure and the instance definition body.
fiat-crypto_8f903a44_86787a65
fiat-crypto
coq
8f903a44aaf3310a49eac1b556ffaa011f2766c1
ac9894efb809d9b94c833428a5a64a6ce5b569a3
Add parse_strs_{casefold,case_insensitive}
src/Util/Strings/Parse/Common.v
proof_add
Require Import Coq.Strings.Ascii Coq.Strings.String Coq.Lists.List. Require Import Crypto.Util.Option. Require Import Crypto.Util.OptionList. Require Import Crypto.Util.Strings.String. Require Import Crypto.Util.Strings.Ascii. Require Import Crypto.Util.Notations. Import ListNotations. Local Open Scope list_scope. Loca...
Require Import Coq.Strings.Ascii Coq.Strings.String Coq.Lists.List. Require Import Crypto.Util.Option. Require Import Crypto.Util.OptionList. Require Import Crypto.Util.Strings.String. Require Import Crypto.Util.Strings.Ascii. Require Import Crypto.Util.Notations. Import ListNotations. Local Open Scope list_scope. Loca...
[]
diff --git a/src/Util/Strings/Parse/Common.v b/src/Util/Strings/Parse/Common.v index 065099d5c..bc22bdf40 100644 --- a/src/Util/Strings/Parse/Common.v +++ b/src/Util/Strings/Parse/Common.v @@ -164,6 +164,11 @@ Definition parse_alt_list {T} (ls : list (ParserAction T)) : ParserAction T Definition parse_strs {T} (ls : l...
Write or extend the proof(s) in src/Util/Strings/Parse/Common.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff introduces two new definitions (`parse_strs_case_insensitive` and a notation alias `parse_strs_casefold`) in a hand-written utility file (`src/Util/Strings/Parse/Common.v`), which constitutes substantive proof/definition engineering, despite having no proof bodies to complete—this is real API extension, not t...
fiat-crypto_ac9894ef_98d783f9
fiat-crypto
coq
ac9894efb809d9b94c833428a5a64a6ce5b569a3
6d81962abdb9b1dcea32a301eff966230f855c58
Add mem_of_reg utility function
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 295d935a0..1adc34dc8 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -2300,6 +2300,9 @@ Definition Address {sa : AddressSize} (a : MEM) : M idx := bi <- App (add sa, [base; index]); App (add sa, [bi; offset]). +Definition...
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 new utility definition `mem_of_reg` with a concrete record body, which is substantive proof/definition engineering that belongs in an evaluation dataset—it's not a whitespace change, import-only edit, or generated artifact, and it constitutes real proof infrastructure in a hand-written file (`src/Assem...
fiat-crypto_6d81962a_39281d0a
fiat-crypto
coq
6d81962abdb9b1dcea32a301eff966230f855c58
02f28aa2a623e1a29eb0f74bc5a15c1ff744e1a2
Add some util lemmas and definitions
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 Crypto.Util.Tuple. Require Crypto.Util.OptionList. Import ListNotations. Local Open Scope list_scope. Local Set Implicit Arguments. Local Set Boolean Equality Schemes. Local Se...
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 f3375f666..0e0322d52 100644 --- a/src/Assembly/Syntax.v +++ b/src/Assembly/Syntax.v @@ -2,6 +2,8 @@ Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. +Require Import Co...
Write or extend the proof(s) in src/Assembly/Syntax.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds substantive definitions (`regs_of_index`, `reg_of_index_and_shift_and_bitcount_opt`, `reg_of_index_and_shift_and_bitcount`) and three real lemmas with non-trivial proof bodies involving case analysis, computation, and tactic work—clear proof engineering content that belongs in an evaluation dataset, desp...
fiat-crypto_6d81962a_bd9d5642
fiat-crypto
coq
6d81962abdb9b1dcea32a301eff966230f855c58
02f28aa2a623e1a29eb0f74bc5a15c1ff744e1a2
Add some util lemmas and definitions
src/Util/Strings/Parse/Common.v
proof_add
Require Import Coq.Strings.Ascii Coq.Strings.String Coq.Lists.List. Require Import Crypto.Util.Option. Require Import Crypto.Util.OptionList. Require Import Crypto.Util.Strings.String. Require Import Crypto.Util.Strings.Ascii. Require Import Crypto.Util.Notations. Import ListNotations. Local Open Scope list_scope. Loca...
Require Import Coq.Strings.Ascii Coq.Strings.String Coq.Lists.List. Require Import Crypto.Util.Option. Require Import Crypto.Util.OptionList. Require Import Crypto.Util.Strings.String. Require Import Crypto.Util.Strings.Ascii. Require Import Crypto.Util.Notations. Import ListNotations. Local Open Scope list_scope. Loca...
[]
diff --git a/src/Util/Strings/Parse/Common.v b/src/Util/Strings/Parse/Common.v index 7dbd553de..065099d5c 100644 --- a/src/Util/Strings/Parse/Common.v +++ b/src/Util/Strings/Parse/Common.v @@ -65,6 +65,15 @@ Definition parse_ascii (prefix : ascii) : ParserAction ascii Coercion parse_ascii : ascii >-> ParserAction. ...
Write or extend the proof(s) in src/Util/Strings/Parse/Common.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds two new substantive definitions (`parse_ascii_case_insensitive` and `parse_str_case_insensitive`) with real proof/implementation bodies and a notation (`casefold`), which are real specification/definition additions to the utility library; these are not generated artifacts, boilerplate wiring, or display ...
fiat-crypto_6d81962a_4e0db31e
fiat-crypto
coq
6d81962abdb9b1dcea32a301eff966230f855c58
02f28aa2a623e1a29eb0f74bc5a15c1ff744e1a2
Add some util lemmas and definitions
src/Util/Tactics/Beta1.v
proof_add
Require Export Crypto.Util.Notations. Ltac beta1 x := lazymatch x with | (fun a => ?f) ?b => constr:(subst_let a := b in f) end.
[]
diff --git a/src/Util/Tactics/Beta1.v b/src/Util/Tactics/Beta1.v new file mode 100644 index 000000000..746bc04a1 --- /dev/null +++ b/src/Util/Tactics/Beta1.v @@ -0,0 +1,6 @@ +Require Export Crypto.Util.Notations. + +Ltac beta1 x := + lazymatch x with + | (fun a => ?f) ?b => constr:(subst_let a := b in f) + end.
Write the proof content for the declarations in src/Util/Tactics/Beta1.v.
accept
claude-haiku-4-5
This is a new file with a substantive Ltac tactic definition that shapes elaboration and term construction behavior (the `beta1` tactic performs explicit beta-reduction with let-binding substitution), which falls under ELABORATION-SHAPING declarations that should be ACCEPTED; the only minor flag is the single `Require ...
fiat-crypto_6d81962a_455f6508
fiat-crypto
coq
6d81962abdb9b1dcea32a301eff966230f855c58
02f28aa2a623e1a29eb0f74bc5a15c1ff744e1a2
Add some util lemmas and definitions
src/Util/Tactics/Delta1.v
proof_add
Require Export Crypto.Util.FixCoqMistakes. Ltac delta1 x := eval cbv delta [x] in x.
[]
diff --git a/src/Util/Tactics/Delta1.v b/src/Util/Tactics/Delta1.v new file mode 100644 index 000000000..7dbf18011 --- /dev/null +++ b/src/Util/Tactics/Delta1.v @@ -0,0 +1,4 @@ +Require Export Crypto.Util.FixCoqMistakes. + +Ltac delta1 x := + eval cbv delta [x] in x.
Write the proof content for the declarations in src/Util/Tactics/Delta1.v.
accept
claude-haiku-4-5
This is a new file adding a hand-written `Ltac` tactic definition with real proof-engineering content (a tactic-body definition that shapes elaboration), which falls under substantive content to ACCEPT; however, the substantive element is minimal—just 4 lines defining a single utility tactic—making it a borderline but ...
fiat-crypto_6d81962a_3565e9b3
fiat-crypto
coq
6d81962abdb9b1dcea32a301eff966230f855c58
02f28aa2a623e1a29eb0f74bc5a15c1ff744e1a2
Add some util lemmas and definitions
src/Util/Tactics/GeneralizeOverHoles.v
proof_add
Require Export Crypto.Util.FixCoqMistakes. Require Import Crypto.Util.Tactics.Zeta1. Require Import Coq.ssr.ssreflect. Ltac generalize_over_holes tac := zeta1 (ltac:(let H := fresh in (pose H := ltac:(let v := tac () in refine v)); exact H)).
[]
diff --git a/src/Util/Tactics/GeneralizeOverHoles.v b/src/Util/Tactics/GeneralizeOverHoles.v new file mode 100644 index 000000000..5112b4df3 --- /dev/null +++ b/src/Util/Tactics/GeneralizeOverHoles.v @@ -0,0 +1,8 @@ +Require Export Crypto.Util.FixCoqMistakes. +Require Import Crypto.Util.Tactics.Zeta1. +Require Import C...
Write the proof content for the declarations in src/Util/Tactics/GeneralizeOverHoles.v.
accept
claude-haiku-4-5
This is a new file introducing a substantive Ltac tactic definition (`generalize_over_holes`) that performs non-trivial metaprogramming with term construction and hole elimination; while it's a single tactic body, it's a real proof-engineering artifact defining novel control flow and should be included in an evaluation...
fiat-crypto_6d81962a_7e80aa47
fiat-crypto
coq
6d81962abdb9b1dcea32a301eff966230f855c58
02f28aa2a623e1a29eb0f74bc5a15c1ff744e1a2
Add some util lemmas and definitions
src/Util/Tactics/HeadConstrEq.v
proof_add
Require Import Crypto.Util.Tactics.Head. Ltac head_constr_eq T1 T2 := let h1 := head T1 in let h2 := head T2 in constr_eq h1 h2. Ltac head_constr_eq_nounivs T1 T2 := let h1 := head T1 in let h2 := head T2 in constr_eq_nounivs h1 h2. Ltac head_constr_eq_strict T1 T2 := let h1 := head T1 in let h2 := h...
[]
diff --git a/src/Util/Tactics/HeadConstrEq.v b/src/Util/Tactics/HeadConstrEq.v new file mode 100644 index 000000000..d91e1bdcd --- /dev/null +++ b/src/Util/Tactics/HeadConstrEq.v @@ -0,0 +1,16 @@ +Require Import Crypto.Util.Tactics.Head. + +Ltac head_constr_eq T1 T2 := + let h1 := head T1 in + let h2 := head T2 in + ...
Write the proof content for the declarations in src/Util/Tactics/HeadConstrEq.v.
accept
claude-haiku-4-5
This is a new file with substantive Ltac tactic definitions that provide utility functionality (head constructor equality checks), which falls under ACCEPT as hand-written, non-generated proof engineering content in `src/Util/` — even though these are tactical definitions rather than theorem proofs, they are real elabo...
fiat-crypto_6d81962a_d91ff6ea
fiat-crypto
coq
6d81962abdb9b1dcea32a301eff966230f855c58
02f28aa2a623e1a29eb0f74bc5a15c1ff744e1a2
Add some util lemmas and definitions
src/Util/Tactics/SpecializeUnderBindersBy.v
proof_add
Require Import Crypto.Util.Tactics.SpecializeBy. Require Import Crypto.Util.Tactics.GeneralizeOverHoles. Ltac guarded_specialize_term_under_binders_by' guard_tac H tac := lazymatch type of H with | forall a, _ => match goal with | _ => let __ := lazymatch goal with _ => guard_tac H end in ...
[]
diff --git a/src/Util/Tactics/SpecializeUnderBindersBy.v b/src/Util/Tactics/SpecializeUnderBindersBy.v new file mode 100644 index 000000000..700921fe0 --- /dev/null +++ b/src/Util/Tactics/SpecializeUnderBindersBy.v @@ -0,0 +1,74 @@ +Require Import Crypto.Util.Tactics.SpecializeBy. +Require Import Crypto.Util.Tactics.Ge...
Write the proof content for the declarations in src/Util/Tactics/SpecializeUnderBindersBy.v.
accept
claude-haiku-4-5
This is a new file containing substantive Ltac tactic definitions and declarations (including guarded specialization tactics, helper guards, and tactic notations), which constitutes real proof-engineering infrastructure that should be accepted despite being purely tactic/definition code with no explicit proofs.
fiat-crypto_6d81962a_ff442a02
fiat-crypto
coq
6d81962abdb9b1dcea32a301eff966230f855c58
02f28aa2a623e1a29eb0f74bc5a15c1ff744e1a2
Add some util lemmas and definitions
src/Util/Tactics/Zeta1.v
proof_add
Require Export Crypto.Util.Notations. Ltac zeta1 x := lazymatch x with | let a := ?b in ?f => constr:(subst_let a := b in f) end.
[]
diff --git a/src/Util/Tactics/Zeta1.v b/src/Util/Tactics/Zeta1.v new file mode 100644 index 000000000..45fef2f4c --- /dev/null +++ b/src/Util/Tactics/Zeta1.v @@ -0,0 +1,6 @@ +Require Export Crypto.Util.Notations. + +Ltac zeta1 x := + lazymatch x with + | let a := ?b in ?f => constr:(subst_let a := b in f) + end.
Write the proof content for the declarations in src/Util/Tactics/Zeta1.v.
accept
claude-haiku-4-5
This is a new file containing a real Ltac tactic definition that modifies term structure through pattern matching and substitution—a substantive proof-engineering contribution that shapes elaboration behavior, not a generated artifact or pure tooling directive, despite its small size.
fiat-crypto_8a5865ba_d41048e3
fiat-crypto
coq
8a5865ba77b38ca30aa50dbbe4b8d5305aaec214
645b702363511e414de42cfdebbde1340cd164c7
Restore deprecated theorems so that no proofs are admitted
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 Crypto.Bedrock.End2End.RupicolaCrypto.Spec. Require Import bedrock2.BasicC32Semantics. Import Syntax.Coercions ProgramLogic.Coercions. Import Datatypes. ...
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Spec. Require Import bedrock2.BasicC32Semantics. Import Syntax.Coercions ProgramLogic.Coercions. Import Datatypes. ...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Low.v b/src/Bedrock/End2End/RupicolaCrypto/Low.v index 12c384ff3..e442c2cc2 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Low.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Low.v @@ -449,6 +449,84 @@ Section CompileBufPolymorphic. } eapply Hk. Qed. + + (*Only ...
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 substantively changes proof bodies by uncommenting previously admitted proofs and introducing two new lemmas (`deprecated_do_not_use_compile_buf_append` and `deprecated_do_not_use_compile_buf_push`) with complete Coq tactics and proofs, replacing `Admitted` statements with working proof code — this is real pro...
fiat-crypto_d4073ee0_cd391af7
fiat-crypto
coq
d4073ee000332146fc5956931028084e0952c3d3
570fa91d683f4d116febcfc1c57c2c98de54f848
First draft of buf_append revisions. TODO: auxiliary lemmas to make it useful (e.g. memcpy)
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 coqutil.Word.LittleEndianList. Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Low. Require Import bedrock2.BasicC32Semantics. Section Bedrock2. Instance spec_of_quarter : spec_of "quarter" ...
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 ...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Derive.v b/src/Bedrock/End2End/RupicolaCrypto/Derive.v index 905355121..62f52524d 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Derive.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Derive.v @@ -1,6 +1,7 @@ Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Arra...
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 contains substantive proof-body changes (admits, tactic rewrites, new Ltac definitions for `compile_buf_append` with `gensym`) mixed with commented-out code and structural reorganization; while work-in-progress, it represents real proof engineering on hand-written Bedrock2 derivation code, not a generated art...
fiat-crypto_d4073ee0_73551a2f
fiat-crypto
coq
d4073ee000332146fc5956931028084e0952c3d3
570fa91d683f4d116febcfc1c57c2c98de54f848
First draft of buf_append revisions. TODO: auxiliary lemmas to make it useful (e.g. 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 Crypto.Bedrock.End2End.RupicolaCrypto.Spec. Require Import bedrock2.BasicC32Semantics. Import Syntax.Coercions ProgramLogic.Coercions. Import Datatypes. ...
(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) Require Import Coq.Unicode.Utf8. Require Import Rupicola.Lib.Api. Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Spec. Require Import bedrock2.BasicC32Semantics. Import Syntax.Coercions ProgramLogic.Coercions. Import Datatypes. ...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Low.v b/src/Bedrock/End2End/RupicolaCrypto/Low.v index 119c2f365..12c384ff3 100644 --- a/src/Bedrock/End2End/RupicolaCrypto/Low.v +++ b/src/Bedrock/End2End/RupicolaCrypto/Low.v @@ -334,41 +334,59 @@ Section CompileBufPolymorphic. rewrite app_length, Nat2Z.inj_add, Hl...
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 (tactic rewrites, restructured proof strategies with `repeat straightline`, new hypotheses in lemma statements, and proof refactoring), plus statement/signature modifications (new parameters like `ax_expr`, `arr_var`, `buf_ptr`; changed predicate structure). Although so...
fiat-crypto_1a0f59c1_c84e0dc5
fiat-crypto
coq
1a0f59c156361156d245eba1089d77e20a1803a0
05f0142cbc339ab344a9524e8c2b741b1c50abcc
Add WIP rupicola crypto functions
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 coqutil.Word.LittleEndianList. Require Import Crypto.Bedrock.End2End.RupicolaCrypto.Low. Require Import bedrock2.BasicC32Semantics. Section Bedrock2. Instance spec_of_quarter : spec_of "quarter" ...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Derive.v b/src/Bedrock/End2End/RupicolaCrypto/Derive.v new file mode 100644 index 000000000..905355121 --- /dev/null +++ b/src/Bedrock/End2End/RupicolaCrypto/Derive.v @@ -0,0 +1,157 @@ +Require Import Rupicola.Lib.Api. +Require Import Rupicola.Lib.Arrays. +Require Import ...
Write the proof content for the declarations in src/Bedrock/End2End/RupicolaCrypto/Derive.v.
accept
claude-haiku-4-5
This is a new file containing real definitions (function specs via `Instance`), a `Derive` declaration with a completed proof (`quarter_body_correct`), and a substantial lemma (`compile_quarter`) with a non-trivial proof body, plus an incomplete proof (`chacha20_block_body_correct` ending in `Abort`); the definitions a...
fiat-crypto_1a0f59c1_0b97ffa6
fiat-crypto
coq
1a0f59c156361156d245eba1089d77e20a1803a0
05f0142cbc339ab344a9524e8c2b741b1c50abcc
Add WIP rupicola crypto functions
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.Crypto.Spec. Require Import bedrock2.BasicC32Semantics. Import Syntax.Coercions ProgramLogic.Coercions. Import Datatypes. (* TODO array...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Low.v b/src/Bedrock/End2End/RupicolaCrypto/Low.v new file mode 100644 index 000000000..0b83bf7d0 --- /dev/null +++ b/src/Bedrock/End2End/RupicolaCrypto/Low.v @@ -0,0 +1,1688 @@ +(* Rewritten versions of poly1305 and chacha20 that you can compile with Rupicola *) +Require ...
Write the proof content for the declarations in src/Bedrock/End2End/RupicolaCrypto/Low.v.
accept
claude-haiku-4-5
This is a new file with substantial proof engineering content (lemmas with proof bodies, definitions, and non-trivial Coq code), making it a clear ACCEPT per the rule "A new file with real definitions/lemmas/proofs"; the WIP status and Admitted tactics do not override the substantive proof-engineering value for evaluat...
fiat-crypto_1a0f59c1_65c8b1cc
fiat-crypto
coq
1a0f59c156361156d245eba1089d77e20a1803a0
05f0142cbc339ab344a9524e8c2b741b1c50abcc
Add WIP rupicola crypto functions
src/Bedrock/End2End/RupicolaCrypto/Spec.v
proof_add
Require Coq.Init.Byte Coq.Strings.String. Export Init.Byte(byte(..)) String. Require Export coqutil.Datatypes.List. Export Lists.List List.ListNotations. Require Export Coq.ZArith.BinInt. Export Zdiv. Local Open Scope Z_scope. Require Export coqutil.Byte coqutil.Word.LittleEndianList. (* reference: https://datatracker...
[]
diff --git a/src/Bedrock/End2End/RupicolaCrypto/Spec.v b/src/Bedrock/End2End/RupicolaCrypto/Spec.v new file mode 100644 index 000000000..34a034c4c --- /dev/null +++ b/src/Bedrock/End2End/RupicolaCrypto/Spec.v @@ -0,0 +1,62 @@ +Require Coq.Init.Byte Coq.Strings.String. Export Init.Byte(byte(..)) String. +Require Export ...
Write the proof content for the declarations in src/Bedrock/End2End/RupicolaCrypto/Spec.v.
accept
claude-haiku-4-5
This is a new file with real definitions (poly1305, chacha20_block, chacha20_encrypt, chacha20poly1305_aead_encrypt) and supporting notations/helpers that form substantive cryptographic algorithm specifications; despite the WIP designation in the commit message, the definitions themselves are complete and constitute pr...
fiat-crypto_0f61b56d_187e961b
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
src/Bedrock/Field/Interface/Representation.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import coqutil.Byte. Require Import coqutil.Word.Interface. Require Import bedrock2.Semantics. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Prime...
Require Import Coq.ZArith.ZArith. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import coqutil.Byte. Require Import coqutil.Word.Interface. Require Import bedrock2.Semantics. Require Import Crypto.Arithmetic.Core. Require Import Crypto.Arithmetic.ModOps. Require Import Crypto.Arithmetic.Prime...
[]
diff --git a/src/Bedrock/Field/Interface/Representation.v b/src/Bedrock/Field/Interface/Representation.v index b45a814e4..48c167128 100644 --- a/src/Bedrock/Field/Interface/Representation.v +++ b/src/Bedrock/Field/Interface/Representation.v @@ -23,21 +23,27 @@ Section Representation. Context {field_parameters : Fiel...
Write or extend the proof(s) in src/Bedrock/Field/Interface/Representation.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive changes to the field representation interface: it introduces new context variables (`bounds` as a Type, `list_in_bounds` predicate, `eval_transformation` function), modifies type signatures and definitions (`list_Z_bounded_by` replaced with `list_in_bounds`), updates the `eval_words` defi...
fiat-crypto_0f61b56d_b42cd457
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
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...
[]
diff --git a/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v b/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v new file mode 100644 index 000000000..1ddb77d13 --- /dev/null +++ b/src/Bedrock/Field/Synthesis/Examples/p224_64_new.v @@ -0,0 +1,173 @@ +Require Import Coq.Strings.String. +Require Import Coq.Lists.List...
Write the proof content for the declarations in src/Bedrock/Field/Synthesis/Examples/p224_64_new.v.
accept
claude-haiku-4-5
This is a newly added file with substantive proof content—multiple `Derive` statements with non-trivial proofs using custom tactics (`derive_bedrock2_func`, `Time` profiling), instance constructions, and real mathematical definitions (field parameters, Montgomery operations). While it appears to be a synthesis example,...
fiat-crypto_0f61b56d_60fa5919
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
src/Bedrock/Field/Synthesis/Generic/UnsaturatedSolinas.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import coqutil.Byte. Require Import coqutil.Word.Interface. Require Import coqutil.Word.Properties. Require Import coqutil.Map.Interface. Require Import coqutil.Map.Properties. Require Import coqutil.Tactics.T...
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import coqutil.Byte. Require Import coqutil.Word.Interface. Require Import coqutil.Word.Properties. Require Import coqutil.Map.Interface. Require Import coqutil.Map.Properties. Require Import coqutil.Tactics.T...
[]
diff --git a/src/Bedrock/Field/Synthesis/Generic/UnsaturatedSolinas.v b/src/Bedrock/Field/Synthesis/Generic/UnsaturatedSolinas.v index 026f21dd8..d938d658d 100644 --- a/src/Bedrock/Field/Synthesis/Generic/UnsaturatedSolinas.v +++ b/src/Bedrock/Field/Synthesis/Generic/UnsaturatedSolinas.v @@ -209,7 +209,6 @@ Section __....
Write or extend the proof(s) in src/Bedrock/Field/Synthesis/Generic/UnsaturatedSolinas.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff removes a single line from a proof (`apply (UnsaturatedSolinasHeuristics.limbwidth n s c)`) that was being used to discharge a proof obligation via `Unshelve`, which is a substantive change to proof content (the proof-body structure is altered), making it acceptable for an evaluation dataset despite being min...
fiat-crypto_0f61b56d_94b2ad85
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
src/Bedrock/Field/Synthesis/Generic/WordByWordMontgomery.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import coqutil.Byte. Require Import coqutil.Word.Interface. Require Import coqutil.Word.Properties. Require Import coqutil.Map.Interface. Require Import coqutil.Map.Properties. Require Import coqutil.Tactics.T...
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import coqutil.Byte. Require Import coqutil.Word.Interface. Require Import coqutil.Word.Properties. Require Import coqutil.Map.Interface. Require Import coqutil.Map.Properties. Require Import coqutil.Tactics.T...
[]
diff --git a/src/Bedrock/Field/Synthesis/Generic/WordByWordMontgomery.v b/src/Bedrock/Field/Synthesis/Generic/WordByWordMontgomery.v index a1c8a081d..9fc1fb56d 100644 --- a/src/Bedrock/Field/Synthesis/Generic/WordByWordMontgomery.v +++ b/src/Bedrock/Field/Synthesis/Generic/WordByWordMontgomery.v @@ -227,7 +227,6 @@ Sec...
Write or extend the proof(s) in src/Bedrock/Field/Synthesis/Generic/WordByWordMontgomery.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff removes a single proof obligation line (`{ apply (inject_Z width). }`) from a real proof body in a non-generated Bedrock hand-written synthesis file, which is a substantive proof-body change that should be accepted as a valid proof engineering challenge.
fiat-crypto_0f61b56d_9bb56cfc
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
src/Bedrock/Field/Synthesis/New/Signature.v
proof_add
Require Rupicola.Lib.Tactics. 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 bedrock2.ProgramLogic. Require Impor...
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 ead04e3ec..81826c62a 100644 --- a/src/Bedrock/Field/Synthesis/New/Signature.v +++ b/src/Bedrock/Field/Synthesis/New/Signature.v @@ -1,4 +1,5 @@ Require Rupicola.Lib.Tactics. +Require Import Coq.micromega.Lia. ...
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 proof engineering changes including type signature edits (new `bounds` abstraction, `list_in_bounds` predicate), definition/lemma statement modifications, new Ltac tactic definitions (`solve_length`), and proof-body tactic edits (e.g., `try solve_equivalence_side_conditions` with addition...
fiat-crypto_0f61b56d_1da9934e
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
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 ebfc3cd68..732ad22a1 100644 --- a/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v +++ b/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v @@ -128,10 +128,11 @@ Section UnsaturatedSolina...
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 contains substantive proof-engineering changes: (1) modifications to the `field_representation` instance signature adding type and function arguments; (2) new custom Ltac tactics (`loosen_bounds`, `bounds_length`) that change proof strategy; (3) refactored proof bodies in six lemmas (`mul_func_correct`, `squa...
fiat-crypto_0f61b56d_8873e66a
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
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...
[]
diff --git a/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v b/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v new file mode 100644 index 000000000..64d7ed5b4 --- /dev/null +++ b/src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v @@ -0,0 +1,835 @@ +Require Import Coq.micromega.Lia. +Require Import Coq...
Write the proof content for the declarations in src/Bedrock/Field/Synthesis/New/WordByWordMontgomery.v.
accept
claude-haiku-4-5
This is a new file (835 lines) containing substantive proof engineering: multiple lemmas with nontrivial tactic proofs (m_big, gcd_aux', r'_correct), a type class definition, and complex Bedrock2 synthesis infrastructure—clearly not generated code or import-only declarations, falling squarely in the ACCEPT category for...
fiat-crypto_0f61b56d_1fb75592
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
src/Bedrock/Specs/Field.v
proof_add
Require Import coqutil.Byte. Require Import Rupicola.Lib.Api. Require Import Crypto.Algebra.Hierarchy. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Require Import Crypto.Bedrock.Field.Synthesis.Generic.Bignum. Local Open Scope Z_scope. Import bedrock2.Memory. Class FieldParameters := { (** mathematical param...
Require Import coqutil.Byte. Require Import Rupicola.Lib.Api. Require Import Crypto.Algebra.Hierarchy. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Require Import Crypto.Bedrock.Field.Synthesis.Generic.Bignum. Require Import Crypto.Bedrock.Field.Common.Arrays.MaxBounds. Require Import Crypto.COperationSpecifica...
[]
diff --git a/src/Bedrock/Specs/Field.v b/src/Bedrock/Specs/Field.v index d3ebe981d..b20e276fb 100644 --- a/src/Bedrock/Specs/Field.v +++ b/src/Bedrock/Specs/Field.v @@ -3,6 +3,9 @@ Require Import Rupicola.Lib.Api. Require Import Crypto.Algebra.Hierarchy. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Require I...
Write or extend the proof(s) in src/Bedrock/Specs/Field.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds substantive new definitions, specifications, and instances (spec_of_selectznz, Montgomery arithmetic models from_mont_model/to_mont_model, un_from_mont/un_to_mont instances) to a non-generated hand-written Bedrock specification file; the imports and whitespace additions are secondary to these real proof/...
fiat-crypto_0f61b56d_2588c6df
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
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 e9ff266b4..fc755b09f 100644 --- a/src/COperationSpecifications.v +++ b/src/COperationSpecifications.v @@ -195,14 +195,17 @@ Module selectznz. Local Notation eval := (Positional.eval wt n). Definition selectznz_correct - ...
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 contains a substantive specification change: the `selectznz_correct` definition in the `selectznz` module changes its postcondition from `eval (selectznz cond x y) = ...` to `(selectznz cond x y) = ...`, removing the `eval` wrapper, which is a real semantic change to the specification, along with indentation/w...
fiat-crypto_0f61b56d_7cef3452
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
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 a0d660888..62fe71b0b 100644 --- a/src/PushButtonSynthesis/Primitives.v +++ b/src/PushButtonSynthesis/Primitives.v @@ -241,9 +241,11 @@ Ltac prove_correctness' should_not_clear use_curve_good := repeat first [ reflexivity...
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 makes substantive proof-engineering changes to `src/PushButtonSynthesis/Primitives.v`: it modifies the `prove_correctness'` tactic body by adding new rewrite rules (`erewrite select_eq`, `solve [ eauto with zarith ]`), updates a lemma signature (`selectznz_correct`) removing the `dummy_weight` and `limbwidth`...
fiat-crypto_0f61b56d_c61919f0
fiat-crypto
coq
0f61b56dda31384cbeb76f14b03b522d21e27b26
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
Word-by-word Montgomery with new Bedrock2 Synthesis Pipeline (#1113)
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 a07924d83..ff8a4b198 100644 --- a/src/PushButtonSynthesis/WordByWordMontgomery.v +++ b/src/PushButtonSynthesis/WordByWordMontgomery.v @@ -1032,9 +1032,10 @@ Section __. Proof using Type. prove_pipeline_...
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 the signature of `selectznz_correct` by removing two parameters (`machine_wordsize` and `n`) from its conclusion, which is a substantive type/specification change that affects the proof statement and would require proof-body adjustments; this falls under the ACCEPT category of signature/statement chan...
fiat-crypto_986ebad8_79e0d362
fiat-crypto
coq
986ebad8ab60bf22ef9e4208fc4a97ab741723c3
eea7a7765384de6184c315c47c4973058da59080
Add a lemma about filter and Forall (#1177)
src/Util/ListUtil/Filter.v
proof_add
Require Import Coq.micromega.Lia. Require Import Coq.Arith.Arith. Require Import Coq.Lists.List. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Implicit Arguments. Local Open Scope list_scope. Module List. Lemma filter_Forall_eq A f ls : @Forall A (fun x => f x = true) ls -> filter f ls =...
Require Import Coq.micromega.Lia. Require Import Coq.Arith.Arith. Require Import Coq.Lists.List. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Implicit Arguments. Local Open Scope list_scope. Module List. Lemma filter_Forall_eq A f ls : @Forall A (fun x => f x = true) ls -> filter f ls =...
[]
diff --git a/src/Util/ListUtil/Filter.v b/src/Util/ListUtil/Filter.v index 9fe34b58b..fd0d892f4 100644 --- a/src/Util/ListUtil/Filter.v +++ b/src/Util/ListUtil/Filter.v @@ -21,4 +21,17 @@ Module List. pose proof (filter_length_le f ls). lia. Qed. + + Lemma Forall2_filter_same A B P f g lsA lsB + : @For...
Write or extend the proof(s) in src/Util/ListUtil/Filter.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds a new lemma `Forall2_filter_same` with a complete, substantive proof that involves real induction and case analysis on filter results—clear proof engineering content that belongs in an evaluation dataset.
fiat-crypto_eea7a776_a719cd8f
fiat-crypto
coq
eea7a7765384de6184c315c47c4973058da59080
bbfdfccead75569fda3d11518b1522174756b8db
unify inv interface
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 coqutil.Map.SortedListWord. Require Import coqutil.Map.Z_keyed_SortedListMap. 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 coqutil.Map.SortedListWord. Require Import coqutil.Map.Z_keyed_SortedListMap. Require Impo...
[]
diff --git a/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v b/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v index 88bf983f2..4def26c25 100644 --- a/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v +++ b/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v @@ -135,30 +135,29 @@ Proof. ...
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
This diff contains substantive proof-body changes (tactic edits and proof structure modifications), including replacing an `Admitted` instance with actual proof content (the `split` block with `word.unsigned_mulhuu` reasoning), adding a new lemma `weaken_bounded_by`, removing obsolete lemmas, and replacing a high-level...
fiat-crypto_eea7a776_108c9b0f
fiat-crypto
coq
eea7a7765384de6184c315c47c4973058da59080
bbfdfccead75569fda3d11518b1522174756b8db
unify inv interface
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 c657c3215..90c7d1820 100644 --- a/src/Bedrock/Field/Interface/Compilation2.v +++ b/src/Bedrock/Field/Interface/Compilation2.v @@ -231,7 +231,6 @@ Section Compile. Definition compile_square := make_un_lemma un...
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 removes a definition (`compile_inv`) and its associated hint, which are substantive code removals representing a refactoring to unify the inversion interface; however, no new proof content is being added, and the removal itself is mechanical in nature (deleting lines rather than editing proof tactics or state...
fiat-crypto_eea7a776_5a0bc639
fiat-crypto
coq
eea7a7765384de6184c315c47c4973058da59080
bbfdfccead75569fda3d11518b1522174756b8db
unify inv interface
src/Bedrock/Group/AdditionChains.v
proof_add
Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Loops. Require Import Rupicola.Lib.ControlFlow.DownTo. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Require Import Crypto.Arithmetic.FLia. Require Import Crypto.Bedrock.Specs.Field. Require Import Crypto.Bedrock.Field.Interface.Compilation2. Require I...
Require Import Rupicola.Lib.Api. Require Import Rupicola.Lib.Loops. Require Import Rupicola.Lib.ControlFlow.DownTo. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Require Import Crypto.Arithmetic.FLia. Require Import Crypto.Bedrock.Specs.Field. Require Import Crypto.Bedrock.Field.Interface.Compilation2. Require I...
[]
diff --git a/src/Bedrock/Group/AdditionChains.v b/src/Bedrock/Group/AdditionChains.v index f206fdf89..c2645f5b6 100644 --- a/src/Bedrock/Group/AdditionChains.v +++ b/src/Bedrock/Group/AdditionChains.v @@ -435,7 +435,7 @@ Section FElems. fnspec! "fe25519_inv" (sq_ptr x_ptr : word) / (sq x : F M_pos) R, ...
Write or extend the proof(s) in src/Bedrock/Group/AdditionChains.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof engineering changes: a signature change in the fnspec (line 438: `FElem (Some tight_bounds)` → `FElem None`), a new lemma `compile_inv` with a complete proof body, commented-out code being removed, proof-body tactic changes in `fe_inv_correct`, and a new `Hint Extern` declaration—al...
fiat-crypto_eea7a776_082f5ac9
fiat-crypto
coq
eea7a7765384de6184c315c47c4973058da59080
bbfdfccead75569fda3d11518b1522174756b8db
unify inv interface
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 cb0b9d6aa..c0ab7330a 100644 --- a/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v +++ b/src/Bedrock/Group/ScalarMult/MontgomeryLadder.v @@ -8,6 +8,7 @@ Require Import Crypto.Bedrock.Group.ScalarMult.CSwa...
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 contains substantive proof-engineering changes: (1) adds a new context variable `F_M_pos` with a concrete constraint; (2) introduces a `Hint Extern` declaration for `spec_of_exp_large`, which is an ELABORATION-SHAPING declaration; (3) changes the proof body from a simple `compile.` tactic to a structured seque...
fiat-crypto_59864b68_4eddc694
fiat-crypto
coq
59864b68e58bdbf10cbb6c33e8464374e63abf2e
f01aa320fc5cc521d7ebc4a185ce23750c8bd556
Fix some broken parameters
src/Assembly/WithBedrock/Proofs.v
proof_add
Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.A...
Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.A...
[]
diff --git a/src/Assembly/WithBedrock/Proofs.v b/src/Assembly/WithBedrock/Proofs.v index 326453ce5..aa62ab6e5 100644 --- a/src/Assembly/WithBedrock/Proofs.v +++ b/src/Assembly/WithBedrock/Proofs.v @@ -3159,14 +3159,15 @@ Proof. | [ |- Semantics.get_reg ?m1 ?r = Semantics.get_reg ?m2 ?r ] => idtac ...
Write or extend the proof(s) in src/Assembly/WithBedrock/Proofs.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff substantively modifies theorem signatures and proof-related code by adding/modifying type-class parameters (`output_scalars_are_pointers`), updating function calls with explicit named arguments, and adjusting proof obligations—all signature and proof-body changes that constitute real proof engineering work, d...
fiat-crypto_f01aa320_dee146fe
fiat-crypto
coq
f01aa320fc5cc521d7ebc4a185ce23750c8bd556
451a54f9b442fb15a367c49944f59d54c59b5309
Rework equivalence checker proofs to be based on remove
src/Assembly/Equivalence.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
[]
diff --git a/src/Assembly/Equivalence.v b/src/Assembly/Equivalence.v index 422ef654b..3eb281291 100644 --- a/src/Assembly/Equivalence.v +++ b/src/Assembly/Equivalence.v @@ -122,8 +122,10 @@ printing functions on command-lines options indicating how verbose to be in printing the error message. *) Inductive Equivalence...
Write or extend the proof(s) in src/Assembly/Equivalence.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof-engineering changes: new inductive constructors for error types (`Internal_error_lingering_memory`, `Internal_error_LoadOutputs_length_mismatch`), modified constructor signatures (`Internal_error_output_load_failed`), edited pattern matches and error handlers in the `ShowLines` inst...
fiat-crypto_f01aa320_a6c0cdde
fiat-crypto
coq
f01aa320fc5cc521d7ebc4a185ce23750c8bd556
451a54f9b442fb15a367c49944f59d54c59b5309
Rework equivalence checker proofs to be based on remove
src/Assembly/EquivalenceProofs.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
Require Import Coq.Lists.SetoidList. Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language....
[]
diff --git a/src/Assembly/EquivalenceProofs.v b/src/Assembly/EquivalenceProofs.v index e3c170db8..fdccf3cd1 100644 --- a/src/Assembly/EquivalenceProofs.v +++ b/src/Assembly/EquivalenceProofs.v @@ -1,3 +1,5 @@ +Require Import Coq.Lists.SetoidList. +Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. ...
Write or extend the proof(s) in src/Assembly/EquivalenceProofs.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof-engineering changes: (1) new imports for list utilities and permutations; (2) significant signature/return-type changes to `build_merge_stack_placeholders_G` (returning `idx` instead of `unit`); (3) substantial changes to lemma statements and specifications (adding new conjuncts, re...
fiat-crypto_f01aa320_bebab9db
fiat-crypto
coq
f01aa320fc5cc521d7ebc4a185ce23750c8bd556
451a54f9b442fb15a367c49944f59d54c59b5309
Rework equivalence checker proofs to be based on remove
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index dc7e81907..295d935a0 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -2082,6 +2082,9 @@ Definition reverse_lookup_widest_reg (st : reg_state) (i : idx) : option REG Definition load (a : idx) (s : mem_state) : option idx := ...
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 substantive new definitions (`remove`, `Remove64`, `Remove`, error cases, and pattern matches) and extends an inductive error type with new constructors and their associated handlers—all real proof-engineering content, not generated artifacts or whitespace changes. The commit message indicates reworking ...
fiat-crypto_f01aa320_39d53483
fiat-crypto
coq
f01aa320fc5cc521d7ebc4a185ce23750c8bd556
451a54f9b442fb15a367c49944f59d54c59b5309
Rework equivalence checker proofs to be based on remove
src/Assembly/WithBedrock/Proofs.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.A...
[]
diff --git a/src/Assembly/WithBedrock/Proofs.v b/src/Assembly/WithBedrock/Proofs.v index 2bb0f1dae..326453ce5 100644 --- a/src/Assembly/WithBedrock/Proofs.v +++ b/src/Assembly/WithBedrock/Proofs.v @@ -1,3 +1,4 @@ +Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia....
Write or extend the proof(s) in src/Assembly/WithBedrock/Proofs.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff modifies proof bodies significantly—refactoring lemma statements, splitting a lemma into a simpler core version and a wrapper (e.g., `Forall2_get_reg_of_R_regs` now calls `get_reg_of_R_regs`), adding new lemmas, rewriting implications, and changing function signatures from implicit defaults to explicit implici...
fiat-crypto_93ceed72_1592c97b
fiat-crypto
coq
93ceed72664d72d3d2dc540f60943b60f1e872cc
d8b3f3f37c7aa7d1c297e3625911c45ad8322ff9
Add reveal_at_least, a more clever form of reveal (#1167)
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 0e388bc2c..dc7e81907 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -24,6 +24,7 @@ Require Import Crypto.Util.ListUtil.Filter. Require Import Crypto.Util.ListUtil.PermutationCompat. Import ListUtil.PermutationCompat.Coq.Sorting...
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 substantive new definitions (`reveal_gather_deps`, `reveal_from_deps_fueled`, `reveal_at_least`, `reveal_node_at_least`) with non-trivial proof bodies (multiple lemmas with real inductive/structural reasoning), plus edits to existing proofs that call these new lemmas—clear proof engineering work, despite...
fiat-crypto_6ccc6638_f437d913
fiat-crypto
coq
6ccc6638716d4632304baf1adbb5c47c3a12ea6f
2f04776189027e5c8aaafb8a5923f9d47f9b4915
Fix `app_consts`
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Import Coq.Sorting.Permutation. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 0ce6167a0..0e388bc2c 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -1275,7 +1275,7 @@ Proof. reflexivity. Qed. -Global Instance drop_identity_0k : Ok drop_identity. +Global Instance drop_identity_Ok : Ok drop_identity. P...
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 is substantive proof engineering: it renames instances (`drop_identity_0k` → `drop_identity_Ok`, `fold_consts_to_and_0k` → `fold_consts_to_and_Ok`), refactors `combine_consts` into `combine_consts_pre` + `cleanup_combine_consts`, introduces a new complex proof for `cleanup_combine_consts_Ok`, creates a composition...
fiat-crypto_d70c006c_662d0a1b
fiat-crypto
coq
d70c006c2f86597a3fdf644470df2243b9222d53
db8ecccd74a699add56a53efe5d162817fc91ef8
fix semantics of MEM in Assembly-WBedrock
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 00848de84..5ed33a87f 100644 --- a/src/Assembly/WithBedrock/Semantics.v +++ b/src/Assembly/WithBedrock/Semantics.v @@ -106,10 +106,10 @@ Definition DenoteConst (sz : N) (a : CONST) : Z := Definition DenoteAddress (sa : N) (...
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 changes the semantics of the `DenoteAddress` function by fixing how `mem_base_reg` is handled (replacing direct `get_reg` call with a `match` on `Some/None`), removing a duplicate line that matched `mem_scale_reg`, and reformatting for clarity—these are substantive proof/specification changes to a core semant...
fiat-crypto_7f954bdf_98570aef
fiat-crypto
coq
7f954bdf816bc36ef4cc38b79098c192d807c0b3
7f56f4b9950df15ad5567fa1d4fdaedfac872ce2
latest version of 'combines_to'
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 798e1e8d4..fc01e049d 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -12,6 +12,7 @@ Require Import Crypto.Util.ZUtil.Land. Require Import Crypto.Util.ZUtil.Ones. Require Import Crypto.Util.Bool.Reflect. Require Import Crypto.U...
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 contains substantial proof engineering changes—specifically, complete redefinition of the `combine_consts` function and its helper functions (`combine_to_consts_map`, `compress_consts_map` replaced by `split_consts`, `group_consts`, `compress_consts`, `app_consts`), including new logic, control flow, and func...
fiat-crypto_7f56f4b9_0df5ba11
fiat-crypto
coq
7f56f4b9950df15ad5567fa1d4fdaedfac872ce2
9947f2a7408f762da5867cec53dd6a11208acb3e
adding rewrite snippet
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index e5d0ba614..798e1e8d4 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -25,6 +25,7 @@ Require Import Crypto.Util.Prod. Require Import Crypto.Util.Tactics.SplitInContext. Require Import Crypto.Util.ZUtil.Lxor. Require Import Cryp...
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 new substantive definitions (`combines_to`, `combine_to_consts_map`, `compress_consts_map`, `combine_consts`), instances with real proof structure (`Unshelve`, `shelve_unifiable`, `fail_if_goals_remain`), and integrates them into the optimization pipeline—clear proof engineering despite unfinished instan...
fiat-crypto_9947f2a7_0f09eb97
fiat-crypto
coq
9947f2a7408f762da5867cec53dd6a11208acb3e
a19a0c9590ee6f001f95531ca09b455c4b0b9120
Update src/Assembly/WithBedrock/Semantics.v
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 844634e1b..00848de84 100644 --- a/src/Assembly/WithBedrock/Semantics.v +++ b/src/Assembly/WithBedrock/Semantics.v @@ -107,7 +107,7 @@ Definition DenoteConst (sz : N) (a : CONST) : Z := Definition DenoteAddress (sa : N) (st :...
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 is a substantive proof-engineering change: the diff removes incorrect notation (`r <- get_reg st r; z <- DenoteConst sa z;` which is not valid Coq syntax) and replaces it with the correct expression (`get_reg st r * DenoteConst sa z`), fixing a semantic definition in a hand-written Bedrock semantics file — a real ...
fiat-crypto_a19a0c95_f84ccc1a
fiat-crypto
coq
a19a0c9590ee6f001f95531ca09b455c4b0b9120
0f806aa2b46b15110f29ab2ea0dec2e110264dc1
separate cases for printing assembly
src/Assembly/Parse.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
[]
diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v index fa56bc67e..59823a7ef 100644 --- a/src/Assembly/Parse.v +++ b/src/Assembly/Parse.v @@ -290,13 +290,11 @@ Global Instance show_lvl_MEM : ShowLevel MEM := fun m => (if m.(mem_is_byte) then show_lvl_app (fun 'tt => "byte") else show_lvl) (fu...
Write or extend the proof(s) in src/Assembly/Parse.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive proof/definition change—the diff refactors assembly printing logic by consolidating nested `match` statements into a single pattern match over a tuple, improving clarity and coverage of cases, which is real proof engineering on the assembly parser, not a generated artifact or mechanical restructur...
fiat-crypto_0f806aa2_d7a8fe64
fiat-crypto
coq
0f806aa2b46b15110f29ab2ea0dec2e110264dc1
a67d258d5f953ea36086abeb553af84f652dd5d5
Fix parsing
src/Assembly/Parse.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
[]
diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v index 18e6a33dc..fa56bc67e 100644 --- a/src/Assembly/Parse.v +++ b/src/Assembly/Parse.v @@ -180,34 +180,34 @@ Definition parse_MEM : ParserAction MEM ; mem_scale_reg := sr:option (Z * REG) ; mem_offset := offset:option Z |}) (((str...
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 modifies proof-adjacent parsing logic by adjusting whitespace-handling function calls in a parser definition (changing `strip_whitespace_after`/`strip_whitespace_before` to `strip_whitespace_around` or removing them entirely), which affects the semantic behavior of the parser rather than being a pure display ...
fiat-crypto_a67d258d_a6da3acc
fiat-crypto
coq
a67d258d5f953ea36086abeb553af84f652dd5d5
0f234a488c111033b03fa35f11180d076a1f93d5
not printing 1* in the common case
src/Assembly/Parse.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
[]
diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v index 3074eee77..18e6a33dc 100644 --- a/src/Assembly/Parse.v +++ b/src/Assembly/Parse.v @@ -296,7 +296,7 @@ Global Instance show_lvl_MEM : ShowLevel MEM end) ++ (match m.(mem_scale_reg) with | None ...
Write or extend the proof(s) in src/Assembly/Parse.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive change to display/output logic in a non-generated hand-written file (src/Assembly/Parse.v is not a templated curve file), modifying the conditional rendering of multiplication by 1 in assembly output representation — it changes the proof/definition body behavior, not just display directives or whi...
fiat-crypto_0f234a48_a1ae463e
fiat-crypto
coq
0f234a488c111033b03fa35f11180d076a1f93d5
97e92ff159ce912c7ac75dccff31842b4237f820
fix renamed reg in mem-record
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 58e779892..844634e1b 100644 --- a/src/Assembly/WithBedrock/Semantics.v +++ b/src/Assembly/WithBedrock/Semantics.v @@ -106,8 +106,9 @@ Definition DenoteConst (sz : N) (a : CONST) : Z := Definition DenoteAddress (sa : N) (st...
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 changes the proof-body logic of `DenoteAddress` to correct identifier references and field accesses in a machine semantics function—renaming `mem_reg` to `mem_base_reg`, `mem_extra_reg` to `mem_scale_reg`, and altering the pattern-match logic to handle a tuple `(z, r)` instead of a single value; these are sub...
fiat-crypto_97e92ff1_5be52b7c
fiat-crypto
coq
97e92ff159ce912c7ac75dccff31842b4237f820
698b51012a905fea0167104ac4ef384ea973dc89
print mem
src/Assembly/Parse.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
[]
diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v index 37c632457..3074eee77 100644 --- a/src/Assembly/Parse.v +++ b/src/Assembly/Parse.v @@ -296,8 +296,8 @@ Global Instance show_lvl_MEM : ShowLevel MEM end) ++ (match m.(mem_scale_reg) with | None ...
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 modifies the proof body/implementation of the `show_lvl_MEM` instance by changing how memory scale registers are displayed (improving sign handling and formatting), which is a substantive change to definition content that affects proof/term generation; it is not a mere whitespace, comment, import, or generate...
fiat-crypto_fcfd4e85_3428babd
fiat-crypto
coq
fcfd4e858d346e2f4fb0ef436ae023e85c8aa35f
66d939aa49c27d4d2c0bf357e89b7b3ae35ff241
fixing mul(z,r)
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 7b52e25cf..e5d0ba614 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -1667,7 +1667,7 @@ Definition Address {sa : AddressSize} (a : MEM) : M idx := | None => App ((const 0), nil) end; index <- match a.(m...
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 changes the proof/definition body of the `Address` function by altering how it constructs a multiplication operation in the monadic `M` context, replacing a direct `mulZ` call with a sequenced binding that explicitly handles register retrieval and constant conversion — a substantive proof-engineering change t...
fiat-crypto_66d939aa_4fcadd2b
fiat-crypto
coq
66d939aa49c27d4d2c0bf357e89b7b3ae35ff241
d4d620f1fe224e6f85bdbbc2ae3bafc78f921e86
trying to mulZ z*r
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 37b7f4524..7b52e25cf 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -1667,7 +1667,7 @@ Definition Address {sa : AddressSize} (a : MEM) : M idx := | None => App ((const 0), nil) end; index <- match a.(m...
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 is a substantive proof-body/definition change in a hand-written file (src/Assembly/Symbolic.v is not a generated CurveParameters or templated op file), changing a concrete operation from `add sa` to `mulZ` with reordered arguments, which represents real proof engineering work even though the commit message is expl...
fiat-crypto_d4d620f1_f688bc5f
fiat-crypto
coq
d4d620f1fe224e6f85bdbbc2ae3bafc78f921e86
6debcdd125933c6db2772a209ec2611f7f784148
fixed symtax *->,
src/Assembly/Parse.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
[]
diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v index a83ffe403..9e69388dd 100644 --- a/src/Assembly/Parse.v +++ b/src/Assembly/Parse.v @@ -296,7 +296,7 @@ Global Instance show_lvl_MEM : ShowLevel MEM end) ++ (match m.(mem_scale_reg) with | None ...
Write or extend the proof(s) in src/Assembly/Parse.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive fix to a proof/definition body—the pattern match case changes from `(z * r)` (multiplication syntax error) to `(z, r)` (correct tuple syntax), and the corresponding expression changes from `Decimal.showZ z` to `show z`, fixing both a syntax error and the actual proof/code logic in a `ShowLevel` in...
fiat-crypto_d4d620f1_4790aef4
fiat-crypto
coq
d4d620f1fe224e6f85bdbbc2ae3bafc78f921e86
6debcdd125933c6db2772a209ec2611f7f784148
fixed symtax *->,
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 7c714011b..37b7f4524 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -1667,7 +1667,7 @@ Definition Address {sa : AddressSize} (a : MEM) : M idx := | None => App ((const 0), nil) end; index <- match a.(m...
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 fixes a syntax error in a pattern match (changing `z * r` to `z, r` in a tuple destructuring), which is a real code correction affecting the definition of the `Address` function; while minimal, it represents substantive proof engineering as it corrects incorrect pattern matching syntax that would prevent the ...
fiat-crypto_6debcdd1_b2c08aca
fiat-crypto
coq
6debcdd125933c6db2772a209ec2611f7f784148
f52401d7fc83d3dcbaaf0526e9ac34c7efa53891
fixed mem-parsing
src/Assembly/Parse.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
[]
diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v index 0b5a64b01..a83ffe403 100644 --- a/src/Assembly/Parse.v +++ b/src/Assembly/Parse.v @@ -174,25 +174,40 @@ Definition parse_FLAG : ParserAction FLAG Definition parse_MEM : ParserAction MEM := parse_map - (fun '(has_byte, (br (*base reg*), (sr (*sc...
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 substantively rewrites the `parse_MEM` definition's proof-like parser combinator logic, refactoring a complex nested structure with explicit match/case handling into cleaner modular `parse_map` applications with explicit tuple transformations—a real proof engineering change to the definition body, not merely ...
fiat-crypto_b8252e83_5444e85d
fiat-crypto
coq
b8252e83f6e7964c8cd1a3ccfefe06ce695b2066
27a3289f97e52f927bbf11f6f4e97b83391e0637
new MEM-structure
src/Assembly/Equality.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.Classes.Morphisms. Require Import Coq.Bool.Bool. Require Import Crypto.Util.Option. Require Import Crypto.Util.Bool. Require Import Crypto.Util.Bool.Reflect. Require I...
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. 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 Import Crypto.Util.Bool.Reflect. Require I...
[]
diff --git a/src/Assembly/Equality.v b/src/Assembly/Equality.v index ea04797ad..c324e7c3d 100644 --- a/src/Assembly/Equality.v +++ b/src/Assembly/Equality.v @@ -10,6 +10,7 @@ Require Import Crypto.Util.Bool.Reflect. Require Import Crypto.Util.ListUtil. Require Import Crypto.Util.Tactics.DestructHead. Require Import ...
Write or extend the proof(s) in src/Assembly/Equality.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff substantively modifies the `MEM_beq` definition by changing its comparison logic to match a restructured MEM record (replacing `mem_reg` and `mem_extra_reg` fields with `mem_base_reg` and `mem_scale_reg`, the latter being a product type), which represents real proof engineering for an updated specification; t...
fiat-crypto_b8252e83_b48fc1dd
fiat-crypto
coq
b8252e83f6e7964c8cd1a3ccfefe06ce695b2066
27a3289f97e52f927bbf11f6f4e97b83391e0637
new MEM-structure
src/Assembly/Parse.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
Require Import Coq.ZArith.ZArith. Require Import Coq.derive.Derive. 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.Strings.Parse.Common. Require Import Cry...
[]
diff --git a/src/Assembly/Parse.v b/src/Assembly/Parse.v index be0968289..0b5a64b01 100644 --- a/src/Assembly/Parse.v +++ b/src/Assembly/Parse.v @@ -174,21 +174,25 @@ Definition parse_FLAG : ParserAction FLAG Definition parse_MEM : ParserAction MEM := parse_map - (fun '(has_byte, (r, (r', maybe_pm_z))) + ...
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 contains substantive changes to definition bodies (`parse_MEM` and `show_lvl_MEM`) including renamed record fields (`mem_reg` → `mem_base_reg`, `mem_extra_reg` → `mem_scale_reg`), restructured parser logic with new alternatives, and updated display logic — all real proof engineering changes that belong in an ...
fiat-crypto_b8252e83_8d08e601
fiat-crypto
coq
b8252e83f6e7964c8cd1a3ccfefe06ce695b2066
27a3289f97e52f927bbf11f6f4e97b83391e0637
new MEM-structure
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index b6ebb91c8..7c714011b 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -1662,11 +1662,14 @@ Definition SetReg r (v : idx) : M unit := Class AddressSize := address_size : OperationSize. Definition Address {sa : AddressSize} (a :...
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 modifies the definition body of the `Address` function in a hand-written proof file (`src/Assembly/Symbolic.v`, not a generated curve-specific file), changing how memory addressing is computed by restructuring field accesses (`mem_reg` → `mem_base_reg`, introducing `mem_scale_reg`) and adjusting the tactic lo...
fiat-crypto_b8252e83_2edf9bb0
fiat-crypto
coq
b8252e83f6e7964c8cd1a3ccfefe06ce695b2066
27a3289f97e52f927bbf11f6f4e97b83391e0637
new MEM-structure
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 Crypto.Util.Tuple. Require Crypto.Util.OptionList. Import ListNotations. Local Open Scope list_scope. Local Set Implicit Arguments. Local Set Boolean Equality Schemes. Local Se...
Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Crypto.Util.Tuple. Require Crypto.Util.OptionList. Import ListNotations. Local Open Scope list_scope. Local Set Implicit Arguments. Local Set Boolean Equality Schemes. Local Se...
[]
diff --git a/src/Assembly/Syntax.v b/src/Assembly/Syntax.v index 807e78e8a..f3375f666 100644 --- a/src/Assembly/Syntax.v +++ b/src/Assembly/Syntax.v @@ -23,7 +23,7 @@ Inductive REG := Definition CONST := Z. Coercion CONST_of_Z (x : Z) : CONST := x. -Record MEM := { mem_is_byte : bool ; mem_reg : REG ; mem_extra_reg...
Write or extend the proof(s) in src/Assembly/Syntax.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff modifies the `MEM` record definition by changing its field structure (renaming/replacing `mem_reg` and `mem_extra_reg` with `mem_base_reg` and `mem_scale_reg`, and adjusting their types), which is a substantive change to a data structure definition that would require updating any proofs, instances, or code th...
fiat-crypto_48237273_e0aee84f
fiat-crypto
coq
482372736dffc882dca5cb40f4b421f6f669ecc2
5cfb8f7168159e1b941829d74b3a2f1dcd48b352
Improve errors a bit more
src/Assembly/Equivalence.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
[]
diff --git a/src/Assembly/Equivalence.v b/src/Assembly/Equivalence.v index 36b00f0a1..422ef654b 100644 --- a/src/Assembly/Equivalence.v +++ b/src/Assembly/Equivalence.v @@ -166,6 +166,10 @@ Definition show_expr_node_lite : Show Symbolic.expr => "(" ++ show op ++ ", " ++ @show_list _ show_expr_node_lite e ++ "...
Write or extend the proof(s) in src/Assembly/Equivalence.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff is substantive proof engineering that adds new definitions (`show_node_lite`, `iteratively_describe_idx`, `describe_full_idx_from_state`), modifies function signatures (adding `show_full : bool` parameter to `describe_idx_from_state`), changes proof/logic bodies (pattern matching and control flow rewrite in `...
fiat-crypto_48237273_b04fef07
fiat-crypto
coq
482372736dffc882dca5cb40f4b421f6f669ecc2
5cfb8f7168159e1b941829d74b3a2f1dcd48b352
Improve errors a bit more
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 9116dcaee..b6ebb91c8 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -1547,8 +1547,7 @@ Module error. | unimplemented_instruction (_ : NormalInstruction) | unsupported_line (_ : RawLine) | ambiguous_operation_size (_ : N...
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 removes the `failed_to_unify` error constructor and its corresponding display case, and simplifies error messages by removing detailed diagnostic information from `load` and `store` errors—substantive changes to the error type definition and its display logic that affect proof/spec behavior, though the change...
fiat-crypto_5cfb8f71_8180fbcb
fiat-crypto
coq
5cfb8f7168159e1b941829d74b3a2f1dcd48b352
f1ccc4bd4f2b42ceab152780a70256371045f086
Better equivalence checking errors in the face of bad loads
src/Assembly/Equivalence.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
[]
diff --git a/src/Assembly/Equivalence.v b/src/Assembly/Equivalence.v index 7319f7029..36b00f0a1 100644 --- a/src/Assembly/Equivalence.v +++ b/src/Assembly/Equivalence.v @@ -456,8 +456,8 @@ Fixpoint explain_unification_error (asm_output PHOAS_output : list (idx + list i Global Instance show_lines_EquivalenceCheckingErr...
Write or extend the proof(s) in src/Assembly/Equivalence.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff makes substantive changes to error message formatting and error type selections in the `show_lines_EquivalenceCheckingError` instance and the `LoadOutputs` definition—these are real proof/definition engineering changes affecting control flow and error reporting, not mere cosmetic or tooling adjustments, though...
fiat-crypto_5cfb8f71_e00d22ca
fiat-crypto
coq
5cfb8f7168159e1b941829d74b3a2f1dcd48b352
f1ccc4bd4f2b42ceab152780a70256371045f086
Better equivalence checking errors in the face of bad loads
src/Assembly/Symbolic.v
proof_add
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
Require Crypto.Assembly.Parse. Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.ZArith.ZArith. Require Crypto.Util.Tuple. Require Import Util.OptionList. Require Import Crypto.Util.ErrorT. Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo. Require Import Crypto.Util.ZUtil.Testb...
[]
diff --git a/src/Assembly/Symbolic.v b/src/Assembly/Symbolic.v index 88fea2335..9116dcaee 100644 --- a/src/Assembly/Symbolic.v +++ b/src/Assembly/Symbolic.v @@ -1536,14 +1536,12 @@ Global Instance ShowLines_symbolic_state : ShowLines symbolic_state := Module error. Variant error := - | nth_error_dag (_ : nat) - ...
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 changes the `error` variant type by adding state/context information to constructors, and refactors the `Show_error` instance from a simple `Show` function to a more detailed `ShowLines` instance with improved error messages; it also updates error-handling call sites (`some_or`, `GetFlag`, `GetReg64`, `Reveal...
fiat-crypto_708ec6b3_e15f1f7e
fiat-crypto
coq
708ec6b3dc9c9ee021080be08294babc2b273bb0
1da0c9d013675002f80a23dac6397785d0786ad7
Parameterize over dereference_scalar in more places
src/Assembly/Equivalence.v
proof_add
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Coq.NArith.NArith. Require Import Crypto.Assembly.Syntax. Require Import Crypto.Assembly.Parse. Require Import Crypto.Assembly.Symbolic. Require Import Crypto.Util.Strings.Parse.Common. Require Import Cryp...
[]
diff --git a/src/Assembly/Equivalence.v b/src/Assembly/Equivalence.v index 0cdee6573..7319f7029 100644 --- a/src/Assembly/Equivalence.v +++ b/src/Assembly/Equivalence.v @@ -122,7 +122,7 @@ printing functions on command-lines options indicating how verbose to be in printing the error message. *) Inductive EquivalenceC...
Write or extend the proof(s) in src/Assembly/Equivalence.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff makes substantive changes to function signatures (adding `dereference_scalar` parameter), type definitions (changing `list (option idx)` to `list ((REG + idx) + idx)`), and proof-body logic (conditional branching for scalar dereferencing and type pattern matching), which are core proof engineering changes des...
fiat-crypto_708ec6b3_21b45ce8
fiat-crypto
coq
708ec6b3dc9c9ee021080be08294babc2b273bb0
1da0c9d013675002f80a23dac6397785d0786ad7
Parameterize over dereference_scalar in more places
src/Assembly/EquivalenceProofs.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
[]
diff --git a/src/Assembly/EquivalenceProofs.v b/src/Assembly/EquivalenceProofs.v index f46b24b1f..57b6b58df 100644 --- a/src/Assembly/EquivalenceProofs.v +++ b/src/Assembly/EquivalenceProofs.v @@ -951,8 +951,9 @@ Definition SetRegFresh_G (r : REG) (v : Z) : G.M idx G.ret idx)%GM. Fixpoint build_merge_base_add...
Write or extend the proof(s) in src/Assembly/EquivalenceProofs.v. Complete any unfinished proofs or add missing proof content.
accept
claude-sonnet-4-6
This diff contains substantial proof engineering changes including new definitions (`compute_stack_base_G`), modified function signatures (parameterizing over `dereference_scalar`), new lemmas (`compute_stack_base_eq_G`, `compute_stack_base_G_ok`), and modified proof tactics throughout the file.
fiat-crypto_708ec6b3_a8523edd
fiat-crypto
coq
708ec6b3dc9c9ee021080be08294babc2b273bb0
1da0c9d013675002f80a23dac6397785d0786ad7
Parameterize over dereference_scalar in more places
src/Assembly/WithBedrock/Proofs.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
[]
diff --git a/src/Assembly/WithBedrock/Proofs.v b/src/Assembly/WithBedrock/Proofs.v index 7e109e690..2bb0f1dae 100644 --- a/src/Assembly/WithBedrock/Proofs.v +++ b/src/Assembly/WithBedrock/Proofs.v @@ -40,6 +40,7 @@ Require Import Crypto.Util.ZUtil.LandLorBounds. Require Import Crypto.Util.ZUtil.Tactics.PeelLe. Requir...
Write or extend the proof(s) in src/Assembly/WithBedrock/Proofs.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff contains substantive proof engineering changes: lemma statement modifications (changing `get_reg_bounded` from a `Forall` version to a single-register version and adding a new `get_reg_bounded_Forall` wrapper), type parameter changes in lemma signatures (`R_regs_preserved_fold_left_set_reg_index`, pattern mat...
fiat-crypto_1da0c9d0_74c44810
fiat-crypto
coq
1da0c9d013675002f80a23dac6397785d0786ad7
e1a4b62ff743c180838246e8a2a2589412d557de
Add revert_until
src/Util/Tactics/RevertUntil.v
proof_add
Require Export Crypto.Util.FixCoqMistakes. (** [revert_until H] reverts all hypotheses coming after [H] *) Ltac revert_until H := lazymatch goal with | [ H' : _ |- _ ] => tryif constr_eq H' H then idtac else (revert H'; revert_until H) end.
[]
diff --git a/src/Util/Tactics/RevertUntil.v b/src/Util/Tactics/RevertUntil.v new file mode 100644 index 000000000..2e8fdafab --- /dev/null +++ b/src/Util/Tactics/RevertUntil.v @@ -0,0 +1,9 @@ +Require Export Crypto.Util.FixCoqMistakes. + +(** [revert_until H] reverts all hypotheses coming after [H] *) +Ltac revert_unti...
Write the proof content for the declarations in src/Util/Tactics/RevertUntil.v.
accept
claude-haiku-4-5
This is a substantive new file introducing a custom Ltac tactic definition (revert_until), which is a real proof-engineering utility; the Require Export is mechanical but the tactic body itself is custom code that belongs in an evaluation dataset.
fiat-crypto_e1a4b62f_b066c35f
fiat-crypto
coq
e1a4b62ff743c180838246e8a2a2589412d557de
a6b4d85c875bc7f0b2990cfff10af80266231349
Fix for Coq 8.11
src/Assembly/EquivalenceProofs.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
[]
diff --git a/src/Assembly/EquivalenceProofs.v b/src/Assembly/EquivalenceProofs.v index 4f1f53794..f46b24b1f 100644 --- a/src/Assembly/EquivalenceProofs.v +++ b/src/Assembly/EquivalenceProofs.v @@ -23,6 +23,7 @@ Require Import Crypto.Util.NatUtil. Require Import Crypto.Util.ListUtil. Require Import Crypto.Util.ListUti...
Write or extend the proof(s) in src/Assembly/EquivalenceProofs.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 adds a new tactic `eapply Forall.Forall2_combine; [ | eassumption .. ]; eauto` to the list of alternatives in a `repeat first [...]` block, alongside re-indentation of existing tactics. The addition of a new proof strategy (combined with the required `Requi...
fiat-crypto_a6b4d85c_03018556
fiat-crypto
coq
a6b4d85c875bc7f0b2990cfff10af80266231349
f7bc9e1ebcac6606b2049ef842b358d2049fd242
Split off the non-bedrock-dependent part of equiv proofs
src/Assembly/EquivalenceProofs.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
[]
diff --git a/src/Assembly/EquivalenceProofs.v b/src/Assembly/EquivalenceProofs.v new file mode 100644 index 000000000..4f1f53794 --- /dev/null +++ b/src/Assembly/EquivalenceProofs.v @@ -0,0 +1,2773 @@ +Require Import Coq.Lists.List. +Require Import Coq.micromega.Lia. +Require Import Coq.NArith.NArith. +Require Import C...
Write the proof content for the declarations in src/Assembly/EquivalenceProofs.v.
accept
claude-haiku-4-5
This is a new file with 2773 lines of substantive proof content including multiple lemmas with real tactic proofs (e.g., using `cbv`, `intros`, `break_innermost_match`, `eapply`, `Forall2_weaken`), definitions, and proof bodies for equivalence reasoning in assembly code — clearly proof engineering work that belongs in ...
fiat-crypto_a6b4d85c_96d68afb
fiat-crypto
coq
a6b4d85c875bc7f0b2990cfff10af80266231349
f7bc9e1ebcac6606b2049ef842b358d2049fd242
Split off the non-bedrock-dependent part of equiv proofs
src/Assembly/WithBedrock/Proofs.v
proof_add
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
Require Import Coq.Lists.List. Require Import Coq.micromega.Lia. Require Import Coq.NArith.NArith. Require Import Coq.ZArith.ZArith. Require Import Coq.Classes.Morphisms. Require Import Crypto.Language.PreExtra. Require Import Crypto.Language.API. Require Import Crypto.Language.APINotations. Require Import Crypto.Abstr...
[]
diff --git a/src/Assembly/WithBedrock/Proofs.v b/src/Assembly/WithBedrock/Proofs.v index 2488b0c3b..7e109e690 100644 --- a/src/Assembly/WithBedrock/Proofs.v +++ b/src/Assembly/WithBedrock/Proofs.v @@ -9,2747 +9,67 @@ Require Import Crypto.Language.APINotations. Require Import Crypto.AbstractInterpretation.ZRange. Req...
Write or extend the proof(s) in src/Assembly/WithBedrock/Proofs.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff removes ~2700 lines of code (proofs, definitions, lemmas, imports) from a non-bedrock-dependent section being split off; while the diff itself shows deletion rather than new proof work, the commit message indicates refactoring to separate concerns, and evaluating the *remaining* content in the file (which wou...
fiat-crypto_37cfe57e_59f2b3f0
fiat-crypto
coq
37cfe57e2b7b444ec2ec96029b0e10a34404cbad
8e98e208730a6b1a405c9789656285f1c600522e
Add some concat lemmas
src/Util/ListUtil/Concat.v
proof_add
Require Import Coq.Lists.List. Require Import Crypto.Util.FixCoqMistakes. Import ListNotations. Local Open Scope list_scope. Local Set Implicit Arguments. Module List. Lemma concat_map_singleton A (ls : list A) : concat (map (fun x => [x]) ls) = ls. Proof. induction ls; cbn; congruence. Qed. End List.
[]
diff --git a/src/Util/ListUtil/Concat.v b/src/Util/ListUtil/Concat.v new file mode 100644 index 000000000..e9484f88f --- /dev/null +++ b/src/Util/ListUtil/Concat.v @@ -0,0 +1,10 @@ +Require Import Coq.Lists.List. +Require Import Crypto.Util.FixCoqMistakes. +Import ListNotations. +Local Open Scope list_scope. +Local Set...
Write the proof content for the declarations in src/Util/ListUtil/Concat.v.
accept
claude-haiku-4-5
This is a new file with real lemmas and proofs (a substantive list utility lemma with a complete induction-based proof), which falls under the ACCEPT category of "a new file with real definitions/lemmas/proofs," and the proof-body tactic content (`induction`, `cbn`, `congruence`) is entirely substantive proof engineeri...
fiat-crypto_8e98e208_affd2e83
fiat-crypto
coq
8e98e208730a6b1a405c9789656285f1c600522e
f43ed264de55c47861d2bd2eb49aca0afdaa059d
Add some lemmas about Forall2 and concat
src/Util/ListUtil/Forall.v
proof_add
Require Import Coq.micromega.Lia. Require Import Coq.Classes.Morphisms. Require Import Coq.Lists.List. Require Import Crypto.Util.Tactics.SpecializeBy. Require Import Crypto.Util.Tactics.SplitInContext. Require Import Crypto.Util.Tactics.DestructHead. Require Import Crypto.Util.Tactics.BreakMatch. Require Import Crypto...
Require Import Coq.micromega.Lia. Require Import Coq.Classes.Morphisms. Require Import Coq.Lists.List. Require Import Crypto.Util.Tactics.SpecializeBy. Require Import Crypto.Util.Tactics.SplitInContext. Require Import Crypto.Util.Tactics.DestructHead. Require Import Crypto.Util.Tactics.BreakMatch. Require Import Crypto...
[]
diff --git a/src/Util/ListUtil/Forall.v b/src/Util/ListUtil/Forall.v index 33759497f..90f7ef52b 100644 --- a/src/Util/ListUtil/Forall.v +++ b/src/Util/ListUtil/Forall.v @@ -387,3 +387,43 @@ Proof using Type. setoid_rewrite Forall2_flip_iff; cbv [Basics.flip]. rewrite pull_ex_Forall2_l_iff; reflexivity. Qed. + +L...
Write or extend the proof(s) in src/Util/ListUtil/Forall.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds three new substantive lemmas (`Forall2_concat_l_ex_iff`, `Forall2_concat_r_ex_iff`, `Forall2_concat_concat`) with complete proof bodies to a hand-written utility file (`src/Util/ListUtil/Forall.v`), constituting real proof engineering work that belongs in an evaluation dataset.
fiat-crypto_f43ed264_63b5993b
fiat-crypto
coq
f43ed264de55c47861d2bd2eb49aca0afdaa059d
0a192c941107511db45054c1e08af1dc097f9e1a
Add filter util
src/Util/ListUtil/Filter.v
proof_add
Require Import Coq.micromega.Lia. Require Import Coq.Arith.Arith. Require Import Coq.Lists.List. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Set Implicit Arguments. Local Open Scope list_scope. Module List. Lemma filter_Forall_eq A f ls : @Forall A (fun x => f x = true) ls -> filter f ls =...
[]
diff --git a/src/Util/ListUtil/Filter.v b/src/Util/ListUtil/Filter.v new file mode 100644 index 000000000..9fe34b58b --- /dev/null +++ b/src/Util/ListUtil/Filter.v @@ -0,0 +1,24 @@ +Require Import Coq.micromega.Lia. +Require Import Coq.Arith.Arith. +Require Import Coq.Lists.List. +Require Export Crypto.Util.FixCoqMista...
Write the proof content for the declarations in src/Util/ListUtil/Filter.v.
accept
claude-haiku-4-5
This is a new file containing substantive proof engineering: three hand-written lemmas about list filtering (`filter_Forall_eq`, `filter_length_le`, `filter_eq_length_eq`) with real tactic proofs using induction, destruct, and arithmetic reasoning—not generated code or mechanical artifacts.
fiat-crypto_0a192c94_d9e6d4ab
fiat-crypto
coq
0a192c941107511db45054c1e08af1dc097f9e1a
a67a862a77f7eb90e300796d706c44b585e808aa
Add partition_eq_filter
src/Util/ListUtil/Partition.v
proof_add
Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Open Scope list_scope. Module List. Lemma partition_permutation A f (ls : list A) xs ys (H : @partition A f ls = (xs, ys)) : Permutation (xs ++ ys) ls. Proof. ...
Require Import Coq.Sorting.Permutation. Require Import Coq.Lists.List. Require Export Crypto.Util.FixCoqMistakes. Import ListNotations. Local Open Scope list_scope. Module List. Lemma partition_permutation A f (ls : list A) xs ys (H : @partition A f ls = (xs, ys)) : Permutation (xs ++ ys) ls. Proof. ...
[]
diff --git a/src/Util/ListUtil/Partition.v b/src/Util/ListUtil/Partition.v index 2f50a9b9b..b0fd3793e 100644 --- a/src/Util/ListUtil/Partition.v +++ b/src/Util/ListUtil/Partition.v @@ -33,4 +33,17 @@ Module List. all: destruct IH. all: repeat first [ constructor | assumption ]. Qed. + + Lemma partition_eq...
Write or extend the proof(s) in src/Util/ListUtil/Partition.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive proof addition — a new lemma `partition_eq_filter` with a complete, non-trivial proof body using induction, case analysis on the partition structure, and multiple subgoals; it is a real proof engineering contribution, not generated code or mechanical change.
fiat-crypto_b6ef305c_be812ea0
fiat-crypto
coq
b6ef305c5b98c8eedc34fe097fffca8127ca09fc
bf30d110fd08f077d2be8887de29fd3edd19a100
bump rupicola/bedrock2 (#1151)
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 coqutil.Map.SortedListWord. Require Import coqutil.Map.Z_keyed_SortedListMap. 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 coqutil.Map.SortedListWord. Require Import coqutil.Map.Z_keyed_SortedListMap. Require Impo...
[]
diff --git a/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v b/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v index 741bfb183..88bf983f2 100644 --- a/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v +++ b/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v @@ -94,7 +94,7 @@ Section Generic. ...
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 contains primarily whitespace/indentation changes (trailing spaces removed) which should be rejected, but also includes a substantive proof-relevant change at lines 206–209 where `map.agree_on LowerPipeline.callee_saved` is replaced with `map.only_differ ... reg_class.caller_saved`, which is a real semantic ch...
fiat-crypto_b6ef305c_2d0ac3b1
fiat-crypto
coq
b6ef305c5b98c8eedc34fe097fffca8127ca09fc
bf30d110fd08f077d2be8887de29fd3edd19a100
bump rupicola/bedrock2 (#1151)
src/Bedrock/Field/Common/Util.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.Classes.Morphisms. Require Import Coq.Classes.RelationClasses. Require Import bedrock2.Array. Require Import bedrock2.Scalars. Require Import bedrock2.Syntax. Require Import bedrock2.Map.Separation....
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.micromega.Lia. Require Import Coq.Classes.Morphisms. Require Import Coq.Classes.RelationClasses. Require Import bedrock2.Array. Require Import bedrock2.Scalars. Require Import bedrock2.Syntax. Require Import bedrock2.Map.Separation....
[]
diff --git a/src/Bedrock/Field/Common/Util.v b/src/Bedrock/Field/Common/Util.v index aa9edcf53..0f9fcd8b0 100644 --- a/src/Bedrock/Field/Common/Util.v +++ b/src/Bedrock/Field/Common/Util.v @@ -744,7 +744,7 @@ Section Words. Qed. Local Notation bytes_per_word := (Z.to_nat (Memory.bytes_per_word width)). - Lemma...
Write or extend the proof(s) in src/Bedrock/Field/Common/Util.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff contains a mix of substantive and non-substantive changes: whitespace trimming (lines 747, 873, 922) falls under REJECT, but the addition of two new proof cases handling word equality (lines 881–884 and 927–929) represent substantive proof-body extensions with new tactics (`destr`, `eauto`), making the overall...
fiat-crypto_b6ef305c_9ad4d9fc
fiat-crypto
coq
b6ef305c5b98c8eedc34fe097fffca8127ca09fc
bf30d110fd08f077d2be8887de29fd3edd19a100
bump rupicola/bedrock2 (#1151)
src/Bedrock/Field/Translation/Parameters/Defaults.v
proof_add
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import coqutil.Word.Interface. Require Import bedrock2.Syntax. Require Import Crypto.Bedrock.Field.Common.Types. Require Import Crypto.BoundsPipeline. Require Import Crypto.UnsaturatedSolinasHeuristics. Require C...
Require Import Coq.ZArith.ZArith. Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import coqutil.Word.Interface. Require Import bedrock2.Syntax. Require Import Crypto.Bedrock.Field.Common.Types. Require Import Crypto.BoundsPipeline. Require Import Crypto.UnsaturatedSolinasHeuristics. Require C...
[]
diff --git a/src/Bedrock/Field/Translation/Parameters/Defaults.v b/src/Bedrock/Field/Translation/Parameters/Defaults.v index 445ccbdae..6e010238f 100644 --- a/src/Bedrock/Field/Translation/Parameters/Defaults.v +++ b/src/Bedrock/Field/Translation/Parameters/Defaults.v @@ -55,6 +55,7 @@ Section Defs. | expr.load _ ...
Write or extend the proof(s) in src/Bedrock/Field/Translation/Parameters/Defaults.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This is a substantive addition to a definition body in a hand-written file (src/Bedrock/, not a generated CurveParameters.v or templated op file), adding a new pattern match clause for `expr.ite` to the `error_free_expr` recursive function — this is a real definition/specification change that requires proof engineering...
fiat-crypto_df775901_0a288d6d
fiat-crypto
coq
df775901738f462a7129f3ed027864eddb1ef6b0
168bcc9508de745a2102b74b6014e4871b03bce5
admit riscv_word_ok instance
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 coqutil.Map.SortedListWord. Require Import coqutil.Map.Z_keyed_SortedListMap. 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 coqutil.Map.SortedListWord. Require Import coqutil.Map.Z_keyed_SortedListMap. Require Impo...
[]
diff --git a/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v b/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v index bcbfe7f19..741bfb183 100644 --- a/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v +++ b/src/Bedrock/End2End/X25519/MontgomeryLadderProperties.v @@ -135,6 +135,9 @@ Proof. du...
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
This diff adds a new `Local Instance` declaration with an `Admitted` proof body—a stub instance assertion rather than a completed proof. While the instance declaration itself is a substantive addition (not a comment or whitespace change), the body is admittedly incomplete (`Admitted`), placing this in the "WIP/Admitted...
fiat-crypto_433c56ec_b0fb9938
fiat-crypto
coq
433c56ec66a940331fccf171bea5153e8bc7a1c0
33af4d117d256ffa950f0dcfdb3dadd6c2c383a2
integrate from_word and cswap with montledder
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 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/End2End/X25519/Field25519.v b/src/Bedrock/End2End/X25519/Field25519.v index d0ecc1f0a..56d4d8045 100644 --- a/src/Bedrock/End2End/X25519/Field25519.v +++ b/src/Bedrock/End2End/X25519/Field25519.v @@ -63,6 +63,14 @@ Section Field. As fe25519_copy_correct. Proof. Time derive_bedrock2...
Write or extend the proof(s) in src/Bedrock/End2End/X25519/Field25519.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
This diff adds a new derived Bedrock function (`fe25519_from_word`) with its correctness proof using the `derive_bedrock2_func` tactic—a substantive proof engineering change that introduces new definitions and proof content beyond mechanical code generation templates, despite the file being in a Bedrock-specific path.
fiat-crypto_433c56ec_442ed1fc
fiat-crypto
coq
433c56ec66a940331fccf171bea5153e8bc7a1c0
33af4d117d256ffa950f0dcfdb3dadd6c2c383a2
integrate from_word and cswap with montledder
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.Syntax. Require Import compiler.Pipeline. Require Import compiler.MMIO. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Require Import Crypto.Bedrock.En...
Require Import Coq.Strings.String. Require Import Coq.Lists.List. Require Import Coq.ZArith.ZArith. Require Import Crypto.Spec.Curve25519. Require Import bedrock2.Syntax. Require Import compiler.Pipeline. Require Import compiler.MMIO. Require Import Crypto.Arithmetic.PrimeFieldTheorems. Require Import Crypto.Bedrock.En...
[]
diff --git a/src/Bedrock/End2End/X25519/MontgomeryLadder.v b/src/Bedrock/End2End/X25519/MontgomeryLadder.v index db2bd1b98..60108c6d1 100644 --- a/src/Bedrock/End2End/X25519/MontgomeryLadder.v +++ b/src/Bedrock/End2End/X25519/MontgomeryLadder.v @@ -27,37 +27,14 @@ Definition montladder : func := (field_parameter...
Write or extend the proof(s) in src/Bedrock/End2End/X25519/MontgomeryLadder.v. Complete any unfinished proofs or add missing proof content.
accept
claude-haiku-4-5
The diff removes stub implementations of `felem_cswap` and `fe25519_small_literal`, reorders function list entries, replaces them with real integrated implementations (`fe25519_from_word` and `CSwap.cswap_body`), and refactors the `Compute` display directive—these are substantive proof engineering changes to integrate ...
fiat-crypto_433c56ec_351afb76
fiat-crypto
coq
433c56ec66a940331fccf171bea5153e8bc7a1c0
33af4d117d256ffa950f0dcfdb3dadd6c2c383a2
integrate from_word and cswap with montledder
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 7925a7846..c657c3215 100644 --- a/src/Bedrock/Field/Interface/Compilation2.v +++ b/src/Bedrock/Field/Interface/Compilation2.v @@ -283,14 +283,14 @@ Section Compile. ecancel_assumption. Qed. - Local Hint...
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 involves substantive proof-engineering changes: renaming a lemma (`compile_felem_small_literal` → `compile_from_word`), updating its specification reference and hint declarations, and modifying proof tactics (`apply H4` → `apply H3`), which constitute real changes to definition names, statement references, an...
fiat-crypto_433c56ec_bbd91231
fiat-crypto
coq
433c56ec66a940331fccf171bea5153e8bc7a1c0
33af4d117d256ffa950f0dcfdb3dadd6c2c383a2
integrate from_word and cswap with montledder
src/Bedrock/Field/Synthesis/New/Signature.v
proof_add
Require Rupicola.Lib.Tactics. 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 bedrock2.ProgramLogic. Require Impor...
Require Rupicola.Lib.Tactics. 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 bedrock2.ProgramLogic. Require Impor...
[]
diff --git a/src/Bedrock/Field/Synthesis/New/Signature.v b/src/Bedrock/Field/Synthesis/New/Signature.v index 8de9a2ac1..ead04e3ec 100644 --- a/src/Bedrock/Field/Synthesis/New/Signature.v +++ b/src/Bedrock/Field/Synthesis/New/Signature.v @@ -492,6 +492,107 @@ Section WithParameters. Qed. End ListUnop. + Secti...
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 adds a substantive new `FromWord` section with definitions (`from_word_insizes`, `from_word_outsizes`, `from_word_inlengths`) and a complete proof (`from_word_correct`) that integrates from_word with montledder, which is real proof-engineering work on a hand-written non-generated framework file (`src/Bedrock/...
fiat-crypto_433c56ec_1ecc11f4
fiat-crypto
coq
433c56ec66a940331fccf171bea5153e8bc7a1c0
33af4d117d256ffa950f0dcfdb3dadd6c2c383a2
integrate from_word and cswap with montledder
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 bfd9462f3..ebfc3cd68 100644 --- a/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v +++ b/src/Bedrock/Field/Synthesis/New/UnsaturatedSolinas.v @@ -61,6 +61,11 @@ Class unsaturated_solinas_op...
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 adds substantive proof engineering: a new field `from_word_op` in the `unsaturated_solinas_ops` class, corresponding context parameter and equality hypotheses, a new lemma `from_word_func_correct` with a proof body (albeit `Admitted`), and updates to tactic matching logic—all representing real functional inte...