Skip to content

Commit

Permalink
Fix equivp subgoals for quotient
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanbruegge committed Aug 28, 2024
1 parent ecd7916 commit 3cad382
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions operations/Least_Fixpoint.thy
Original file line number Diff line number Diff line change
Expand Up @@ -3266,16 +3266,22 @@ lemma avoid_raw_freshs:
(* END REPEAT_DETERM *)
done


lemma TT_Quotients:
"Quotient alpha_T1 TT1_abs TT1_rep (\<lambda>x. (=) (TT1_abs x))"
"Quotient alpha_T2 TT2_abs TT2_rep (\<lambda>x. (=) (TT2_abs x))"
apply (subgoal_tac "Quotient3 alpha_T1 TT1_abs TT1_rep")
prefer 2
apply (rule quot_type.Quotient)
apply (rule type_definition_quot_type)
apply (rule type_definition_T1)
apply (rule equivp_alphas)
apply (rule type_definition_T1)
apply (rule equivpI)
apply (rule reflpI)
apply (rule alpha_refls)
apply (rule sympI)
apply (erule alpha_syms)
apply (rule transpI)
apply (erule alpha_trans)
apply assumption
apply (rule QuotientI)
apply (erule Quotient3_abs_rep)
apply (rule alpha_refls)
Expand All @@ -3293,7 +3299,14 @@ lemma TT_Quotients:
apply (rule quot_type.Quotient)
apply (rule type_definition_quot_type)
apply (rule type_definition_T2)
apply (rule equivp_alphas)
apply (rule equivpI)
apply (rule reflpI)
apply (rule alpha_refls)
apply (rule sympI)
apply (erule alpha_syms)
apply (rule transpI)
apply (erule alpha_trans)
apply assumption
apply (rule QuotientI)
apply (erule Quotient3_abs_rep)
apply (rule alpha_refls)
Expand Down

0 comments on commit 3cad382

Please sign in to comment.