Theory Parity_Lattice
theory Parity_Lattice
imports "Voblint_Domain.State_Concretization"
begin
section ‹Parity lattice›
text ‹
parity abstracts integers by their parity:
Bot -- empty (unreachable)
Even -- {n | even n}
Odd -- {n | odd n}
Top -- all integers
Four-element lattice (‹Bot ≤ Even,Odd ≤ Top›). Finite; widen = sup.
This analysis does not implement backward guard refinement. Its branch transfer
therefore preserves parity information from the incoming state.
›
subsection ‹Carrier and concretization›