text
stringlengths
157
7.64M
meta
dict
(* Title: HOL/Algebra/Coset.thy Authors: Florian Kammueller, L C Paulson, Stephan Hohe With additional contributions from Martin Baillon and Paulo Emílio de Vilhena. *) theory Coset imports Group begin section ‹Cosets and Quotient Groups› definition r_coset :: "[_, 'a set, 'a] ⇒ 'a set" (infix...
{ "path": "Isabelle2024/src/HOL/Algebra/Coset.thy", "repo": "Isabelle2024", "sha": "1f04909087455c55d370d187d0b01b1e100c01a9117e04493d8d2f7fed044951" }
section ‹Standard Rules› text ‹We define the standard rules here, and prove the relation to standard rules. This means proving that the graph rules do what they say they do.› theory StandardRules imports StandardModels RuleSemanticsConnection begin text ‹Definition 16 makes this remark. We don't have a specific...
{ "path": "afp-2025-02-12/thys/Graph_Saturation/StandardRules.thy", "repo": "afp-2025-02-12", "sha": "55a9f695c9ff5ce75a09a60e090141048b81eb3dcb37a4123489ca2fa4386e98" }
(* Title: The pi-calculus Author/Maintainer: Jesper Bengtson (jebe.dk), 2012 *) theory Strong_Early_Bisim_Pres imports Strong_Early_Bisim Strong_Early_Sim_Pres begin (************* Preservation rules *************) lemma tauPres: fixes P :: pi and Q :: pi assumes "P ∼ Q" shows "τ.(P) ∼ τ.(Q)" ...
{ "path": "afp-2025-02-12/thys/Pi_Calculus/Strong_Early_Bisim_Pres.thy", "repo": "afp-2025-02-12", "sha": "7f1697498a0eb757420b9da7f7b05ce3f185bd5bb467fa5d6b46dd04a89691cb" }
theory Uncertainty_Principle imports "QHLProver.Complex_Matrix" begin section‹Setup› abbreviation bra_ket ("⟨_|_⟩") where "⟨u|v⟩ ≡ inner_prod u v" text‹Fix an n-dimensional normalized quantum state $\psi$.› locale quantum_state = fixes n:: nat and ψ:: "complex Matrix.vec" assumes dim[simp]: "ψ ∈ carrier_...
{ "path": "afp-2025-02-12/thys/Uncertainty_Principle/Uncertainty_Principle.thy", "repo": "afp-2025-02-12", "sha": "998f7f0546983fe39fb851e4506f882cfb8c49675399aae22af7762c1c49f2d6" }
(* Title: HOL/HOLCF/Universal.thy Author: Brian Huffman *) section ‹A universal bifinite domain› theory Universal imports Bifinite Completion "HOL-Library.Nat_Bijection" begin no_notation binomial (infixl "choose" 65) subsection ‹Basis for universal domain› subsubsection ‹Basis datatype› type_synon...
{ "path": "Isabelle2024/src/HOL/HOLCF/Universal.thy", "repo": "Isabelle2024", "sha": "5f53c7ae070a6ad0081d98f12d2b1b2185b5629401303604863ca0fbae9ed5ae" }
section ‹The Proof System› theory OG_Hoare imports OG_Tran begin primrec assertions :: "'a ann_com ⇒ ('a assn) set" where "assertions (AnnBasic r f) = {r}" | "assertions (AnnSeq c1 c2) = assertions c1 ∪ assertions c2" | "assertions (AnnCond1 r b c1 c2) = {r} ∪ assertions c1 ∪ assertions c2" | "assertions (AnnCond2 ...
{ "path": "Isabelle2024/src/HOL/Hoare_Parallel/OG_Hoare.thy", "repo": "Isabelle2024", "sha": "ae755d774145c68a3ba4f9e3793fef9ea7325a233a2b8681c4dc1a2ce83f2cd4" }
(* Title: HOL/Library/Code_Target_Nat.thy Author: Florian Haftmann, TU Muenchen *) section ‹Implementation of natural numbers by target-language integers› theory Code_Target_Nat imports Code_Abstract_Nat begin subsection ‹Implementation for \<^typ>‹nat›› context includes natural.lifting integer.liftin...
{ "path": "Isabelle2024/src/HOL/Library/Code_Target_Nat.thy", "repo": "Isabelle2024", "sha": "33af182eacc76c7b30adaad7813767ac102c56dd4b6d38e8d24f5734b24266c9" }
chapter ‹Arithmetic Constructs› text ‹Less genereric syntax, more committed towards embedding arithmetics› (*<*) theory Syntax_Arith imports Syntax begin (*>*) text ‹(An embedding of) the syntax of arithmetic, obtained by adding plus and times› locale Syntax_Arith_aux = Syntax_with_Connectives_Rename var trm fmla...
{ "path": "afp-2025-02-12/thys/Syntax_Independent_Logic/Syntax_Arith.thy", "repo": "afp-2025-02-12", "sha": "cae8e04558d2c0fb7cd88ace539d0d963d235512e237b7cfad4448e4525884e6" }
section ‹Partial and total correctness› theory Quantum_Hoare imports Quantum_Program begin context state_sig begin definition density_states :: "state set" where "density_states = {ρ ∈ carrier_mat d d. partial_density_operator ρ}" lemma denote_density_states: "ρ ∈ density_states ⟹ well_com S ⟹ denote S ρ ∈ de...
{ "path": "afp-2025-02-12/thys/QHLProver/Quantum_Hoare.thy", "repo": "afp-2025-02-12", "sha": "78603246b6f024f4f13129280b404b0dc828d1c3c605819023715021e2481e17" }
theory Variable_Substitution imports Abstract_Substitution.Substitution "HOL-Library.FSet" "HOL-Library.Multiset" begin locale finite_set = fixes set :: "'b ⇒ 'a set" assumes finite_set [simp]: "⋀b. finite (set b)" begin abbreviation finite_set :: "'b ⇒ 'a fset" where "finite_set b ≡ Abs_fset (se...
{ "path": "afp-2025-02-12/thys/Superposition_Calculus/Variable_Substitution.thy", "repo": "afp-2025-02-12", "sha": "f3c144ce197fbdc2ea9ed1a4e6fb70e01e70cba4ad6a219f7e865acc862877be" }
(* Title: HOL/Partial_Function.thy Author: Alexander Krauss, TU Muenchen *) section ‹Partial Function Definitions› theory Partial_Function imports Complete_Partial_Order Option keywords "partial_function" :: thy_defn begin named_theorems partial_function_mono "monotonicity rules for partial function defi...
{ "path": "Isabelle2024/src/HOL/Partial_Function.thy", "repo": "Isabelle2024", "sha": "43cc017289a69f030ac623bb2ebfc5ef62c1bd936fd8f2cea7d9b1ecabf44701" }
(* Title: Sturm-Tarski Theorem Author: Wenda Li <wl302@cam.ac.uk / liwenda1990@hotmail.com> *) section "Sturm--Tarski Theorem" theory Sturm_Tarski imports Complex_Main PolyMisc "HOL-Computational_Algebra.Field_as_Ring" begin subsection‹Misc› lemma eventually_at_right: fixes x::"'a::{archimedean_field,l...
{ "path": "afp-2025-02-12/thys/Sturm_Tarski/Sturm_Tarski.thy", "repo": "afp-2025-02-12", "sha": "79318959df16a28f3bf45740f94d85ee9ea28a06da08d77975fbccce9fa52556" }
(* Author: L C Paulson, University of Cambridge Author: Amine Chaieb, University of Cambridge Author: Robert Himmelmann, TU Muenchen Author: Brian Huffman, Portland State University *) chapter ‹Topology› theory Elementary_Topology imports "HOL-Library.Set_Idioms" "HOL-Library.Disjoint...
{ "path": "Isabelle2024/src/HOL/Analysis/Elementary_Topology.thy", "repo": "Isabelle2024", "sha": "cf0598090caa5e200f9f3f5750d4818b493800ae900bfa1a40b2d6423429e39d" }
(******************************************************************************* Project: IsaNet Author: Tobias Klenze, ETH Zurich <tobias.klenze@inf.ethz.ch> Christoph Sprenger, ETH Zurich <sprenger@inf.ethz.ch> Version: JCSPaper.1.0 Isabelle Version: Isabelle2021-1 Copyright (c) 2022 Tobias ...
{ "path": "afp-2025-02-12/thys/IsaNet/Network_Model.thy", "repo": "afp-2025-02-12", "sha": "fe90bbaa9b4f5c83f9fa61ae8bf636da2fe3e9574f00d4d34d4abb3b7b60de85" }
(* Title: Rtrancl_On.thy Author: Lars Noschinski, TU München Author: René Neumann, TU München *) theory Rtrancl_On imports Main begin section ‹Reflexive-Transitive Closure on a Domain› text ‹ In this section we introduce a variant of the reflexive-transitive closure of a relation which is useful to for...
{ "path": "afp-2025-02-12/thys/Graph_Theory/Rtrancl_On.thy", "repo": "afp-2025-02-12", "sha": "e4b20bfc6a16e6043cf17779dfea1ec152893192e2490230a68fda2b21fb7e3b" }
theory MutableRefProps imports MutableRef begin inductive_cases vfun_le_inv[elim!]: "VFun t1 ⊑ VFun t2" and le_fun_nat_inv[elim!]: "VFun t2 ⊑ VNat x1" and le_any_nat_inv[elim!]: "v ⊑ VNat n" and le_nat_any_inv[elim!]: "VNat n ⊑ v" and le_fun_any_inv[elim!]: "VFun t ⊑ v" and le_any_fun_inv[elim!]: "v ⊑...
{ "path": "afp-2025-02-12/thys/Decl_Sem_Fun_PL/MutableRefProps.thy", "repo": "afp-2025-02-12", "sha": "b43e9f8027708f98fe18de7fdb733097d126ebaeb22008b77c94be6c7c3ab7ee" }
(* Title: Isabelle Collections Library Author: Peter Lammich <peter dot lammich at uni-muenster.de> Maintainer: Peter Lammich <peter dot lammich at uni-muenster.de> *) (* Changes since submission on 2009-11-26: 2009-12-10: OrderedMap, algorithms for iterators, min, max, to_sorted_list *) sec...
{ "path": "afp-2025-02-12/thys/Collections/ICF/gen_algo/MapGA.thy", "repo": "afp-2025-02-12", "sha": "71229f869d22a88fde30dd542f2684b50146fe7b906b1a98d0f113e82766d8ca" }
(***************************************************************************** * Featherweight-OCL --- A Formal Semantics for UML-OCL Version OCL 2.5 * for the OMG Standard. * http://www.brucker.ch/projects/hol-testgen/ * * Design_UML.thy --- OCL Contracts and an Example...
{ "path": "afp-2025-02-12/thys/Featherweight_OCL/examples/Employee_Model/Design/Design_UML.thy", "repo": "afp-2025-02-12", "sha": "9c61cdf19226f004551b2f608d3b5d6d98b4b33253ce9ab4a536f73f31dabfaa" }
(* Title: HOL/Nonstandard_Analysis/CLim.thy Author: Jacques D. Fleuriot Copyright: 2001 University of Edinburgh Conversion to Isar and new proofs by Lawrence C Paulson, 2004 *) section ‹Limits, Continuity and Differentiation for Complex Functions› theory CLim imports CStar begin (*not in sim...
{ "path": "Isabelle2024/src/HOL/Nonstandard_Analysis/CLim.thy", "repo": "Isabelle2024", "sha": "d14d4c377245aa4514fd9f1e15b92c3fb93c049142bdc98a48ddabad4cdd02e4" }
(* Title: HOL/HOLCF/IOA/Deadlock.thy Author: Olaf Müller *) section ‹Deadlock freedom of I/O Automata› theory Deadlock imports RefCorrectness CompoScheds begin text ‹Input actions may always be added to a schedule.› lemma scheds_input_enabled: "Filter (λx. x ∈ act A) ⋅ sch ∈ schedules A ⟹ a ∈ inp A...
{ "path": "Isabelle2024/src/HOL/HOLCF/IOA/Deadlock.thy", "repo": "Isabelle2024", "sha": "c71bd981102550e4b88f0b39380b6444365d7745f56a821ac4d014be9956f704" }
subsection‹‹Σ›-AND statements› theory Sigma_AND imports Sigma_Protocols Xor begin locale Σ_AND_base = Σ0: Σ_protocols_base init0 response0 check0 Rel0 S0_raw 𝒜ss0 "carrier L" valid_pub0 + Σ1: Σ_protocols_base init1 response1 check1 Rel1 S1_raw 𝒜ss1 "carrier L" valid_pub1 for init1 :: "'pub1 ⇒ 'witness1 ⇒ (...
{ "path": "afp-2025-02-12/thys/Sigma_Commit_Crypto/Sigma_AND.thy", "repo": "afp-2025-02-12", "sha": "36a3ad238f71d32ce4d277c9487083ac6a70f0246609c50ef0fee4c6fbcdcb1f" }
(* Title: HOL/UNITY/Union.thy Author: Lawrence C Paulson, Cambridge University Computer Laboratory Copyright 1998 University of Cambridge Partly from Misra's Chapter 5: Asynchronous Compositions of Programs. *) section‹Unions of Programs› theory Union imports SubstAx FP begin (*FIXME: conjoin...
{ "path": "Isabelle2024/src/HOL/UNITY/Union.thy", "repo": "Isabelle2024", "sha": "ffbad27aa953ca15a4cfcd0d622b9cf683d3afb216e7b3e20d047b89194c38b5" }
section ‹Filtermap for Lazy Lists› theory List_Filtermap imports Main begin text ‹ This theory defines the filtermap operator for lazy lists, proves its basic properties, and proves coinductive criteria for the equqlity of two filtermapped lazy lsits. › subsection ‹ Preliminaries › (* Hiding the "filtermap" con...
{ "path": "afp-2025-02-12/thys/More_LazyLists/List_Filtermap.thy", "repo": "afp-2025-02-12", "sha": "abf0b4e751a37da5eb72ffe6da749003563ae66e6565b8f5361cf2062a833463" }
(* Copyright (C) 2007--2010 Norbert Schirmer * All rights reserved, DFKI GmbH *) (* header {* Parallel - IMP *} *) subsection ‹PIMP› theory PIMP imports ReduceStoreBufferSimulation begin datatype expr = Const val | Mem bool addr | Tmp sop | Unop "val ⇒ val" expr | Binop "val ⇒ val ⇒ v...
{ "path": "afp-2025-02-12/thys/Store_Buffer_Reduction/PIMP.thy", "repo": "afp-2025-02-12", "sha": "269b572c9bed25ecdc3e4f477507c963c2b7e2719549b28228bf75fc8f10eb88" }
theory Partially_Filled_Array imports "Refine_Imperative_HOL.IICF_Array_List" Array_SBlit begin section "Partially Filled Arrays" text ‹An array that is only partially filled. The number of actual elements contained is kept in a second element. This represents a weakened version of the array\_list from IICF...
{ "path": "afp-2025-02-12/thys/BTree/Partially_Filled_Array.thy", "repo": "afp-2025-02-12", "sha": "59cb8bdf298762efbafb1dc277ddc0721fdf08536a49967006b58dc9f049aa33" }
(* File: Solovay_Strassen.thy Authors: Daniel Stüwe, Manuel Eberl The Solovay--Strassen primality test. *) section ‹The Solovay--Strassen Test› theory Solovay_Strassen_Test imports Generalized_Primality_Test Euler_Witness begin definition solovay_strassen_witness :: "nat ⇒ nat ⇒ bool" where "solova...
{ "path": "afp-2025-02-12/thys/Probabilistic_Prime_Tests/Solovay_Strassen_Test.thy", "repo": "afp-2025-02-12", "sha": "85f42f910798b23188aaf4a6ae9cce409efa0df8c4ae22dd2a1a9e2aca8eb3ca" }
theory Canton_Transaction_Tree imports Inclusion_Proof_Construction begin section ‹Canton's hierarchical transaction trees› typedecl view_data typedecl view_metadata typedecl common_metadata typedecl participant_metadata datatype view = View view_metadata view_data (subviews: "view list") datatype transaction = T...
{ "path": "afp-2025-02-12/thys/ADS_Functor/Canton_Transaction_Tree.thy", "repo": "afp-2025-02-12", "sha": "77fc73202aed09c1f0c347b67304eec260d8e448298f579afb37f6bbb7538284" }
(* Author: Xingyuan Zhang, Chunhan Wu, Christian Urban *) theory Folds imports "Regular-Sets.Regular_Exp" begin section ‹``Summation'' for regular expressions› text ‹ To obtain equational system out of finite set of equivalence classes, a fold operation on finite sets ‹folds› is defined. The use of ‹SOME› makes ‹...
{ "path": "afp-2025-02-12/thys/Myhill-Nerode/Folds.thy", "repo": "afp-2025-02-12", "sha": "21c5436f8c60593dd180097bb3f2408059032cae269d6428acc96c80614a1ffc" }
(* Title: HOL/MicroJava/BV/Opt.thy Author: Tobias Nipkow Copyright 2000 TUM More about options. *) section ‹More about Options› theory Opt imports Err begin definition le :: "'a ord ⇒ 'a option ord" where "le r o₁ o₂ = (case o₂ of None ⇒ o₁=None | Some y ⇒ (case o₁ of None ⇒ True | Some x ...
{ "path": "afp-2025-02-12/thys/JinjaThreads/DFA/Opt.thy", "repo": "afp-2025-02-12", "sha": "3775bae001b432a4c328fd29bf392419280139d1d37237c207dc1edac2a7c32a" }
theory Girth_Chromatic_Misc imports Main "HOL-Library.Extended_Real" begin section ‹Auxilliary lemmas and setup› text ‹ This section contains facts about general concepts which are not directly connected to the proof of the Chromatic-Girth theorem. At some point in time, most of them could be moved to the I...
{ "path": "afp-2025-02-12/thys/Girth_Chromatic/Girth_Chromatic_Misc.thy", "repo": "afp-2025-02-12", "sha": "281c86ec8dd279a4d42f76efebb3381137680f715fd815f515e3ca0cdd584577" }
(* * Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) * Copyright (c) 2022 Apple Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause *) (* * Strengthen functions into simpler monads. * * Each block of lifting lemmas converts functions in the "L2" monadic * framework (an exception framework) ...
{ "path": "afp-2025-02-12/thys/AutoCorres2/TypeStrengthen.thy", "repo": "afp-2025-02-12", "sha": "0cc3a077be788b01f011459be69a0d97beab81d1a9d5e66ac0700b46fc755531" }
(* Title: Kleene Relation Algebras Author: Walter Guttmann Maintainer: Walter Guttmann <walter.guttmann at canterbury.ac.nz> *) section ‹Kleene Relation Algebras› text ‹ This theory combines Kleene algebras with Stone relation algebras. Relation algebras with transitive closure have been studied by \<^...
{ "path": "afp-2025-02-12/thys/Stone_Kleene_Relation_Algebras/Kleene_Relation_Algebras.thy", "repo": "afp-2025-02-12", "sha": "a4a8747a27fba43cd6352134873de9e34334e70bac1cbb07f13bcbc78538fce5" }
(* * Copyright 2014, NICTA * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(NICTA_BSD) *) (* Miscellaneous library definitions and lemmas. *) chapter "Library" theory Li...
{ "path": "afp-2025-02-12/thys/Planarity_Certificates/l4v/lib/Lib.thy", "repo": "afp-2025-02-12", "sha": "7c6784c0102fce15842ee97e76d44c417c89ccd343cd2d0d5bb34f34e30bb2f8" }
(* Author: Wenda Li <wl302@cam.ac.uk / liwenda1990@hotmail.com> *) section ‹Some useful lemmas about transcendental functions› theory Missing_Transcendental imports Missing_Topology Missing_Algebraic begin subsection ‹Misc› lemma exp_Arg2pi2pi_multivalue: assumes "exp (𝗂 * of_real x) = z" shows "∃k...
{ "path": "afp-2025-02-12/thys/Winding_Number_Eval/Missing_Transcendental.thy", "repo": "afp-2025-02-12", "sha": "03a3b318e4baf946c69c7152beaab5776b8756a042f6e84d32ba0c93e40988ce" }
(* Title: HOL/UNITY/Simple/Network.thy Author: Lawrence C Paulson, Cambridge University Computer Laboratory Copyright 1998 University of Cambridge The Communication Network. From Misra, "A Logic for Concurrent Programming" (1994), section 5.7. *) theory Network imports "../UNITY" begin (*The st...
{ "path": "Isabelle2024/src/HOL/UNITY/Simple/Network.thy", "repo": "Isabelle2024", "sha": "3291aa1187c119983d1a1b83fc143d69ea5e722e0b4afc0ff7cc192d9f77ad9d" }
(* Title: Examples/TTS_Foundations/Orders/Type_Simple_Orders.thy Author: Mihails Milehins Copyright 2021 (C) Mihails Milehins *) section‹Abstract orders on types› theory Type_Simple_Orders imports "../Foundations/FNDS_Definite_Description" FNDS_Auxiliary begin subsection‹Background› text‹ The resul...
{ "path": "afp-2025-02-12/thys/Types_To_Sets_Extension/Examples/TTS_Foundations/Orders/Type_Simple_Orders.thy", "repo": "afp-2025-02-12", "sha": "0cba0b60f48d3461fb80164ed31a18784d9e84f277efc145fb4bb8b80db7f112" }
(* Title: AnalyticTestFunction.thy Authors: Filip Smola and Jacques D. Fleuriot, University of Edinburgh, 2019-2021 *) theory AnalyticTestFunction imports HyperdualFunctionExtension "HOL-Decision_Procs.Approximation" begin subsection‹Analytic Test Function› text‹ We investigate the analytic test function u...
{ "path": "afp-2025-02-12/thys/Hyperdual/AnalyticTestFunction.thy", "repo": "afp-2025-02-12", "sha": "2625d1b46c1b37d8606629dc6bc5f7769f6d5e31e2bd79f334b8c8ed8b801114" }
(*<*) ―‹ ******************************************************************** * Project : HOL-CSP - A Shallow Embedding of CSP in Isabelle/HOL * Version : 2.0 * * Author : Burkhart Wolff, Safouan Taha, Lina Ye. * (Based on HOL-CSP 1.0 by Haykal Tej and Burkhart Wolff) *...
{ "path": "afp-2025-02-12/thys/HOL-CSP/CopyBuffer.thy", "repo": "afp-2025-02-12", "sha": "9eb5813e78c288d7056f66267d7d01b5f512194a3591228a1c3c63565cc66b25" }
(* Author: Andreas Lochbihler, ETH Zurich Author: Joshua Schneider, ETH Zurich *) subsection ‹Pointwise arithmetic on infinite binary trees› theory Cotree_Algebra imports Cotree begin subsubsection ‹Constants and operators› instantiation tree :: (zero) zero begin definition [applicative_unfold]: "0 = pure_tree...
{ "path": "afp-2025-02-12/thys/Stern_Brocot/Cotree_Algebra.thy", "repo": "afp-2025-02-12", "sha": "e9241385d802f5e6e4d80da5bf3e1f716141ced433d98433d2804343e381cf1c" }
(******************************************************************************* Project: Sumcheck Protocol Authors: Azucena Garvia Bosshard <zucegb@gmail.com> Christoph Sprenger, ETH Zurich <sprenger@inf.ethz.ch> Jonathan Bootle, IBM Research Europe <jbt@zurich.ibm.com> *******************...
{ "path": "afp-2025-02-12/thys/Sumcheck_Protocol/Instantiation_with_Polynomials/Polynomial_Instantiation.thy", "repo": "afp-2025-02-12", "sha": "ae8569b83d90532877a6665fdec613b60b1514685bd80c1442a3836366ae299d" }
(* Title: Error_Monad Author: Christian Sternagel Author: René Thiemann *) section ‹The Sum Type as Error Monad› theory Error_Monad imports "HOL-Library.Monad_Syntax" Error_Syntax begin text ‹Make monad syntax (including do-notation) available for the sum type.› definition bind :: "'e + 'a ⇒ ('a...
{ "path": "afp-2025-02-12/thys/Certification_Monads/Error_Monad.thy", "repo": "afp-2025-02-12", "sha": "9470f51cf98b391d40c6afa636bdb669f43f3b52638d59c60e6d40328d38f842" }
section‹Separative notions and proper extensions› theory Proper_Extension imports Names begin text‹The key ingredient to obtain a proper extension is to have a ∗‹separative preorder›:› locale separative_notion = forcing_notion + assumes separative: "p∈ℙ ⟹ ∃q∈ℙ. ∃r∈ℙ. q ≼ p ∧ r ≼ p ∧ q ⊥ r" begin text‹For se...
{ "path": "afp-2025-02-12/thys/Independence_CH/Proper_Extension.thy", "repo": "afp-2025-02-12", "sha": "e75b2f4e2a96e6766dff6b448bcafd0e89ef5c05b862605ec5899532aadf6b99" }
theory Asymptotic_Security imports Concrete_Security begin section ‹Asymptotic security definition› locale constructive_security_obsf' = fixes real_resource :: "security ⇒ ('a + 'e, 'b + 'f) resource" and ideal_resource :: "security ⇒ ('c + 'e, 'd + 'f) resource" and sim :: "security ⇒ ('a, 'b, 'c, 'd) conv...
{ "path": "afp-2025-02-12/thys/Constructive_Cryptography_CM/Asymptotic_Security.thy", "repo": "afp-2025-02-12", "sha": "d32f51650a6f0614b8e853a16727afa8c9b8983586cdf1b6ef594b3a1b53c401" }
(* Title: More_Manifolds Author: Richard Schmoetten <richard.schmoetten@ed.ac.uk>, 2024 Maintainer: Richard Schmoetten <richard.schmoetten@ed.ac.uk> *) section ‹Results about Manifolds and Analysis.› theory More_Manifolds imports Types_To_Sets_Extension.VS_Modules Smooth_Manifolds.Tangent_Spac...
{ "path": "afp-2025-02-12/thys/Lie_Groups/More_Manifolds.thy", "repo": "afp-2025-02-12", "sha": "1e573d76ee583d30471a5e0a788d7fd528f5df816c7053fb65f28ac28cad2bb2" }
(* Title: Isomorphism Classes of Groups Author: Jakob von Raumer, Karlsruhe Institute of Technology Maintainer: Jakob von Raumer <jakob.raumer@student.kit.edu> *) theory GroupIsoClasses imports "HOL-Algebra.Coset" begin section ‹Isomorphism Classes of Groups› text ‹We construct a quotient type fo...
{ "path": "afp-2025-02-12/thys/Jordan_Hoelder/GroupIsoClasses.thy", "repo": "afp-2025-02-12", "sha": "6caa7eff858cc10b7ad0062fa38a0f89ae43a955de5983ba3a95c64b8d48144a" }
(* Title: variants/e_all_abcd/OAodv.thy License: BSD 2-Clause. See LICENSE. Author: Timothy Bourke, Inria *) section "The `open' AODV model" theory E_OAodv imports E_Aodv AWN.OAWN_SOS_Labels AWN.OAWN_Convert begin text ‹Definitions for stating and proving global network properties over indivi...
{ "path": "afp-2025-02-12/thys/AODV/variants/e_all_abcd/E_OAodv.thy", "repo": "afp-2025-02-12", "sha": "d9bdc5c8b265a338ebb0c4708c69bccbf024ad883132db97b1250883bda2fa0a" }
(* Title: Signed (Finite) Multisets Author: Jasmin Blanchette <jasmin.blanchette at inria.fr>, 2016 Maintainer: Jasmin Blanchette <jasmin.blanchette at inria.fr> *) section ‹Signed (Finite) Multisets› theory Signed_Multiset imports Multiset_More abbrevs "!z" = "⇩z" begin unbundle multiset.lift...
{ "path": "afp-2025-02-12/thys/Nested_Multisets_Ordinals/Signed_Multiset.thy", "repo": "afp-2025-02-12", "sha": "98fc4666e08c33288fdfdbdcb7d2aa4029cb0ab8974d89c96fbb67a41b2b732f" }
(* Author: Tobias Nipkow *) subsection "Parity Analysis" theory Abs_Int1_parity imports Abs_Int1 begin datatype parity = Even | Odd | Either text‹Instantiation of class \<^class>‹order› with type \<^typ>‹parity›:› instantiation parity :: order begin text‹First the definition of the interface function ‹≤›. Note th...
{ "path": "Isabelle2024/src/HOL/IMP/Abs_Int1_parity.thy", "repo": "Isabelle2024", "sha": "51944ece9ff9fcac35e55fa8f965f08d5e34fc9c379402f35e301690481457e2" }
section ‹Symbol sequence operations› theory Symbol_Ops imports Two_Four_Symbols begin text ‹ While previous sections have focused on ``formatted'' symbol sequences for numbers and lists, in this section we devise some Turing machines dealing with ``unstructured'' arbitrary symbol sequences. The only ``structure'' t...
{ "path": "afp-2025-02-12/thys/Cook_Levin/Symbol_Ops.thy", "repo": "afp-2025-02-12", "sha": "2b6e4782e44b13f2e89689c293016aaa7110892ef1e73ee85295908050291950" }
theory Window imports "HOL-Library.AList" "HOL-Library.Mapping" "HOL-Library.While_Combinator" Timestamp begin type_synonym ('a, 'b) mmap = "('a × 'b) list" (* 'b is a polymorphic input symbol; 'c is a polymorphic DFA state; 'd is a timestamp; 'e is a submonitor state *) inductive chain_le :: "'d :: timestamp l...
{ "path": "afp-2025-02-12/thys/VYDRA_MDL/Window.thy", "repo": "afp-2025-02-12", "sha": "db44879f4a6f0536619e9a10b8cee279d0ffd4d45781576d8e774e16777e55af" }
theory Padic_Field_Polynomials imports Padic_Fields begin (**************************************************************************************************) (**************************************************************************************************) section‹$p$-adic Univariate Polynomials and Hensel's Lem...
{ "path": "afp-2025-02-12/thys/Padic_Field/Padic_Field_Polynomials.thy", "repo": "afp-2025-02-12", "sha": "b26076a426fc9355981e8996579acef39991eb54d29fad14545f7d35c2d42fb4" }
(* * Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) * Copyright (c) 2022 Apple Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause *) (* Miscellaneous library definitions and lemmas. *) chapter "Misc. Definitions and Lemmas" theory More_Lib imports Introduction_AutoCorres2 "HOL-Libr...
{ "path": "afp-2025-02-12/thys/AutoCorres2/lib/More_Lib.thy", "repo": "afp-2025-02-12", "sha": "648d769a0f14f8d5c0088eeb8f95c0451bdcb67d746ded5153457a8034c3b3b8" }
section ‹Translating terms into Graphs› text ‹We define the translation function and its properties.› theory RuleSemanticsConnection imports LabeledGraphSemantics RulesAndChains begin text ‹Definition 15.› fun translation :: "'c allegorical_term ⇒ ('c, nat) labeled_graph" where "translation (A_Lbl l) = LG {(l,0,1)} {...
{ "path": "afp-2025-02-12/thys/Graph_Saturation/RuleSemanticsConnection.thy", "repo": "afp-2025-02-12", "sha": "64cb5533c7b4ed1d90f5996833b8edcfac5d1a3c01ff7c3a730e2c28cec57b28" }
theory AList_Extra imports "HOL-Library.AList" List_util begin lemma list_all2_rel_prod_updateI: assumes "list_all2 (rel_prod (=) R) xs ys" and "R xval yval" shows "list_all2 (rel_prod (=) R) (AList.update k xval xs) (AList.update k yval ys)" using assms(1,1,2) (*‹list_all2 (rel_prod (=) (R::'b ⇒ 'c ⇒ bool))...
{ "path": "afp-2025-02-12/thys/Interpreter_Optimizations/AList_Extra.thy", "repo": "afp-2025-02-12", "sha": "969f4d5792811789df2a8a81739a91908100d90858c2c4cb3c83a7170cf676a4" }
section ‹Set Cover› theory Approx_SC_Hoare imports "HOL-Hoare.Hoare_Logic" Complex_Main (* "HOL-Analysis.Harmonic_Numbers" *) begin text ‹This is a formalization of the set cover algorithm and proof in the book by Kleinberg and Tardos \<^cite>‹"KleinbergT06"›.› definition harm :: "nat ⇒ 'a :: real_normed_field" ...
{ "path": "afp-2025-02-12/thys/Approximation_Algorithms/Approx_SC_Hoare.thy", "repo": "afp-2025-02-12", "sha": "e4d8ce1344a4336cbc7277ec1d991d975d455a6f0c51d11b35ffdb11f497ff55" }
section ‹The Same Vote Model› theory Same_Vote imports Voting begin context quorum_process begin subsection ‹Model definition› (******************************************************************************) text ‹The system...
{ "path": "afp-2025-02-12/thys/Consensus_Refined/Same_Vote.thy", "repo": "afp-2025-02-12", "sha": "b0e1b5d73151b7a30c5d6078291c362258d98b4f692e4ef235499453e6efbdc5" }
(* Title: JinjaDCI/Compiler/Compiler1.thy Author: Tobias Nipkow, Susannah Mansky Copyright TUM 2003, UIUC 2019-20 Based on the Jinja theory Compiler/Compiler1.thy by Tobias Nipkow *) section ‹ Compilation Stage 1 › theory Compiler1 imports PCompiler J1 Hidden begin text‹ Replacing variable n...
{ "path": "afp-2025-02-12/thys/JinjaDCI/Compiler/Compiler1.thy", "repo": "afp-2025-02-12", "sha": "803c5dd2b4660baf44fadaecf9da862e310d0456c6c38ddd2181245d4389bc63" }
(* Title: JinjaThreads/Common/WellForm.thy Author: Tobias Nipkow, Andreas Lochbihler Based on the Jinja theory Common/WellForm.thy by Tobias Nipkow *) section ‹Generic Well-formedness of programs› theory WellForm imports SystemClasses ExternalCall begin text ‹\noindent This theory defines glob...
{ "path": "afp-2025-02-12/thys/JinjaThreads/Common/WellForm.thy", "repo": "afp-2025-02-12", "sha": "c066da78761cfd37e45351a2aabbc9ee5c899072fe1e869912b5b2d35b5331b8" }
(* Title: HOL/HOLCF/One.thy Author: Oscar Slotosch *) section ‹The unit domain› theory One imports Lift begin type_synonym one = "unit lift" translations (type) "one" ↽ (type) "unit lift" definition ONE :: "one" where "ONE ≡ Def ()" text ‹Exhaustion and Elimination for type \<^typ>‹one›› lemm...
{ "path": "Isabelle2024/src/HOL/HOLCF/One.thy", "repo": "Isabelle2024", "sha": "d0364857dc9132187e84b08a6e455d6cc30c4ab5ffd0cf33c3930bb3b997fef4" }
(* Title: Jive Data and Store Model Author: Norbert Schirmer <schirmer at informatik.tu-muenchen.de> and Nicole Rauch <rauch at informatik.uni-kl.de>, 2005 Maintainer: Nicole Rauch <rauch at informatik.uni-kl.de> License: LGPL *) section ‹The Direct Subtype Relation of ...
{ "path": "afp-2025-02-12/thys/JiveDataStoreModel/Isa_Counter/DirectSubtypes.thy", "repo": "afp-2025-02-12", "sha": "5c10db58f0ef21f5ea7851d144118d181f21b7958604469c6bd0331158f80a9f" }
section‹Tag-Based Encodings› theory T imports T_G_Prelim begin subsection‹The tag translation› text‹The extension of the function symbols with type tags and type witnesses:› datatype ('fsym,'tp) efsym = Oldf 'fsym | Tag 'tp | Wit 'tp context ProblemIkTpart begin text‹``TE'' stands for ``tag encoding''› fun TE_...
{ "path": "afp-2025-02-12/thys/Sort_Encodings/T.thy", "repo": "afp-2025-02-12", "sha": "85ba2bcd9cb3e9894237d93346ed729d8d5528d84741f6ffdbaf454163aeede6" }
(*<*) (* * Copyright 2015, NICTA * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(NICTA_BSD) *) theory Local_Invariants_Lemmas imports Local_Invariants begin declare subst...
{ "path": "afp-2025-02-12/thys/ConcurrentGC/Local_Invariants_Lemmas.thy", "repo": "afp-2025-02-12", "sha": "bd2136eabd7116f4a5cb3c62cf92063cf30244585bbd0f1afd07d0519136f5b0" }
theory MLSS_Logic imports Main begin section ‹Propositional formulae› text ‹ This theory contains syntax and semantics of propositional formulae. › datatype (atoms: 'a) fm = is_Atom: Atom 'a | And "'a fm" "'a fm" | Or "'a fm" "'a fm" | Neg "'a fm" fun "interp" :: "('model ⇒ 'a ⇒ bool) ⇒ 'model ⇒ 'a fm ⇒ bool...
{ "path": "afp-2025-02-12/thys/MLSS_Decision_Proc/MLSS_Logic.thy", "repo": "afp-2025-02-12", "sha": "5164f2593af2e1cd74eb4ec71a29bcd6ae9cd238b68367869274a0df1ecda30f" }
(* File: Master_Theorem_Examples.thy Author: Manuel Eberl <manuel@pruvisto.org> Examples for the application of the Master theorem and related proof methods. *) section ‹Examples› theory Master_Theorem_Examples imports Complex_Main Akra_Bazzi_Method Akra_Bazzi_Approximation begin subsection ‹Merge sort...
{ "path": "afp-2025-02-12/thys/Akra_Bazzi/Master_Theorem_Examples.thy", "repo": "afp-2025-02-12", "sha": "c32b07d24a0d951e55ca46d62f82044f9f5e5ddbc8dd9f0aa270c9e78871a9b5" }
(* File: Algebraic_Auxiliaries.thy Authors: Daniel Stüwe Miscellaneous facts about algebra and number theory *) section ‹Auxiliary Material› theory Algebraic_Auxiliaries imports "HOL-Algebra.Algebra" "HOL-Computational_Algebra.Squarefree" "HOL-Number_Theory.Number_Theory" begin hi...
{ "path": "afp-2025-02-12/thys/Probabilistic_Prime_Tests/Algebraic_Auxiliaries.thy", "repo": "afp-2025-02-12", "sha": "7ac0539a36576565393103bde5a966cbedf712ff7e230fa0f942a596e10fd874" }
(*<*) (* * Copyright 2015, NICTA * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(NICTA_BSD) *) theory Phases imports Global_Invariants_Lemmas Local_Invariants_Lemmas T...
{ "path": "afp-2025-02-12/thys/ConcurrentGC/Phases.thy", "repo": "afp-2025-02-12", "sha": "6b41b8c9e0546234c6b0ac66d84c124ae9c939ed9d9fd090bdc5148f19b6aff0" }
(* Title: The Calculus of Communicating Systems Author/Maintainer: Jesper Bengtson (jebe@itu.dk), 2012 *) theory Strong_Bisim imports Strong_Sim begin lemma monotonic: fixes P :: ccs and A :: "(ccs × ccs) set" and Q :: ccs and B :: "(ccs × ccs) set" assumes "P ↝[A] Q" and "A ⊆ B" ...
{ "path": "afp-2025-02-12/thys/CCS/Strong_Bisim.thy", "repo": "afp-2025-02-12", "sha": "c4dfbeef3e8dd843e71499f205988a41ec0dc6405de4fc61d9c9dc5d1aff9cc0" }
(* Title: Map Function on Two Parallel Lists Author: Anders Schlichtkrull <andschl at dtu.dk>, 2017 Maintainer: Anders Schlichtkrull <andschl at dtu.dk> *) section ‹Map Function on Two Parallel Lists› theory Map2 imports Main begin text ‹ This theory defines a map function that applies a (curr...
{ "path": "afp-2025-02-12/thys/Ordered_Resolution_Prover/Map2.thy", "repo": "afp-2025-02-12", "sha": "559a1a66db962fd6d0cfc5fbf4348ebf7a18cd04e6a4df59bb173650ceaaf10f" }
(*<*) theory Infinite_Proof_Soundness imports Finite_Proof_Soundness "HOL-Library.BNF_Corec" begin (* Reference: A Generic Cyclic Theorem Prover by James Brotherston, Nikos Gorogiannis, and Rasmus L. Petersen *) (*>*) section ‹Soundness of Infinite Proof Trees› context begin private definition "num P xs ≡ LEAST n. ...
{ "path": "afp-2025-02-12/thys/Abstract_Soundness/Infinite_Proof_Soundness.thy", "repo": "afp-2025-02-12", "sha": "6a84ee2239a43b96a47066d3fb36e91f652cf9088e7c3ef573a86f929ca968f9" }
section ‹Result› theory Result imports Soundness Completeness begin theorem prover_soundness_completeness: fixes A B :: ‹fm list› defines ‹t ≡ prover (A, B)› shows ‹tfinite t ∧ wf t ⟷ (∀(E :: _ ⇒ tm) F G. sc (E, F, G) (A, B))› using assms (*‹t ≡ prover (A, B)›*) prover_soundness (*‹⟦tfinite ?t; Prover.wf ?t...
{ "path": "afp-2025-02-12/thys/FOL_Seq_Calc3/Result.thy", "repo": "afp-2025-02-12", "sha": "2fb2e3cdf071fd35c5b652f8c0c7706bd1814ea322e242c4996bc069c87a02bb" }
section ‹Operational Semantics› theory RG_Tran imports RG_Com begin subsection ‹Semantics of Component Programs› subsubsection ‹Environment transitions› type_synonym 'a conf = "(('a com) option) × 'a" inductive_set etran :: "('a conf × 'a conf) set" and etran' :: "'a conf ⇒ 'a conf ⇒ bool" ("_ -e→ _" [81,81]...
{ "path": "Isabelle2024/src/HOL/Hoare_Parallel/RG_Tran.thy", "repo": "Isabelle2024", "sha": "3bca39ddbedfada250c2911e1fc00f4906eea0c9b78c97fc7a3813cd5c7cfdd9" }
(* Author: René Thiemann License: LGPL *) section ‹Show Implemetation for Real Numbers via Rational Numbers› text ‹We just provide an implementation for show of real numbers where we assume that real numbers are implemented via rational numbers.› theory Show_Real_Impl imports Show_Real ...
{ "path": "afp-2025-02-12/thys/Show/Show_Real_Impl.thy", "repo": "afp-2025-02-12", "sha": "b143d6248421486ac8bbf5bd776f637e555ed6d192e302b557e4e3866485c6ce" }
section ‹Denotational semantics of Circus actions› theory Denotational_Semantics imports Circus_Actions Var_list begin text ‹In this section, we introduce the definitions of Circus actions denotational semantics. We provide the proof of well-formedness of every action. We also provide proofs concerning the monotoni...
{ "path": "afp-2025-02-12/thys/Circus/Denotational_Semantics.thy", "repo": "afp-2025-02-12", "sha": "6242356afbf5d62f50266e7010a41fb3e2975e1311a071f09c009dd702084723" }
(* Title: Tree Automata Author: Peter Lammich <peter dot lammich at uni-muenster.de> Maintainer: Peter Lammich <peter dot lammich at uni-muenster.de> *) section "Abstract Tree Automata Algorithms" theory AbsAlgo imports Ta Collections_Examples.Exploration Collections.CollectionsV1 begin no...
{ "path": "afp-2025-02-12/thys/Tree-Automata/AbsAlgo.thy", "repo": "afp-2025-02-12", "sha": "38ff073ed89b7908d3ee90883458c5bfc121e7c19e6c87c5876ef0a878f251c8" }
(* Title: HOL/ex/Birthday_Paradox.thy Author: Lukas Bulwahn, TU Muenchen, 2007 *) section ‹A Formulation of the Birthday Paradox› theory Birthday_Paradox imports Main "HOL-Library.FuncSet" begin section ‹Cardinality› lemma card_product_dependent: assumes "finite S" assumes "∀x ∈ S. finite (T x)" shows "c...
{ "path": "Isabelle2024/src/HOL/ex/Birthday_Paradox.thy", "repo": "Isabelle2024", "sha": "1d737d6f2c7119b9b64efed0180d491c48b94f58b1959fdc0e5ce4a2dc9afd03" }
(* Title: Projections.thy Author: Jose Divasón <jose.divasonm at unirioja.es> Author: Jesús Aransay <jesus-maria.aransay at unirioja.es> *) section‹Projections› theory Projections imports Miscellaneous_QR begin subsection‹Definitions of vector projection and projection of a vector ont...
{ "path": "afp-2025-02-12/thys/QR_Decomposition/Projections.thy", "repo": "afp-2025-02-12", "sha": "516dbca6c37c6064fb53f4126f89f8cad31d630b5162b20ce41e98903167dfce" }
section‹Shadowed Rules› theory Shadowed imports SimpleFw_Semantics begin subsection‹Removing Shadowed Rules› text‹Testing, not executable› text‹Assumes: @{term "simple_ruleset"}› fun rmshadow :: "'i::len simple_rule list ⇒ 'i simple_packet set ⇒ 'i simple_rule list" where "rmshadow [] _ = []" | "rmshadow ((Simpl...
{ "path": "afp-2025-02-12/thys/Simple_Firewall/Shadowed.thy", "repo": "afp-2025-02-12", "sha": "a8a5c7682f3fd797f3276824eb17763e7c694874f04b9e7773fc0cb88ebce948" }
section ‹Transition Systems and Trace Theory› theory Transition_System_Traces imports Transition_System_Extensions Traces begin lemma (in transition_system) words_infI_construct[rule_format, intro?]: assumes "∀ v. v ≤⇩F⇩I w ⟶ path v p" shows "run w p" using assms (*‹∀v. v ≤⇩F⇩I w ⟶ path v p›*) a...
{ "path": "afp-2025-02-12/thys/Partial_Order_Reduction/Transition_System_Traces.thy", "repo": "afp-2025-02-12", "sha": "720015277cab71aa99a0b940f12f20b283417506013468c45a720847cd427261" }
section ‹Tries via Functions› theory Trie_Fun imports Set_Specs begin text ‹A trie where each node maps a key to sub-tries via a function. Nice abstract model. Not efficient because of the function space.› datatype 'a trie = Nd bool "'a ⇒ 'a trie option" definition empty :: "'a trie" where [simp]: "empty = Nd Fal...
{ "path": "Isabelle2024/src/HOL/Data_Structures/Trie_Fun.thy", "repo": "Isabelle2024", "sha": "93e76331845cb8a756a2d5576e7fcc04d369ff727bb1197a9b1b1cd448f0a089" }
(* File: Perfect_Fields/Perfect_Fields.thy Authors: Katharina Kreuzer (TU München) Manuel Eberl (University of Innsbruck) Typeclasses for fields of prime characteristic Frobenius endomorphism on a field type Fields with a surjective Frobenius endomorphism Typeclass for perfect fields a...
{ "path": "afp-2025-02-12/thys/Perfect_Fields/Perfect_Fields.thy", "repo": "afp-2025-02-12", "sha": "a8e827d4e33309ea70a254db2ec83f05d37263a7321ee0b5bb316c2f3ae1c140" }
(* Anders Schlichtkrull & Jørgen Villadsen, DTU Compute, Denmark *) chapter ‹On Paraconsistency› text ‹ Paraconsistency concerns inference systems that do not explode given a contradiction. The Internet Encyclopedia of Philosophy has a survey article on paraconsistent logic. The following Isabelle theory formalize...
{ "path": "afp-2025-02-12/thys/Paraconsistency/Paraconsistency.thy", "repo": "afp-2025-02-12", "sha": "af3973df4369703ac704b83ad1b265db0d488e4ac56346fa2e924c6f670ea5a1" }
subsection ‹Consistency› theory Guards imports StateModel CommCSL AbstractCommutativity begin text ‹A state is "consistent" iff: 1. All its permissions are full 2. Has unique guards iff has shared guard 3. The values in the fractional heaps are "reachable" wrt to the sequence and multiset of actions 4. Has exactly ...
{ "path": "afp-2025-02-12/thys/CommCSL/Guards.thy", "repo": "afp-2025-02-12", "sha": "b5c4b39200b75bab584638b34e3ed9c71b424b6e91bdd77603627830f31dc461" }
(* Title: Conflict analysis/Constraint Systems Author: Peter Lammich <peter.lammich@uni-muenster.de> Maintainer: Peter Lammich <peter.lammich@uni-muenster.de> *) section "Constraint Systems" theory ConstraintSystems imports Main AcquisitionHistory Normalization begin text_raw ‹\label{thy:Constraint...
{ "path": "afp-2025-02-12/thys/Program-Conflict-Analysis/ConstraintSystems.thy", "repo": "afp-2025-02-12", "sha": "2e0466eea88b074d00a31640566d764623ed91ac02d131e69ae2237e4940682b" }
section "Proof Terms and proof checker" theory ProofTerm imports Term Logic Term_Subst SortConstants EqualityProof begin (* Move *) type_synonym tyinst = "(variable × sort) × typ" type_synonym tinst = "(variable × typ) × term" datatype proofterm = PAxm "term" "tyinst list" | PBound nat | Abst "t...
{ "path": "afp-2025-02-12/thys/Metalogic_ProofChecker/ProofTerm.thy", "repo": "afp-2025-02-12", "sha": "3604a7d6832e1ef8eac85815fa69b2bec15e092492bba2832432ac58ea81ee39" }
chapter ‹Abstract Formulation of Gödel's Second Incompleteness Theorem› (*<*) theory Abstract_Second_Goedel imports Abstract_First_Goedel Derivability_Conditions begin (*>*) text ‹We assume all three derivability conditions, and assumptions behind Gödel formulas:› locale Goedel_Second_Assumptions = HBL1_2_3 var t...
{ "path": "afp-2025-02-12/thys/Goedel_Incompleteness/Abstract_Second_Goedel.thy", "repo": "afp-2025-02-12", "sha": "9d5f6afcb43b5f690ad113b1b15c723683f313b60666c115137c62b04a4b952e" }
(* Author: Alexander Maletzky *) section ‹Direct Decompositions and Hilbert Functions› theory Hilbert_Function imports "HOL-Combinatorics.Permutations" Dube_Prelims Degree_Section begin subsection ‹Direct Decompositions› text ‹The main reason for defining ‹direct_decomp› in terms of lists rather than sets is ...
{ "path": "afp-2025-02-12/thys/Groebner_Macaulay/Hilbert_Function.thy", "repo": "afp-2025-02-12", "sha": "08d7051dabbd35e69891674b559b29d14e5ab930f72c3790d1819808149ebedc" }
section ‹Chain-Complete Partial Orders› theory CCPO_Extensions imports "HOL-Library.Complete_Partial_Order2" ENat_Extensions Set_Extensions begin lemma chain_split[dest]: assumes "Complete_Partial_Order.chain ord C" "x ∈ C" shows "C = {y ∈ C. ord x y} ∪ {y ∈ C. ord y x}" proof (-) (*goal: ‹C =...
{ "path": "afp-2025-02-12/thys/Partial_Order_Reduction/Extensions/CCPO_Extensions.thy", "repo": "afp-2025-02-12", "sha": "75cd235d83dd28fd22c83760c4bc949435c5aa32c65c0db5fb81546204ec4f8d" }
section ‹ Scene Spaces › theory Scene_Spaces imports Scenes begin subsection ‹ Preliminaries › abbreviation foldr_scene :: "'a scene list ⇒ 'a scene" ("⨆⇩S") where "foldr_scene as ≡ foldr (⊔⇩S) as ⊥⇩S" lemma pairwise_indep_then_compat [simp]: "pairwise (⨝⇩S) A ⟹ pairwise (##⇩S) A" by (simp add: pa...
{ "path": "afp-2025-02-12/thys/Optics/Scene_Spaces.thy", "repo": "afp-2025-02-12", "sha": "9880d169546d01b2f100285d3a8fb2f71ce3088e17ea772efe7fa2bf40a1d06e" }
section ‹Algorithms to compute all complex and real roots of a quartic polynomial› theory Quartic_Polynomials imports Ferraris_Formula Cubic_Polynomials begin text ‹The complex case is straight-forward› definition solve_depressed_quartic_complex :: "complex ⇒ complex ⇒ complex ⇒ complex list" where "sol...
{ "path": "afp-2025-02-12/thys/Cubic_Quartic_Equations/Quartic_Polynomials.thy", "repo": "afp-2025-02-12", "sha": "547fa83bef46f1f1e74ebcce7710ed44536b58f3548b4c6a82add1c4beeb4359" }
theory SM_Datastructures imports Main CAVA_Base.CAVA_Base "../Lib/SOS_Misc_Add" DFS_Framework.Feedback_Arcs (* TODO: Only for oo-symbol !?*) begin lemma [code_unfold]: "{(a,b). (a,b)∈X ∧ P a b} = Set.filter (λ(a,b). P a b) X" by auto lemma in_dom_map_code[code_unfold]: "x∈dom m = (case m x of...
{ "path": "afp-2025-02-12/thys/CAVA_LTL_Modelchecker/SM/Impl/SM_Datastructures.thy", "repo": "afp-2025-02-12", "sha": "87d20a73699671313d7491079c892d89bfd41569a84a1096aef0598d388c582a" }
(* Title: Omega Algebra Author: Alasdair Armstrong, Georg Struth, Tjark Weber Maintainer: Georg Struth <g.struth at sheffield.ac.uk> Tjark Weber <tjark.weber at it.uu.se> *) section ‹Omega Algebras› theory Omega_Algebra imports Kleene_Algebra begin text ‹ \emph{Omega algebras}~\<^cite>‹...
{ "path": "afp-2025-02-12/thys/Kleene_Algebra/Omega_Algebra.thy", "repo": "afp-2025-02-12", "sha": "8c58889d11250d05e1433f3bc8607062c5f830dbc559343d510231b081386474" }
section "Kruskal Implementation" theory Kruskal_Impl imports Kruskal_Refine Refine_Imperative_HOL.IICF begin subsection ‹Refinement III: concrete edges› text ‹Given a concrete representation of edges and their endpoints as a pair, we refine Kruskal's algorithm to work on these concrete edges.› locale Kruskal_conc...
{ "path": "afp-2025-02-12/thys/Kruskal/Kruskal_Impl.thy", "repo": "afp-2025-02-12", "sha": "7992eae3c1d5cd874a146b9e867f47bbc7c491eeeaa885f217fa6c636d975b7b" }
(* Author: Alexander Katovsky *) section "Category" theory Category imports "HOL-Library.FuncSet" begin record ('o,'m) Category = Obj :: "'o set" ("objı" 70) Mor :: "'m set" ("morı" 70) Dom :: "'m ⇒ 'o" ("domı _" [80] 70) Cod :: "'m ⇒ 'o" ("codı _" [80] 70) Id :: "'o ⇒ 'm" ("idı _" [80] 75) Comp :: "'...
{ "path": "afp-2025-02-12/thys/Category2/Category.thy", "repo": "afp-2025-02-12", "sha": "edbf406349a21f15ea803e694bdb72b2c584285c382301d907ccfa2ff8ed6482" }
section ‹The Hadjicostas--Chapman formula› theory Hadjicostas_Chapman imports Zeta_Laurent_Expansion begin text ‹ In this section, we will derive a formula for the ‹ζ› function that was conjectured by Hadjicostas~\<^cite>‹"hadjicostas2004"› and proven shortly afterwards by Chapman~\<^cite>‹"chapman2004"›. The...
{ "path": "afp-2025-02-12/thys/Zeta_Function/Hadjicostas_Chapman.thy", "repo": "afp-2025-02-12", "sha": "2950183625215df4c8efb4e4bd9b0a010ad4194faa57cac5014064b9c665e24c" }
(* Title: HOL/Analysis/Infinite_Sum.thy Author: Dominique Unruh, University of Tartu Manuel Eberl, University of Innsbruck A theory of sums over possibly infinite sets. *) section ‹Infinite sums› \<^latex>‹\label{section:Infinite_Sum}› text ‹In this theory, we introduce the definition of infin...
{ "path": "Isabelle2024/src/HOL/Analysis/Infinite_Sum.thy", "repo": "Isabelle2024", "sha": "bc79361c2879d9ba15f9faa14569ad35506e77beda849fb6f30f4930fa80e951" }
(* Title: Miscellaneous results Author: Tim Makarios <tjm1983 at gmail.com>, 2012 Maintainer: Tim Makarios <tjm1983 at gmail.com> *) (*Some of these theorems were moved to the Isabelle repository *) section "Miscellaneous results" theory Miscellany imports Metric begin lemma unordered_pair_elem...
{ "path": "afp-2025-02-12/thys/Tarskis_Geometry/Miscellany.thy", "repo": "afp-2025-02-12", "sha": "18f5efe3581d5f7d146102856023e81a5ad349cca855c8d87384ef39d55d3117" }
theory RM_Sums_Diophantine imports Equation_Setup "../Diophantine/Register_Machine_Sums" "../Diophantine/Binary_And" begin context register_machine begin definition sum_ssub_nzero_of_bit_and :: "polynomial ⇒ nat ⇒ polynomial list ⇒ polynomial list ...
{ "path": "afp-2025-02-12/thys/DPRM_Theorem/Machine_Equations/RM_Sums_Diophantine.thy", "repo": "afp-2025-02-12", "sha": "f3d636e55d659cfa2e5a0371507c37e5fb2a7c95f1037605c302539899fad61d" }
(* Title: JinjaThreads/Framework/FWWellform.thy Author: Andreas Lochbihler *) section ‹Wellformedness conditions for the multithreaded state› theory FWWellform imports FWLocking FWThread FWWait FWCondAction begin text‹Well-formedness property: Locks are held by real threads› definition lock_...
{ "path": "afp-2025-02-12/thys/JinjaThreads/Framework/FWWellform.thy", "repo": "afp-2025-02-12", "sha": "99efa4d1b22480765e290fc944a853fe9df6e899850543f3ee550b0106c1a9cb" }
(* Authors: Hanna Lachnitt, TU Wien, lachnitt@student.tuwien.ac.at Anthony Bordg, University of Cambridge, apdb3@cam.ac.uk *) section ‹The Deutsch-Jozsa Algorithm› theory Deutsch_Jozsa imports Deutsch More_Tensor Binary_Nat begin text ‹ Given a function $f:{0,1}^n \mapsto {0,1}$, the Deutsch-Jozsa algor...
{ "path": "afp-2025-02-12/thys/Isabelle_Marries_Dirac/Deutsch_Jozsa.thy", "repo": "afp-2025-02-12", "sha": "a3a135605aa0c8b6a893c9f6fbfb40e656eda61f597c54b631c8a2c92a92ba77" }
(* Title: variants/a_norreqid/Loop_Freedom.thy License: BSD 2-Clause. See LICENSE. Author: Timothy Bourke, Inria *) section "Routing graphs and loop freedom" theory A_Loop_Freedom imports A_Aodv_Predicates A_Fresher begin text ‹Define the central theorem that relates an invariant over network...
{ "path": "afp-2025-02-12/thys/AODV/variants/a_norreqid/A_Loop_Freedom.thy", "repo": "afp-2025-02-12", "sha": "c6234458e16f884cc7b13d457dae6a2d35c10643028bd8ce549b129f107b0586" }