proposition: Lemma CompileEmpty_alt {idx}: forall (vtest vlst : StringMap.key) (env : GLabelMap.t (FuncSpec QsADTs.ADTValue)) (tenv: Telescope QsADTs.ADTValue) ext (fempty : GLabelMap.key) (lst : Comp (list (RealElemType idx))), vlst <> vtest -> vtest ∉ ext -> Lifted_not_mapsto_adt ext tenv vtest -> GLabelMap.MapsTo fempty (Axiomatic Empty) env -> {{ [[(NTSome vlst) ~~> lst as _]] :: tenv }} Call vtest fempty (vlst :: nil) {{ [[(NTSome vlst) ~~> lst as ls]] :: [[`vtest ->> (bool2w match ls with | nil => true | _ :: _ => false end) as _]] :: (DropName vtest tenv) }} ∪ {{ ext }} // env.
proof: Proof. repeat (SameValues_Facade_t_step || facade_cleanup_call || LiftPropertyToTelescope_t || injections); facade_eauto. Qed.
imports: CertifiedExtraction.Extraction.QueryStructures.CallRules.Core CertifiedExtraction.Extraction.External.Loops CertifiedExtraction.Extraction.External.FacadeLoops CertifiedExtraction.Extraction.External.Lists