Commit Graph

26 Commits

Author SHA1 Message Date
Achim D. Brucker 41e6c9ed02 Fixed file attributes. 2022-04-18 09:44:44 +01:00
Achim D. Brucker 5381182ab2 Spell-checking. 2022-03-26 13:26:51 +00:00
Nicolas Méric 13835fbed9 Fix typos in DOF manual, chapter 5 2022-03-23 11:17:30 +01:00
Nicolas Méric 76612ae6f3 Add checking of invariants for class instances
- Warning: the current implementation does yet not support
    some use-cases, like invariant on monitors,
    or the initialization of docitem without a class associated.
- Add first draft of the checking of invariants.
  For now, it is disabled by default because some cases
  are not yet supported, like the initialization of docitem
  without a class associated.
  ex: text*[sdf]‹ Lorem ipsum @{thm refl}›
- To enable the checking, one can use the theory attribute
  "invariants_checking" by declaring it in a theory like this:
  declare [[invariants_strict_checking = true]]
- A checking using basic tactics (unfolding and auto) can be enable
  with the "invariants_checking_with_tactics" theory attribute
  for specific use-cases
- The specification of invariants is now automatically abstracted,
  so one must define an invariant like this now:

  doc_class W =
  w::"int"
  invariant w :: "w σ ≥ 3"

  The old form:

  doc_class W =
  w::"int"
  invariant w :: "λσ. w σ ≥ 3"

  is now deprecated.
  The specification of the invariant still uses the σ-notation
  and is defined globally by the name component "invariantN"
- Update the invariants definition in the theories to match
  the new implementation
- Update the manual to explain this new feature
- Add small examples in src/tests/High_Level_Syntax_Invariants.thy
  and src/tests/Ontology_Matching_Example.thy
2022-01-24 17:30:48 +01:00
Achim D. Brucker e495a7b2fe Revising Chapter 5. 2021-02-13 17:04:17 +00:00
Burkhart Wolff 5593c22a36 first version with macro syntax (no ML support) 2020-12-22 19:50:00 +01:00
Achim D. Brucker 58617e87e6 Conversion: \isadof -> \<^isadof>. 2020-09-08 13:45:09 +01:00
Achim D. Brucker 37a71a613e Ad hoc conversion: \inlineisar|...| -> @{boxed_theory_text ... }. 2020-09-08 07:30:14 +01:00
Achim D. Brucker 109802a76a Ad hoc conversion: \begin{isar}...\end{isar} -> @{boxed_theory_text [display] ... }. 2020-09-08 06:18:01 +01:00
Burkhart Wolff 1470776428 slight correction of the template, and addition of SML template instance in DOF-technical_report. Does not work for test-case in 05_Implementation (Commented out) 2020-06-24 13:11:26 +02:00
Burkhart Wolff f5622c2f59 Merge branch 'master' of https://git.logicalhacking.com/Isabelle_DOF/Isabelle_DOF 2020-06-23 11:22:41 +02:00
Burkhart Wolff af9e399f50 some experiments with OoOP and the code support presentations. 2020-06-23 11:22:33 +02:00
Burkhart Wolff 7e2224859e mmm 2020-06-22 17:42:40 +02:00
Achim D. Brucker fa25654db9 Merge branch 'master' into Unreleased/Isabelle2020-RC4 2020-04-10 20:26:34 +01:00
Burkhart Wolff 0c4a5a5fea eliminating deprecated syntax 2020-04-09 23:58:58 +02:00
Achim D. Brucker 358be52b61 Updated Isabelle version. 2020-04-08 21:40:34 +01:00
Achim D. Brucker 4692201cb0 Normalized BibTeX keys. 2019-08-17 10:02:13 +01:00
Achim D. Brucker 60ebbbe12c Updated license information. 2019-08-15 15:09:55 +01:00
Achim D. Brucker 4d33021936 Improved several BibTeX entries. 2019-08-11 18:46:04 +01:00
Achim D. Brucker 40dcf89df9 Section 5.6. 2019-08-11 18:06:13 +01:00
Achim D. Brucker a79bd85e14 Section 5.5. 2019-08-11 17:22:22 +01:00
Achim D. Brucker 5940542b24 Section 5.4. 2019-08-11 17:12:38 +01:00
Achim D. Brucker e58f0b33d4 Section 5.3. 2019-08-11 17:03:26 +01:00
Achim D. Brucker 37f4ce73b0 Section 5.2. 2019-08-11 16:59:48 +01:00
Achim D. Brucker 02377de0d2 Section 5.1. 2019-08-11 16:52:56 +01:00
Achim D. Brucker 13a6384cfe Updated introduction and started content restructuring. 2019-08-02 11:12:16 +01:00