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 #
Cslib.QueryComplexity.IsCertificate.comp₂: union certificates for a binary operation.Cslib.QueryComplexity.certificateComplexityAt_comp₂_le: subadditivity at a fixed input.
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.
theorem Cslib.QueryComplexity.certificateComplexityAt_comp₂_le {n : ℕ} (op : Bool → Bool → Bool) (f g : BooleanFunction n) (a : BitString n) :
certificateComplexityAt (fun (x : BitString n) => op (f x) (g x)) a ≤ certificateComplexityAt f a + certificateComplexityAt g a
Certificate complexity at an input is subadditive under any binary Boolean operation.