Commit Graph

164 Commits

Author SHA1 Message Date
Burkhart Wolff 04f5e99e41 First running example for class invariants. 2018-12-03 16:43:27 +01:00
Burkhart Wolff 184a17f977 Refinement: class invariants now gets also the oid from its context. 2018-12-03 14:25:04 +01:00
Burkhart Wolff 6b85bd74cd Very first example of class invariant checking ... 2018-12-03 14:14:53 +01:00
Burkhart Wolff 23bc75d08d Corrections in ontologies (revealed by examples)
- identified problem: accept/reject conflicts were only detected at application
  time, not at declaration time :-( (leaved as "known problem" for the moment)
- new functionality for declaring doc class invariants
2018-12-03 13:19:31 +01:00
Burkhart Wolff eea65018d1 Rearrangement of the group of TR examples.
(following structure of math_exams)
2018-11-21 11:15:21 +01:00
Burkhart Wolff 90f6c2d4ab - New checks for reject sets
- basic infrastructure for class invariants
2018-11-20 10:11:11 +01:00
Burkhart Wolff d406b3daeb implemented reject alphabets. (untested)
slight corrections in MyCommentedIsabelle (MCI)
2018-11-19 20:53:59 +01:00
Burkhart Wolff dcda1cc214 Introduced Syntax accept / reject.
added some semantic for it (incomplete)
some elements on myCommentedIsabelle
2018-11-13 15:19:02 +01:00
Burkhart Wolff 9aef99c9d6 Better documentation of the RegExpInterface Module. 2018-11-05 22:22:20 +01:00
Burkhart Wolff 9494c05593 - Improved automata-management
- automata transformation integrated
- control option strict_checking added
- rudimentary tests in IsaDofApplications and Monitor_Example
2018-11-05 21:42:36 +01:00
Burkhart Wolff 456b4365f9 automata creation added 2018-11-04 20:27:05 +01:00
Burkhart Wolff 04cc46f9b4 New Config With AFP components and a thin interface for monitor-checking. 2018-11-04 18:56:59 +01:00
Burkhart Wolff 36fac27d0c New Config for 2017 including AFP contributions for Regular-Sets and Regular Automata.
Added a thin layer interfacing these two.
Slight textual improvements of examples (updates to more recent notations).
2018-10-30 15:50:01 +01:00
Achim D. Brucker a90e4e6a3f Added basic support for chapter*. 2018-10-30 01:29:15 +00:00
Burkhart Wolff 834365c25b Common developments on
- library
- presentation attribute
- factorisation of Common Ontology Library (COL)
- new infrastructure report
2018-10-23 13:56:18 +02:00
Burkhart Wolff f1783538bd Cleanup with examples. More commendation.
Another monitor example added (Concept_Example).
2018-10-17 12:22:25 +02:00
Burkhart Wolff 0de079cfbb Special ML antiquotation for the trace attribute (a cleaned up version). 2018-10-16 12:23:36 +02:00
Burkhart Wolff 93074bf24d Trace-Calculation refined. One gets the additional information WHICH oid of which class
is added to the trace.
2018-10-16 10:44:59 +02:00
Burkhart Wolff 71a889ee58 Automatic trace attribute calculation works on both Attribute and IsaDofApplications. 2018-10-11 13:38:32 +02:00
Burkhart Wolff b220233373 doc_item creation detects enabled monitors … 2018-10-09 15:56:17 +02:00
Burkhart Wolff 8b6a1af99d Kleine Reparaturen hier und da,
IsaDofApplications Paper weiter “Markupified”.
2018-10-09 11:59:21 +02:00
Burkhart Wolff bfb8dd901c Merge branch 'master' of https://git.logicalhacking.com/HOL-OCL/Isabelle_DOF 2018-10-09 10:03:13 +02:00
Burkhart Wolff 544e31fdc5 substantial progress on monitors
- infrastructure (open) monitor_tab
- computing enabled classes of monitors
- first semantics behind open and close.
- fairly untested.
2018-10-09 09:59:46 +02:00
Achim D. Brucker ffe51a6f90 Merge branch 'master' of logicalhacking.com:HOL-OCL/Isabelle_DOF 2018-10-08 22:35:31 +01:00
Achim D. Brucker f26e8a10eb Fixed output location (relative to theory file) of style template stub. 2018-10-08 22:28:44 +01:00
Burkhart Wolff 2c80ff8d0a Substantial progress with monitors.
- infra-structure open_monitor_tab
- computing of enabled ness
- semantics behind open and close monitor.
2018-10-08 15:13:47 +02:00
Burkhart Wolff 04a354f10a Diverse Code-Massagen/Restruktorationen um Monitore vorzubereiten. 2018-10-08 10:30:53 +02:00
Burkhart Wolff b1e4e64e19 Global revision of the Isa_DOF state - representation as record.
(Since more components are to come …)
Global revision of the entire example suite.
2018-10-05 09:45:24 +02:00
Burkhart Wolff 906131da83 Kleinigkeiten repariert. 2018-10-04 17:45:39 +02:00
Burkhart Wolff b17110db7c comment inside meta_args problem solved. 2018-10-04 17:25:45 +02:00
Burkhart Wolff eaca1959ce Intermediate status : some spacing works. 2018-10-04 16:58:09 +02:00
Burkhart Wolff ac835ea028 First experiments with a more liberal LaTeX parser for meta-args. 2018-10-04 15:58:20 +02:00
Burkhart Wolff c0b27698ae Implemented ontology sty template generator. 2018-10-02 18:29:18 +02:00
Achim D. Brucker 484637d83c Removed Text*. 2018-10-02 00:35:50 +01:00
Achim D. Brucker a0d68b8e07 Hack: removing control characters and string quotes. 2018-09-18 17:17:02 +01:00
Achim D. Brucker a3065ab6f9 Changed type of figure width to integer. 2018-09-18 15:34:18 +01:00
Achim D. Brucker 1382d7c600 Restructured arguments for LaTeX invironments. 2018-09-18 14:26:19 +01:00
Achim D. Brucker ce1a6febfa Converted all *-commands to document_body. 2018-09-17 20:32:11 +01:00
Burkhart Wolff 385af317f3 Added appropriate type-checking for ISA docitems as well as another syntax docitem text antiquotation. 2018-09-17 16:48:05 +02:00
Burkhart Wolff 2e097e6b3c rough, non-functional implementation of ISA docitem 2018-09-11 14:15:11 +02:00
Burkhart Wolff 3a44b83ab9 Added new ISA’s and tests. Slight cleanup. 2018-09-11 13:51:25 +02:00
Burkhart Wolff 5eebf2ef5b some more isa’s 2018-09-11 12:08:25 +02:00
Burkhart Wolff f5117da8cb Achim & bu session on LaTeX Gen. 2018-09-11 11:35:25 +02:00
Burkhart Wolff e07b57dd95 Achim/Bu Telco debug. 2018-09-11 09:33:17 +02:00
Burkhart Wolff 0331c5dcbd Cleanup for the ISA infrastructure.
Checking some Examples.
2018-09-11 08:50:51 +02:00
Burkhart Wolff 2abb74c743 Added transducer function. 2018-09-03 21:31:06 +02:00
Burkhart Wolff d7794e06ac Added ISA_tables (inner syntax antiquotations)
- Kleinkram.
2018-09-03 20:56:08 +02:00
Burkhart Wolff 745b335033 small steps here and there 2018-08-30 12:53:02 +02:00
Burkhart Wolff 177938de0b Support for two more links/hoverings:
- update_instance*[>omega<::E, … ]
-  @{docitem_attr a2::>omega<}
2018-08-28 18:21:37 +02:00
Burkhart Wolff 86e145f723 - restructuring in IsaDOF :
factoring out create_and_check_docitem
- correction IsaDofApplication
  side_by_side figure commented in and works.
- reaactivated open_monitor.
- changing types of monitor traces : simpler calculation now,
  but more obscure type
- first simulation of monitor trace construction.
2018-08-27 14:39:34 +02:00
Burkhart Wolff 0914a1fc5c A little cleanup. 2018-08-24 22:02:04 +02:00
Burkhart Wolff 466552a3d7 - debugging calculations for mutated text items
- cleanup
- a wee bit serious testing in Attributes.thy
  of this feature.
2018-08-24 21:57:16 +02:00
Burkhart Wolff 0f36e8b761 Milestone reached:
- further debugging
- all tests checked
- all examples running (after updates to current attribute conventions)
2018-08-24 17:14:39 +02:00
Burkhart Wolff cedac17646 First reasonably well-tested version with
- access of attributes for objects created over multiple
  inheritance
- taking updates into account
2018-08-24 16:58:06 +02:00
Burkhart Wolff 25bcc030b4 Integrated new attribute calculation machinery.
Sort of works, but problems with inheritance.
Downward incompatibility:
only either long-names or short names allowed for attributes,
but nothing in between.
2018-08-24 15:49:13 +02:00
Burkhart Wolff 8fcc67978c Resolved the type inference riddle and worked out
a solution (type matching and instantiation.)
Documented the interface to the type interface
in MyCommentedIsabelle with an example.
2018-08-22 22:06:15 +02:00
Burkhart Wolff 627122c3fa New generalised attribute term constructor (untested)
Refactoring necessary.
2018-08-20 20:29:04 +02:00
Burkhart Wolff 5d7c32479d corrected DOF_core.get_attribute_info.
Restructuring with this respect.
2018-08-20 13:54:53 +02:00
Burkhart Wolff 00a4fd1c6b First attribute eval bug:
- default terms now start from an undefined with
  correct ground type.
2018-08-20 12:00:59 +02:00
Burkhart Wolff 4ffcf185ff Starting systematic testing and debugging of
- default attribute construction
- attribute evaluation
2018-08-20 11:36:04 +02:00
Burkhart Wolff 0bc3120dca Added new printing commands for doc_class and doc_item table. 2018-08-19 10:17:17 +02:00
Burkhart Wolff 7f032c439e Cleanups.
Test environment for attribute evaluations.
2018-08-18 14:44:39 +02:00
Burkhart Wolff b56c02cd6a Repaired bug in the meta-args parser.
LaTeX generation for Text* environments with
antiquotation expansion works for the first time.
2018-08-17 13:19:12 +02:00
Burkhart Wolff 1358540a62 Simplified thy_output (cleanup) and set first LaTeX meta-args generator.
Restructuring
2018-08-16 16:52:08 +02:00
Burkhart Wolff 0f12eb2e21 New configuration with modified Isabelle-LaTeX generator.
Possesses Hook in order to parse meta attributes (not set so far,
default no-parse to empty string).
Current config compiles IsaDofApplications except Text*.
2018-08-12 08:58:21 +02:00
Burkhart Wolff a07900bfab Some intermediate Hack to find a solution of the text* problem.
textbis does both interactive and basically correct LaTeX generation
with antiquotation expansion.

At least a thing to study.

bu
2018-07-12 12:08:58 +01:00
Burkhart Wolff bbf2ecb536 Kleinigkeiten um MathExam. 2018-06-27 09:12:50 +02:00
Burkhart Wolff 6277f44e75 Working on
- the Toplevel sync problem for LaTeX output
- attribute computation
- various syntax issues
- examples.
2018-06-26 17:40:08 +02:00
Burkhart Wolff a0fac2d75b Configuration a la chasse du LaTeX generation bug (having its origine in the
Isar transaction engine).
2018-06-19 17:37:31 +02:00
Burkhart Wolff bafc2405e9 this and that. 2018-06-14 15:35:14 +02:00
Achim D. Brucker f4c66cd085 Renamed sideBySideFigure to side_by_side_figure. 2018-06-11 18:34:41 +01:00
Burkhart Wolff 774a5f20e8 sideBySide 2018-06-11 18:10:45 +02:00
Burkhart Wolff ab127abe9a Eingeführter title etc. … 2018-06-11 17:35:12 +02:00
Burkhart Wolff 68afffe674 Modifs on Math-Exam. and Article.
Preparing code-infrastructure for Attribute Evaluations.

Improved “MyCommented Isabelle”.
2018-06-07 13:56:15 +02:00
Burkhart Wolff acc76bdd01 Forgotten in previous commit 2018-05-28 16:11:28 +02:00
Burkhart Wolff 5fd6261351 Restoring git state - inconsistent for whatever reason. 2018-05-28 16:10:20 +02:00
Burkhart Wolff d2d7605a17 - tinkering ROOT
- activation of RegExps.
2018-05-24 11:13:23 +02:00
Burkhart Wolff 6aa563df17 Added syntactic constants for classes (for proper
regexp parsing support).
2018-05-15 09:11:17 +02:00
Burkhart Wolff 2acc4ea222 Neue commands, import RegExp, … 2018-05-14 15:47:16 +02:00
Burkhart Wolff 93bad550ef Some library code for attribute accesses (not yet working)
RegExp Expression Inner Syntax defined

RexExp Parsing activated.
2018-05-11 15:51:26 +02:00
Burkhart Wolff 49e3ec81f7 Kleine Korrekturen an scholerly … 2018-04-30 10:48:14 +02:00
Burkhart Wolff d9dd46f1ac Syntax for += works finally.
Examples here and there…
2018-04-29 11:35:24 +02:00
Burkhart Wolff 5ca263711c Merge branch 'master' of https://git.logicalhacking.com/HOL-OCL/Isabelle_DOF 2018-04-29 09:55:21 +02:00
Burkhart Wolff 5ff40948af merge commit 2018-04-29 09:53:51 +02:00
Achim D. Brucker b90df780fe Resolved merge conflict. 2018-04-28 17:44:06 +01:00
Achim D. Brucker f437e1337c Disable markdown. 2018-04-28 17:41:34 +01:00
Burkhart Wolff be3c0fa315 worked on onto and instance of Conceptual example.
For framework paper
2018-04-28 15:15:25 +02:00
Burkhart Wolff 3e746a4d9d Typing works (more or less) for the value.
Sometimes schematic variables were left-overs;
was able to suppress this type of fault by additional
annotations.
Sometimes confusion o heavily overloaded field names.
Also workaround by stronger annotations.
2018-04-27 17:12:42 +02:00
Burkhart Wolff f01b36997e Version without type check and updated Article.thy 2018-04-27 12:05:22 +02:00
Burkhart Wolff 5bcd4c19b1 Intermediate Version
- attribute value generation
- update interpreted
- type-checking integrated but crashes
- news on scholarly_paper …
2018-04-27 10:34:24 +02:00
Burkhart Wolff 0474c47957 Thanks to a decisive Hint by Frederic Tuong:
Managed to solve the Top-level-transaction problem
in “enriched_document_command”. Yay !!!
2018-04-24 21:44:28 +02:00
Burkhart Wolff eae6eaf005 Added “hidden tag fields” in order to make doc-classes disjoint
Added overriding semantics and
overloading checks.
2018-04-20 13:19:50 +02:00
Burkhart Wolff 8ea00650a5 Minor corrections, refactoring, steps towards attribute calculation. 2018-04-19 11:04:11 +02:00
Burkhart Wolff 99bdf17712 parsing and internal type-checking works.
No integral type checking yet, and no execution.
2018-04-18 14:46:28 +02:00
Burkhart Wolff 7aa52c3fa1 Finally solved the problem with the type conformance of default values to declared attribute types. 2018-04-17 17:39:16 +02:00
Burkhart Wolff 18c0f6f06d Commented out attribute conformance check since problems. 2018-04-17 15:08:01 +02:00
Burkhart Wolff 731fd9c775 Diverses 2018-04-16 17:00:31 +02:00
Burkhart Wolff 46e1be6411 Added syntax for update_instance*…
+= variant does not yet work.
2018-04-05 12:44:52 +02:00
Burkhart Wolff f8692dd801 Renamed LNCS_onto into “scholarly_paper”.
Decided for the trace variant semantics of monitors.
(more power, easier to implement)
2018-04-05 12:09:58 +02:00
Burkhart Wolff 5e48dcffdf Ontology checking bug for unrelated direct sub_classes fixed.
Enfin !
2018-04-04 18:08:18 +02:00