Commit Graph

324 Commits

Author SHA1 Message Date
Burkhart Wolff f9027ef331 a section explaining the consequences of a doc-class and its shallow semantics in Isabelle records on different levels of representation 2021-07-18 17:34:52 +02:00
Achim D. Brucker cfbc3311cd Merge branch 'master' into class-term-antiquotation-implementation 2021-07-02 17:39:42 +02:00
Burkhart Wolff 9f9bc25618 no message 2021-07-01 16:25:31 +02:00
Burkhart Wolff 5aad659a85 some observations on invariant code generation 2021-07-01 13:12:18 +02:00
Nicolas Méric 2c01a7118b Add term* cmd and term antiquotations for classes
- Add a term antiquotation for document classes
  and add the term* command which mimics the classical term command
  and adds the possibility to use a term antiquotation
  which references document classes:
  one can use @{A ''A_instance''} to reference
  an instance of the class A in a term* command.
- Reuse and update the ML_isa_check_generic visitor pattern
  to add the function which checks the class instance of a class,
  used by the term antiquotation for document classes.
  Also, the update_isa functions now expect long name
  (See builtin term antiquotations setup)
- The merge of ISA_transformer_tab has been update to avoid conflicts.
  Indeed, the merge is ultra-critical: the transformer tabs were
  just extended by letting *the first* entry
  with the same long-name win.
  Since the range is a (call-back) function, a comparison on its content
  is impossible and some choice has to be made.
  An alternative may be to use Symtab.join
- As classes names as constants are already bound to
  "doc_class Regular_Exp.rexp" constants by add_doc_class_cmd function,
  we use a prefix "doc_class_" when adding
  document classes term antiquotations
