Proof of `Hadamard automata and Hadamard-finite series` (6th statement)

groundedproofs/Lax619925Proofs/Hadamard.lean · lax-619925

What this proof establishes

Assuming the claims on the left, the claim on the right holds — checked by the archive's pipeline. Proof code is not displayed here.

Read the Lean proof on GitHub

Description

The equality (zeroness) problem is decidable for Hadamard automata over a finite alphabet (paper §5). The orbit-ideal chain InI_n stabilises by Hilbert's basis theorem (orbitIdealstabilisesorbitIdeal_stabilises), and the stabilised ideal is a bi-ideal, so the zeroness of the recognised series is characterised by the finite statement ∀p∈orbitSetAN,p∈KA∀ p ∈ orbitSet A N, p ∈ K A (zeronessifforbitSetzeroness_iff_orbitSet). The kernel KAK A is finitely generated (gensKergensKer, by Noetherianity), so this finite statement is a batch of ideal-membership queries p∈span↑(gensKerA)p ∈ span ↑(gensKer A), each decided by IdealMembershipDecidableIdealMembershipDecidable; the decision dd is the Boolean "and" of these queries over the (finite) orbit set.