Skip to content

Commit 27dfa66

Browse files
docs(formal): remove the duplicated Set Printing Width comment (9 modules) (#205)
docs(formal): remove the duplicated Set Printing Width comment (9 modules) #202 landed the same three-line explanatory comment twice in every module — once above `Set Printing Width 400.` where it belongs, and once orphaned immediately below it. My fault: I ran the insertion, then deleted only the `Set Printing Width 400.` line to A/B-test whether the ~78-column wrap was actually hiding any axiom from the guard, then re-ran the insertion. The sed that undid the test matched only the directive, not its comment, so the second pass stacked a fresh copy on top of the leftover. Comment-only; no directive, no proof and no guard changes. `formal/Justfile` is untouched. To be accurate about scope, since the obvious worry is that a text edit near the imports clipped something: it did not. `Import ListNotations.` and every `Require Import` are intact in all nine modules — verified before and after. (A *different* cleanup attempt of mine did briefly eat that import by skipping a fixed three lines past the marker, which in `Planner.v` overran the comment. That version was reset and never committed; it is mentioned only so the next person knows the offset-based approach is the wrong tool here. This commit removes the second matched block specifically, keyed on occurrence count.) Verified: real coqc 8.20.1 -> `check-assumptions` exits 0, 9/9 OK; stub coqc -> exit 127, so the gate from #202 still fails when it should; `Normalizer.out` still prints at 157 columns, so the wrap fix is unaffected; `reuse lint` compliant.
1 parent c572d48 commit 27dfa66

9 files changed

Lines changed: 0 additions & 27 deletions

File tree

formal/Drift.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ Require Import Coq.Init.Logic.
3232
split a longer axiom type across lines and silently escape the check. *)
3333
Set Printing Width 400.
3434

35-
(* Keep Print Assumptions output on one line per axiom: the CI and Justfile
36-
guards match /^name :/ with awk, and Coq's default ~78-column wrap would
37-
split a longer axiom type across lines and silently escape the check. *)
3835

3936
(** ** Domain *)
4037

formal/Normalizer.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ Require Import Coq.Bool.Bool.
5252
split a longer axiom type across lines and silently escape the check. *)
5353
Set Printing Width 400.
5454

55-
(* Keep Print Assumptions output on one line per axiom: the CI and Justfile
56-
guards match /^name :/ with awk, and Coq's default ~78-column wrap would
57-
split a longer axiom type across lines and silently escape the check. *)
5855

5956
(** ** Domain *)
6057

formal/Octad.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ Require Import Coq.Logic.FunctionalExtensionality.
9595
split a longer axiom type across lines and silently escape the check. *)
9696
Set Printing Width 400.
9797

98-
(* Keep Print Assumptions output on one line per axiom: the CI and Justfile
99-
guards match /^name :/ with awk, and Coq's default ~78-column wrap would
100-
split a longer axiom type across lines and silently escape the check. *)
10198
Import ListNotations.
10299

103100
(** ** [def:modset] — Modality Set

formal/Planner.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ Require Import Coq.Sorting.Permutation.
3838
split a longer axiom type across lines and silently escape the check. *)
3939
Set Printing Width 400.
4040

41-
(* Keep Print Assumptions output on one line per axiom: the CI and Justfile
42-
guards match /^name :/ with awk, and Coq's default ~78-column wrap would
43-
split a longer axiom type across lines and silently escape the check. *)
4441
Import ListNotations.
4542

4643
(** ** Domain *)

formal/PlannerSemantic.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ Require Import Coq.Sorting.Permutation.
5656
split a longer axiom type across lines and silently escape the check. *)
5757
Set Printing Width 400.
5858

59-
(* Keep Print Assumptions output on one line per axiom: the CI and Justfile
60-
guards match /^name :/ with awk, and Coq's default ~78-column wrap would
61-
split a longer axiom type across lines and silently escape the check. *)
6259
Import ListNotations.
6360

6461
(** ** Domain (reusing Planner.v abstractions) *)

formal/Provenance.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ Require Import Coq.Lists.List.
4141
split a longer axiom type across lines and silently escape the check. *)
4242
Set Printing Width 400.
4343

44-
(* Keep Print Assumptions output on one line per axiom: the CI and Justfile
45-
guards match /^name :/ with awk, and Coq's default ~78-column wrap would
46-
split a longer axiom type across lines and silently escape the check. *)
4744
Import ListNotations.
4845

4946
(** ** Domain *)

formal/Transaction.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ Require Import Coq.Init.Logic.
4343
split a longer axiom type across lines and silently escape the check. *)
4444
Set Printing Width 400.
4545

46-
(* Keep Print Assumptions output on one line per axiom: the CI and Justfile
47-
guards match /^name :/ with awk, and Coq's default ~78-column wrap would
48-
split a longer axiom type across lines and silently escape the check. *)
4946

5047
(** ** Domain *)
5148

formal/VCL.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ Require Import Coq.Init.Logic.
4848
split a longer axiom type across lines and silently escape the check. *)
4949
Set Printing Width 400.
5050

51-
(* Keep Print Assumptions output on one line per axiom: the CI and Justfile
52-
guards match /^name :/ with awk, and Coq's default ~78-column wrap would
53-
split a longer axiom type across lines and silently escape the check. *)
5451

5552
(** ** Syntax *)
5653

formal/WAL.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ Require Import Coq.Logic.FunctionalExtensionality.
5151
split a longer axiom type across lines and silently escape the check. *)
5252
Set Printing Width 400.
5353

54-
(* Keep Print Assumptions output on one line per axiom: the CI and Justfile
55-
guards match /^name :/ with awk, and Coq's default ~78-column wrap would
56-
split a longer axiom type across lines and silently escape the check. *)
5754
Import ListNotations.
5855

5956
(** ** Domain *)

0 commit comments

Comments
 (0)