Isabelle_DOF/examples/technical_report/Isabelle_DOF-Manual
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
..
document Added Nicolas Méric as contributor. 2021-03-20 22:05:57 +00:00
00_Frontmatter.thy Switch from pdf(la)tex to lua(la)tex. 2021-03-10 23:51:18 +00:00
01_Introduction.thy Fix some typos 2021-01-28 12:46:20 +01:00
02_Background.thy Converted \inlinesml{...}. 2021-02-02 12:22:35 +00:00
03_GuidedTour.thy Raised requirement of Tex Live to TeX Live 2021 (expected release date: 4th of April 2021). 2021-03-22 00:13:18 +00:00
04_RefMan.thy Add checking of invariants for class instances 2022-01-24 17:30:48 +01:00
05_Implementation.thy Add checking of invariants for class instances 2022-01-24 17:30:48 +01:00
Isabelle_DOF-Manual.thy basically table_inline. 2021-05-13 14:37:27 +02:00
ROOT added some paras in Guided Tour, corrected figure config Bug, exercice de style in MyCommentedIsa 2020-09-19 12:49:37 +02:00