<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="isabelle.css" />
    <title>Supplementary Material</title>
    <!-- Inline CSS -->
    <style type="text/css">
      /* General styles */
      body {
          font-family: Arial, sans-serif;
          color: #333;
          margin: 0;
          padding: 20px;
          line-height: 1.6;
      }
  
      h1, h2, h3 {
          color: #2c3e50;
          font-weight: bold;
      }
  
      h1 {
          font-size: 2.5rem;
          text-align: center;
          margin-bottom: 10px;
      }
  
      h2 {
          font-size: 2rem;
          margin-top: 20px;
          display: flex;
          align-items: center;
      }
  
      h2.subheading {
          font-size: 1.25rem;
          text-align: center;
          margin-top: 0;
          margin-bottom: 30px;
      }
  
      h2 img {
          margin-left: 10px;
      }
  
      h3 {
          font-size: 1.5rem;
          color: #2980b9;
      }
  
      /* Code styling */
      code {
          background-color: #e0e0e0;
          padding: 0.2em 0.4em;
          border-radius: 5px;
          font-family: "Courier New", Courier, monospace;
      }
  
      /* Code styling inside headings */
      h3 code {
          background-color: transparent;
          color: #2c3e50;
      }
  
      /* Code styling inside links */
      a code {
          background-color: #dfe6e9;
          color: #d35400;
      }
  
      a:hover code {
          background-color: #b2bec3;
      }
  
      /* Link styles */
      a {
          text-decoration: none;
          color: #2980b9;
      }
  
      a:hover {
          text-decoration: underline;
      }
  
      /* Layout */
      .container {
          max-width: 1200px;
          margin: 0 auto;
          padding: 20px;
      }
  
      .content {
          display: flex;
          flex-wrap: wrap;
          gap: 20px;
      }
  
      .text-section {
          flex: 1;
          min-width: 300px;
          max-width: 600px;
      }
  
      .image-section {
          flex: 1;
          display: flex;
          flex-direction: column; /* Stack elements vertically */
          align-items: center;
          justify-content: center;
          max-width: 400px;
      }
  
      .image-section img {
          max-width: 80%;
          height: auto;
          border-radius: 10px;
      }
  
      figcaption {
          margin-top: 10px;
          font-style: italic;
          font-size: 1rem;
          color: #7f8c8d;
      }
  
      /* Other spacing adjustments */
      ul {
          margin-top: 10px;
          padding-left: 20px;
      }
  
      p {
          margin-bottom: 20px;
      }
  </style>
  
  </head>

  <body>
    <div class="container">
        <h1>Supplementary Material</h1>
        <h2 class="subheading"> 
          for the CPP 2025 paper "Formalizing Simultaneous Critical Pairs for Confluence of Left-Linear Rewrite Systems".
        </h2>

        <div class="content">
            <div class="text-section">
                <h2>Formalization <img src="isabelle.gif" alt="Isabelle Icon" width="50"/></h2>
                <p>The formalization described in the paper builds on IsaFoR/CeTA version 3.2 using Isabelle 2024.</p>
                <p>We provide HTML presentations of the IsaFoR source code. The following theory files might be of interest.</p>

                <h3>Session<code>CR</code></h3>
                <ul>
                    <li><a href="IsaFoR/CR/Okui_Criterion.html"><code>Okui_Criterion.thy</code></a>: Definition of simultaneous critical pairs and proof of Okui's criterion</li>
                    <li><a href="IsaFoR/CR/Okui_subsumes_DC.html"><code>Okui_subsumes_DC.thy</code></a>: Proof that Okui's criterion subsumes development closedness</li>	   
		</ul>

                <h3>Session <code>Proof_Terms</code></h3>
                <ul>
                    <li><a href="IsaFoR/Proof_Terms/Proof_Terms.html"><code>Proof_Terms.thy</code></a> Definition and basic results about proof terms</li>
                    <li><a href="IsaFoR/Proof_Terms/Residual_Join_Deletion.html"><code>Residual_Join_Deletion.thy</code></a> Operations on proof terms</li>
                    <li><a href="IsaFoR/Proof_Terms/Orthogonal_PT.html"><code>Orthogonal_PT.thy</code></a> Orthogonal proof terms and their properties</li>
                    <li><a href="IsaFoR/Proof_Terms/Labels_and_Overlaps.html"><code>Labels_and_Overlaps.thy</code></a> Labeling of the source of proof terms, used to determine overlap</li>
                    <li><a href="IsaFoR/Proof_Terms/Redex_Patterns.html"><code>Redex_Patterns.thy</code></a> Properties of redex patterns contained in proof terms</li>
                </ul>

                <h3>Session<code>TRS</code></h3>
                <ul>
                    <li><a href="IsaFoR/IsaFoR_1/TRS.Unification_More.html#Unification_More.unify_linear_terms|fact"><code>Unification_More.thy</code></a>: Unification of linear terms</li>
                </ul>
            </div>

            <div class="image-section">
                <img src="Proof_Terms_Deps.png" alt="Proof_Terms session graph" height="300" />
                <figcaption>session graph for <code>Proof_Terms</code></figcaption>
            </div>
        </div>
    </div>
</body>
</html>
