Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions OWNER_QUESTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,24 @@ nothing to store. Its initializer is checked as a proof argument is, and
projecting it supplies that checked citation. Alternatively, a distinct type
former could name the evidence type of an alias.
Which spelling declares an evidence field?

### 6. May `encoding.md` list proposition tag 24, `IsMere`, as the codec already writes it?

The proposition codec writes and reads tag 24 for `IsMere`. That proposition
says any two witnesses of its inner proposition are equal:
`(p: P) -> (q: P) -> |proof|::Identity::<P>(p, q)`. Its row holds one child
proposition and no other fields
([proposition codec](source-rust/subsystems/compiler/psi/artifact/declaration-encoding/src/terms/proposition.rs)).
The [proposition tag table](wiki/spec/terminal-psi/encoding.md#propositions)
stops at tag 23. Because of that gap, `every_marked_tag_table_matches_its_decoder` in
[`spec_tag_tables.rs`](source-rust/subsystems/compiler/psi/artifact/wire/src/spec_tag_tables.rs)
fails on `main` with "`proposition-tags` omits 24, which the decoder accepts".
Agents may not edit `wiki/spec/`, so the row needs an owner.

**Recommend adding the row.** The proposed table row is:

| 24 | IsMere | proposition |

The alternative is to retire tag 24 from the codec until the specification
names it. That would make any module that states `IsMere` fail to encode.
Should the table list tag 24?
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ fn complete_paths(
reached
}

fn diagnostic_path<'module>(
module: &'module TerminalModule,
fn diagnostic_path(
module: &TerminalModule,
headers: &BTreeMap<Callable, &ProofCallableHeader>,
paths: &Paths,
roots: &Paths,
Expand Down
Loading