Documentation

CslibFrontier.Computability.QueryComplexity.CertificateComposition

Composing certificates #

The union of certificates for two functions certifies any binary combination of their outputs. Consequently the certificate complexity at an input is subadditive under binary composition. These elementary rules are used to construct accepted-input formal complexity measures.

Main results #

theorem Cslib.QueryComplexity.IsCertificate.comp₂ {n : ℕ} {f g : BooleanFunction n} {a : BitString n} {S T : Finset (Fin n)} (hS : IsCertificate f a S) (hT : IsCertificate g a T) (op : Bool → Bool → Bool) :
IsCertificate (fun (x : BitString n) => op (f x) (g x)) a (S ∪ T)

Certificates for both arguments certify any binary operation on their values.

Certificate complexity at an input is subadditive under any binary Boolean operation.