Lax132576.WeightedZeronessDecidable
Decidable zeroness of weighted automata over the rationals
concepts/Lax132576/WeightedZeronessDecidable.lean · lax-132576
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 64 of the paper of lax-157538, Transducers
Theorem
The zeroness problem — does a given weighted automaton over the field of rationals compute the constant function ? — is decidable (Theorem B.3.7 of Transducers). It is the special case of equivalence (Theorem B.3.3) in which the second automaton is empty, and conversely equivalence reduces to zeroness of the difference; the book proves the zeroness criterion, Schützenberger's bound on the length of a witness, and derives both.
Lean source view on GitHub
| 1 | import Lax132576.TransducerCodes |
| 2 | import Lax132576.WeightedCodes |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Decidable zeroness of weighted automata over the rationals |
| 7 | type: theorem |
| 8 | --- |
| 9 | The zeroness problem — does a given weighted automaton over the field of |
| 10 | rationals compute the constant function ? — is decidable (Theorem B.3.7 of |
| 11 | *Transducers*). It is the special case of equivalence (Theorem B.3.3) in which |
| 12 | the second automaton is empty, and conversely equivalence reduces to zeroness |
| 13 | of the difference; the book proves the zeroness criterion, Schützenberger's |
| 14 | bound on the length of a witness, and derives both. |
| 15 | |
| 16 | # Formalization notes |
| 17 | |
| 18 | The automaton is given by a valid code, and the decided property is that its |
| 19 | function is `0`. |
| 20 | -/ |
| 21 | |
| 22 | namespace Lax132576.WeightedZeronessDecidable |
| 23 | |
| 24 | open Lax132576.TransducerCodes Lax132576.WeightedCodes |
| 25 | |
| 26 | /-- Zeroness of a valid coded weighted automaton over `ℚ` is decidable. -/ |
| 27 | axiom decidable_wcodeEval_eq_zero : |
| 28 | DecidableUnderPromise WCodeValid (fun c => wcodeEval c = 0) |
| 29 | |
| 30 | end Lax132576.WeightedZeronessDecidable |
| 31 |
Formalization notes
The automaton is given by a valid code, and the decided property is that its function is .
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments