fact: Fixpoint T1add (a b : T1) :T1 := match a, b with | zero, y => y | x, zero => x | cons a n b, cons a' n' b' => (match compare a a' with | Lt => cons a' n' b' | Gt => (cons a n (T1add b (cons a' n' b'))) | Eq => (cons a (S (n+n')) b') end) end where "alpha + beta" := (T1add alpha beta) : t1_scope.
imports: Coq(Arith Max Bool Lia Compare_dec Relations Ensembles Wellfounded Bool RelationClasses Operators_Properties ArithRing Logic.Eqdep_dec) hydras(More_Arith Restriction DecPreOrder) hydras(OrdNotations)