You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=> let base_interp_beq_head := head_reference base_interp_beq in
784
-
let term := (eval cbn [Prod.prod_beq] in term) in
785
+
let term := (debug ("clean_beq:Prod.prod_beq") profile eval cbn [Prod.prod_beq] in term) in
785
786
let term := (eval cbv [ident.literal] in term) in
786
787
let term := deep_substitute_beq base_interp_beq avoid only_eliminate_in_ctx term in
787
788
let term := (eval cbv [base.interp_beq $base_interp_beq_head] in term) in
@@ -884,7 +885,7 @@ Module Compilers.
884
885
let pident_type_of_list_arg_types_beq := head_reference pident_type_of_list_arg_types_beq in
885
886
let pident_arg_types_of_typed_ident := head_reference pident_arg_types_of_typed_ident in
886
887
(eval cbv [expr_to_pattern_and_replacement_unfolded_split $pident_arg_types $pident_of_typed_ident $pident_type_of_list_arg_types_beq $pident_arg_types_of_typed_ident (*reflect_ident_iota*)] in res) in
887
-
let res := (eval cbn [fst snd andb pattern.base.relax pattern.base.subst_default pattern.base.subst_default_relax] in res) in
888
+
let res := (debug ("reify_to_pattern_and_replacement_in_context:1") profile eval cbn [fst snd andb pattern.base.relax pattern.base.subst_default pattern.base.subst_default_relax] in res) in
888
889
let res := change_pattern_base_subst_default_relax res in
889
890
let (p, res) := lazy_match! res with
890
891
| existT _ ?p ?res => (p, res)
@@ -913,7 +914,7 @@ Module Compilers.
913
914
res)))) in
914
915
let res := debug_Constr_check res in
915
916
let res := (eval cbv [UnderLets.map UnderLets.flat_map reify_expr_beta_iota reflect_expr_beta_iota reify_to_UnderLets] in res) in
916
-
let res := (eval cbn [reify reflect UnderLets.of_expr UnderLets.to_expr UnderLets.splice value' Base_value invert_Literal invert_ident_Literal splice_under_lets_with_value] in res) in
917
+
let res := (debug ("reify_to_pattern_and_replacement_in_context:2") profile eval cbn [reify reflect UnderLets.of_expr UnderLets.to_expr UnderLets.splice value' Base_value invert_Literal invert_ident_Literal splice_under_lets_with_value] in res) in
917
918
let res := strip_invalid_or_fail res in
918
919
(* cbv here not strictly needed *)
919
920
let res := (eval cbv [partial_lam_unif_rewrite_ruleTP_gen_unfolded]
@@ -922,7 +923,7 @@ Module Compilers.
922
923
$p
923
924
($cpartial_lam_unif_rewrite_ruleTP_gen _ $p $res))) in
924
925
(* not strictly needed *)
925
-
let res := (eval cbn [pattern.base.subst_default pattern.base.lookup_default PositiveMap.find type.interp base.interp $base_interp_head] in res) in
926
+
let res := (debug ("reify_to_pattern_and_replacement_in_context:3") profile eval cbn [pattern.base.subst_default pattern.base.lookup_default PositiveMap.find type.interp base.interp $base_interp_head] in res) in
0 commit comments