Summary
- more efficient data structure;
- clarified signature;
- guard constraints by record_proofs=1, until performance implications have become more clear;
- more complete completions according to Sorts.insert_complete_ars (cf. 13199740ced6), e.g. relevant for theories HOL-ex.Word_Type, HOL-Matrix_LP.SparseMatrix;
- tuned;
- tuned;
- maintain sort constraints from type instantiations, with pro-forma derivation to collect oracles/thms; tuned;
- more direct proofs for type classes; misc tuning and cleanup;
- tuned;
- clarified modules: inference kernel maintains sort algebra within the logic;
- more elementary treatment of standard_vars (unconstrainT is already standard);
- clarified module structure;
- simplified module structure: back to plain datatype (see 95f4f08f950f and 70019ab5e57f);
- abstract type theory_id -- ensure non-equality type independently of implementation;