Oracle: decide and enforce the bound's domain when translating a bounded-read package

Aperta
#403 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
compilers

Direzione di ricerca

Start with the Ambyte specification to determine whether carried bounds are restricted, using the review context in #402 and the linked comment as the discovery point. Compare that rule with Echo's C015 implementation in crates/echo-edict-semantic-bound/src/lib.rs, while treating Echo as non-authoritative. Done means quoting the specification and either adding oracle refusal with a structured error and tests or documenting that the oracle intentionally computes U for every translatable plan.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug enhancement release:target-ir type: goalpost

Found in the first review of #402 (https://github.com/flyingrobots/amblicit/pull/402#issuecomment-7310140768), outside that pull request's scope (#376: read the eleven-field package).

Observation. The oracle's package translator accepts a carried bound on a program outside Echo's bound domain: for example, two read steps, where Echo's domain predicate requires exactly one read and one equality requirement (Echo crates/echo-edict-semantic-bound/src/lib.rs near 388-393 at dd8e2af1, ruling C015 rule 1). The oracle then computes its own U for that plan.

Question to settle from the Ambyte specification, not from Echo. Does the specification restrict which plans carry a bound U (and so which packages the oracle must refuse), or is the domain an Echo-side rule (C015) that the oracle should not enforce? The oracle is the reference and must not imitate Echo. Quote the specification's text, then either add the refusal with a structured error and tests, or record that the oracle intentionally computes U for any translatable plan.

W9 impact. None known: the retained package is in the domain.

Lingua principale
Rust
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di flyingrobots/edict

Tutte le issue di flyingrobots/edict

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.