2021-06-01 17:32:45 +02:00
Burkhart Wolff f8801a1121 basically table_inline. 2021-05-13 14:37:27 +02:00
Burkhart Wolff d7b625ae04 little debug. 2021-04-21 20:27:23 +02:00
Burkhart Wolff 3b21df199b addded docitem ML antiquotation. (Kleine Fingeruebung). 2021-04-21 20:24:06 +02:00
Achim D. Brucker 0b6ef076b0 Initial support for svjour3-class from Springer. 2021-04-06 12:15:13 +01:00
Achim D. Brucker 46875b0560 Fixed version number. 2021-03-11 00:03:37 +00:00
Achim D. Brucker 06dddeacf5 Porting to Isabelle 2021. 2021-03-10 22:04:09 +00:00
Achim D. Brucker 676b0304a8 Print abstract title/name and removed table of contents. 2021-01-14 05:24:10 +00:00
Achim D. Brucker c03b54584c Fixed package name. 2021-01-13 12:12:18 +00:00
Achim D. Brucker 1c57e9b08b Fixed package name. 2021-01-12 23:46:47 +00:00
Achim D. Brucker be09cb7d89 Fixed file permissions. 2021-01-10 06:56:28 +00:00
Achim D. Brucker 88504abf33 Added wrapper for amssymb to support amssymb-like commands for both pdflatex and luatex. 2021-01-10 06:56:05 +00:00
Burkhart Wolff d86e708154 a first imprfect solution for the assert* problem; 4th chapter roughly completed. 2021-01-03 14:07:21 +01:00
Burkhart Wolff aee1d33709 renaming ISA's; new shortcuts; more content in the RefMan. 2021-01-02 15:57:28 +01:00
Burkhart Wolff 396ef1d477 More content in 4, better tree printing. 2021-01-01 21:23:21 +01:00
Burkhart Wolff 242bb536bc Reorganization Chap 4. <4.3.2 2020-12-30 23:07:19 +01:00
Burkhart Wolff 04f0cc7f5c Reorganization: Pushed Macro Core Mechanism into the DOF Core; adapted the RefMan accordingly. 2020-12-30 12:47:54 +01:00
Burkhart Wolff 4c5aacb39f activated syntactic checks for trimming macros 2020-12-23 11:30:42 +01:00
Burkhart Wolff 4c5fc4bc53 built in syntactic checks for trimming macros 2020-12-23 09:43:22 +01:00
Burkhart Wolff 005922ffda built in syntactic checks for trimming macros 2020-12-23 09:41:26 +01:00
Burkhart Wolff 6899c4059e improved macro syntax 2020-12-22 20:37:15 +01:00
Burkhart Wolff 5593c22a36 first version with macro syntax (no ML support) 2020-12-22 19:50:00 +01:00
Burkhart Wolff de5c0fc6e2 added Isar-syntax for define_shortcut* 2020-12-22 08:07:19 +01:00
Burkhart Wolff 0e64608a58 enforcing shorter Definition* - style in examples (CC,CENELEC,...) 2020-12-02 09:32:48 +01:00
Burkhart Wolff 8771d8581b default class checking bug fixed; new attributes for default classes in ontological macros Definition* Theorem* Lemma* 2020-12-01 23:18:13 +01:00
Achim D. Brucker c11e68e3ea Bug fix: Definition environment. 2020-12-01 07:46:20 +00:00
Burkhart Wolff efeee1e863 Eliminated deprecated abstract class residuals; lifted Definition* to math_content. 2020-11-10 13:07:54 +01:00
Burkhart Wolff 2ecb62a80e added Lemma*, Theorem* and Definition* support. Bug: referencing does not work. 2020-11-04 15:55:43 +01:00
Burkhart Wolff 4ad06ce39a deactivated class check. 2020-11-04 14:25:14 +01:00
Burkhart Wolff da0f3e63f1 more steps to reform document macro mechanism 2020-11-04 13:13:24 +01:00
Achim D. Brucker 1ad81aff35 Added support for explicit abstract* command. 2020-11-03 21:47:05 +00:00
Achim D. Brucker 1129a0ed3e Added support for explicit author* command. 2020-11-03 21:43:55 +00:00
Burkhart Wolff bad7dfc2ef new set of macros : author* and abstract* --- not working yet 2020-11-03 19:00:33 +01:00
Burkhart Wolff fe8f63690d macro-arrangement ... 2020-11-02 18:30:40 +01:00
Burkhart Wolff e59ac46299 removed SI --- went to AFP 2020-11-02 14:32:41 +01:00
Burkhart Wolff aa1fed2440 sdf 2020-11-02 14:12:27 +01:00
Burkhart Wolff abd32a802d First Pass of Chap 4 - Added invariant syntax description, more semantic content 2020-10-26 12:27:33 +01:00
Achim D. Brucker a175871474 Improved definition of \ie and \eg. 2020-10-06 04:45:14 +01:00
Burkhart Wolff d655effcf8 pushup. 2020-09-22 16:47:05 +02:00
Burkhart Wolff 9956bbf062 pushup, stiluebungen. 2020-09-22 16:35:28 +02:00
Achim D. Brucker 137262890e Improved 'verbatim' output (removed generated %-signs). 2020-09-15 07:28:32 +01:00
Burkhart Wolff 77e3490477 ... 2020-09-09 16:56:19 +02:00
Achim D. Brucker 3eef2291e5 Integrated DOF-scholarly_paper-thm.sty. 2020-09-07 23:57:15 +01:00
Achim D. Brucker 7956a3009a Initial commit: style for providing theorem-like default environments. 2020-09-07 23:56:43 +01:00
Burkhart Wolff bb68be990b added wrapper to achims listings environments. 2020-08-28 12:49:28 +02:00
Burkhart Wolff 094281cf89 added wrapper to achims listings environments. 2020-08-28 12:42:20 +02:00
Burkhart Wolff d206bf9f7c shifted new env up into COL. Declared in the Frontmatter. 2020-08-27 15:54:51 +02:00
Burkhart Wolff 38ba8cace0 brought experiments with generic sub-text-element-environments into shape 2020-08-27 14:08:49 +02:00
Burkhart Wolff fef4243e45 added define_macro2 2020-08-27 10:13:52 +02:00
Burkhart Wolff b3ff21e210 introducing and testing of macros bindex and index. 2020-08-26 17:08:45 +02:00
Burkhart Wolff 41a1eaed44 added define_macros, corrections in 02_Background 2020-08-26 14:38:39 +02:00
Burkhart Wolff 00c4d15259 first feedback on Yakoubs CC 2020-08-26 11:48:25 +02:00
Burkhart Wolff 1dd07880ea inbtroduced shortcut interface. 2020-08-26 09:56:25 +02:00
Burkhart Wolff 7a768cfdeb versatile 2020-08-26 08:43:39 +02:00
Burkhart Wolff 338bb7d4a4 Code cleanup. 2020-08-25 11:59:10 +02:00
Burkhart Wolff a792cc79d2 was lucky to solve a deep bug in standard antiquotation evaluation inside text* soon. 2020-08-25 11:11:38 +02:00
Burkhart Wolff 8002ec31bb cleanups after discussion 2020-08-24 14:36:22 +02:00
Burkhart Wolff ff63b441b0 more on aop 2020-08-24 13:18:25 +02:00
Burkhart Wolff dbce392e8b experiments with latex generation for aoo presentation. 2020-08-24 12:11:30 +02:00
Burkhart Wolff 7cb6577797 solved presentation bug (brown) and eliminated some code dups 2020-08-24 11:33:32 +02:00
Burkhart Wolff d088d19f38 renamings - no reference to Iso which is possibly different 2020-08-24 09:40:56 +02:00
Burkhart Wolff 9a8b0c7c55 adapting Yakoubs Version on CC into our structure. Using our Definition setup. 2020-08-24 09:01:54 +02:00
Burkhart Wolff f35d498ad8 added stubs for CC project 2020-08-20 12:53:39 +02: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 ef93285ec7 added a little useful template generation command 2020-06-23 14:02:04 +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
Achim D. Brucker 1c5bb85233 Merge branch 'master' of git.logicalhacking.com:Isabelle_DOF/Isabelle_DOF 2020-06-23 07:29:20 +01:00
Achim D. Brucker 81ee0d9bbb Bug fix: support for UTF8 characters in author's names. 2020-06-23 06:56:35 +01:00
Burkhart Wolff 016a9e6454 Merge branch 'master' of https://git.logicalhacking.com/Isabelle_DOF/Isabelle_DOF 2020-06-22 17:42:48 +02:00
Burkhart Wolff 7e2224859e mmm 2020-06-22 17:42:40 +02:00
Burkhart Wolff 4717925eea Zwischenzustand OoO Generation 2020-06-16 09:08:36 +02:00
Burkhart Wolff d86c713e37 first running study of OoO - Presentation 2020-06-12 16:36:54 +02:00
Burkhart Wolff 0f9b6731af replaced structure with legecy code: Pure_Syn_Ext. 2020-06-12 15:00:49 +02:00
Burkhart Wolff d2d908534d Small corrections 2020-05-20 14:55:49 +02:00
Burkhart Wolff 3c6eda2cbb Merge branch 'master' of https://git.logicalhacking.com/Isabelle_DOF/Isabelle_DOF 2020-05-19 17:32:31 +02:00
Burkhart Wolff 9b0c2cdcd8 added support for defn, lem, thm short-calls. 2020-05-19 17:32:25 +02:00
Simon Foster 1839afa883 Added proofs that quantities from a real normed vector space 2020-05-15 13:55:11 +01:00
Burkhart Wolff fa931b45e2 re-localization of onto macros. Tested. 2020-04-23 18:30:46 +02:00
Burkhart Wolff 6f8cd88623 nitty gritties 2020-04-23 16:59:49 +02:00
Burkhart Wolff 8328626fa4 Restructuring library prep. 2020-04-23 16:08:05 +02:00
Burkhart Wolff 9496b535b7 restructuring Lib. Adaption LaTeX. Reorg COL. 2020-04-23 14:31:59 +02:00
Burkhart Wolff 2e0d88a3f7 restructuring of COL, scholarly_paper, etc. Facturong out Macros. 2020-04-22 15:31:47 +02:00
Achim D. Brucker c320b58dd3 Merge remote-tracking branch 'origin/Unreleased/Isabelle2020-RC4' 2020-04-21 08:37:59 +01:00
Burkhart Wolff 2e7513271b support along AMS style for mcc. 2020-04-14 14:48:16 +02:00
Burkhart Wolff 88d4b7674e support along AMS style for mcc. 2020-04-14 14:44:42 +02:00
Burkhart Wolff 6cf5708d93 added macro_def mechanism. Bug: Type qualification necessary 2020-04-12 21:11:54 +02:00
Achim D. Brucker fa25654db9 Merge branch 'master' into Unreleased/Isabelle2020-RC4 2020-04-10 20:26:34 +01:00
Burkhart Wolff e642243847 added macrodef - expand mechanism 2020-04-10 18:30:33 +02:00
Burkhart Wolff 0c4a5a5fea eliminating deprecated syntax 2020-04-09 23:58:58 +02:00
Burkhart Wolff e98e945b53 debugging. 2020-04-09 20:56:12 +02:00
Burkhart Wolff d82870d1a0 support for math_example into the Urschleim. 2020-04-09 18:12:14 +02:00
Burkhart Wolff f1b376d4b6 added support for math_content-class in scholarly_paper in Knuth's Urschleim. 2020-04-09 17:25:09 +02:00
Burkhart Wolff aa4e1acf84 Added invariants - and changes of invariant syntax.
Modified scholarly_paper onto wrt to future concepts
of referential semi_formal items (according to discussion
with Achim).
2020-04-08 23:29:15 +02:00
Achim D. Brucker 358be52b61 Updated Isabelle version. 2020-04-08 21:40:34 +01:00
Achim D. Brucker 0c41ee46bb Port to Isabelle 2020 (tested with Isabelle 2020 RC4). 2020-04-08 13:12:17 +01:00
Achim D. Brucker 6ec427e716 Cleanup. 2020-04-08 10:51:27 +01:00
Simon Foster 4cba4bbdc8 Added some additional non-SI units 2020-03-20 16:50:01 +00:00
Simon Foster 4b605faa2d Improved proof support. Added some proofs of the astronomical constants. 2020-03-20 10:29:49 +00:00
Simon Foster 31c0dd56e8 Some renaming, cleaning, and addition of astronomical units 2020-03-18 16:02:09 +00:00
Simon Foster 25f2c76f1b Restructured the document into the ISQ and SI parts 2020-03-18 12:03:56 +00:00
Simon Foster 0c73aa1ce7 Commented on the relationship between units and quantities, and added several supporting definitions and types. 2020-03-13 16:10:51 +00:00
Simon Foster cf10043680 A few more revisions and explanations. 2020-03-13 14:54:46 +00:00
Simon Foster 1e31cbb8a1 Some fixes and improvements for proof support 2020-03-13 12:06:57 +00:00
Simon Foster 6feaeee050 More refactoring. The mechanisation is now split conveniently into a quantity and unit part. Most of the technical foundations
can be found in the former.
2020-03-13 11:21:43 +00:00
Simon Foster da74d4ecc4 Revision of the narrative in Dimensions and Quantities 2020-03-12 17:23:47 +00:00
Simon Foster 1ee0a1610f Refactoring to better distinguish quantities and units, which are now distinct entities. 2020-03-12 11:11:30 +00:00
Simon Foster 75e62c7356 Added definition of a base unit 2020-03-12 09:25:40 +00:00
Simon Foster 3fa136ec72 A few additional properties and proofs 2020-02-25 15:42:53 +00:00
Burkhart Wolff 3c90e19d11 added lemma into sty; fresh discussion with ADB on scholarly_paper onto. 2020-02-25 12:38:59 +01:00
Burkhart Wolff f505e6cb79 polishing. 2020-02-24 18:47:51 +01:00
Burkhart Wolff 493a6c5559 improved intro, improved global structure (TOC), normalized terminology. 2020-02-24 18:36:07 +01:00
Burkhart Wolff 17c64ea60b smoothening text 2020-02-24 13:10:21 +01:00
Burkhart Wolff db810d7d9a first version LaTeX infrastructure 2020-02-24 12:51:33 +01:00
Burkhart Wolff 54d641a1cc renamings for units, poslishing. SOme more documentation of key elements. 2020-02-23 19:46:49 +01:00
Burkhart Wolff edcfd988d3 renamings for dimensions-2 2020-02-23 19:11:11 +01:00
Burkhart Wolff ed439e3731 renamings for dimensions-2 2020-02-23 19:10:21 +01:00
Burkhart Wolff 3f4348825b renamings for dimensions 2020-02-23 19:06:32 +01:00
Burkhart Wolff 77d6c2212f first elements on SI 2020-02-23 18:36:59 +01:00
Burkhart Wolff 9035c46023 syntax and 1st level type-checking of invariants 2020-02-21 19:23:51 +01:00
Burkhart Wolff cc98979f43 more on class_id synonyms 2020-02-21 16:33:28 +01:00
Burkhart Wolff 15e605a1e7 Merge branch 'master' of https://git.logicalhacking.com/Isabelle_DOF/Isabelle_DOF 2020-02-21 15:40:13 +01:00
Burkhart Wolff 3faf3102ee First version with some places where type_synonyms were used to identify doc_classes 2020-02-21 15:39:50 +01:00
Simon Foster dd5f983d70 A few more prefixes 2020-02-20 20:09:45 +00:00
Simon Foster e1d4079c0f Renamed Unit to Dimension. Added several more definitions and results from the standard. 2020-02-20 19:58:43 +00:00
Burkhart Wolff 2599caed01 Deleting outdated experiments. 2020-02-20 17:15:29 +01:00
Burkhart Wolff 75b6baea53 minimal changes due to revisions 2020-02-20 17:12:38 +01:00
Burkhart Wolff 818b9c9b4c Merge branch 'master' of https://git.logicalhacking.com/Isabelle_DOF/Isabelle_DOF 2020-02-20 13:30:56 +01:00
Burkhart Wolff 9df43f0085 various changes of the DOF-core interface: read_cid. Preparations for type_synonyms for cids. (unfinished). Updated scholarly_paper onto 2020-02-20 13:30:51 +01:00
Simon Foster c40088199c Some tidying of the proof strategy and derived properties 2020-02-20 09:54:45 +00:00
Burkhart Wolff 1de90a23b2 Merge branch 'master' of https://git.logicalhacking.com/Isabelle_DOF/Isabelle_DOF 2020-02-19 18:13:46 +01:00
Burkhart Wolff 5b0db2efb1 New Regrouping in the scholarly Onto + LaTeX support. Tested. 2020-02-19 18:13:33 +01:00
Simon Foster 240c10eb58 Factored out definitions, and added several additional units 2020-02-19 17:02:24 +00:00
Simon Foster 583637859a Cleaning up the proof procedure, and additional algebraic laws 2020-02-19 13:59:47 +00:00
Simon Foster b8e347b4c8 Removed the scalar product and associated class instantiations in favour of scaleQ 2020-02-18 20:31:05 +00:00
Simon Foster c104f1e2b2 Added the the scaleQ function that should allow removal of the scalar product operator 2020-02-18 20:25:45 +00:00
Simon Foster 2c63ef07e9 Added core physical constants of the 2019 SI standard, dimensionless units, and various proof facilities for support. 2020-02-18 17:46:53 +00:00
Burkhart Wolff 5c303a7192 Merge branch 'master' of https://git.logicalhacking.com/Isabelle_DOF/Isabelle_DOF 2020-02-17 23:08:03 +01:00
Burkhart Wolff c5b5f994ef added onto markup support for definitions and examples in scholarly_paper lncs style 2020-02-17 23:07:34 +01:00
Simon Foster 02eefef9d9 Revised the way that dimensions are encoded. Added some example physical constants. 2020-02-17 15:38:09 +00:00
Burkhart Wolff fe8a6c5c87 refinements of the technical class; added the document antiquotation doc_class; some experiments in SI. 2020-02-13 11:17:20 +01:00
Simon Foster 9199bc3109 Split out SI units into several files, and began adapting proof automation 2020-02-10 12:03:51 +00:00
Burkhart Wolff ec32ed0486 reasoning on SI equivalence 2020-02-10 11:38:23 +01:00
Burkhart Wolff 7899e4ee9a reasoning on SI equivalence 2020-02-10 10:12:46 +01:00
Burkhart Wolff 1172f0f30a Varous little changes, and attemps to improve example sections and proof support. 2020-02-05 14:00:59 +01:00
Achim D. Brucker 85af8bc3ed Bug fix for older e-tex versions requireing reserveinsert. 2020-01-14 17:46:56 +00:00