<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://www.glc.us.es/~jalonso/RA2014/index.php?action=history&amp;feed=atom&amp;title=Tema_12b%3A_Razonamiento_modular</id>
	<title>Tema 12b: Razonamiento modular - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://www.glc.us.es/~jalonso/RA2014/index.php?action=history&amp;feed=atom&amp;title=Tema_12b%3A_Razonamiento_modular"/>
	<link rel="alternate" type="text/html" href="https://www.glc.us.es/~jalonso/RA2014/index.php?title=Tema_12b:_Razonamiento_modular&amp;action=history"/>
	<updated>2026-07-17T13:53:50Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.31.14</generator>
	<entry>
		<id>https://www.glc.us.es/~jalonso/RA2014/index.php?title=Tema_12b:_Razonamiento_modular&amp;diff=285&amp;oldid=prev</id>
		<title>WikiSysop: Texto reemplazado: «&quot;isar&quot;» por «&quot;isabelle&quot;»</title>
		<link rel="alternate" type="text/html" href="https://www.glc.us.es/~jalonso/RA2014/index.php?title=Tema_12b:_Razonamiento_modular&amp;diff=285&amp;oldid=prev"/>
		<updated>2018-07-16T08:14:03Z</updated>

		<summary type="html">&lt;p&gt;Texto reemplazado: «&amp;quot;isar&amp;quot;» por «&amp;quot;isabelle&amp;quot;»&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 08:14 16 jul 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Línea 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;isar&lt;/del&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;isabelle&lt;/ins&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;header {* T12b: Razonamiento modular mediante entornos locales *}&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;header {* T12b: Razonamiento modular mediante entornos locales *}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://www.glc.us.es/~jalonso/RA2014/index.php?title=Tema_12b:_Razonamiento_modular&amp;diff=275&amp;oldid=prev</id>
		<title>Jalonso: Página creada con &#039;&lt;source lang=&quot;isar&quot;&gt; header {* T12b: Razonamiento modular mediante entornos locales *}  theory T12b_Razonamiento_modular imports Main begin  text {*   Basado en    http://www.cs...&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.glc.us.es/~jalonso/RA2014/index.php?title=Tema_12b:_Razonamiento_modular&amp;diff=275&amp;oldid=prev"/>
		<updated>2015-01-29T12:12:10Z</updated>

		<summary type="html">&lt;p&gt;Página creada con &amp;#039;&amp;lt;source lang=&amp;quot;isar&amp;quot;&amp;gt; header {* T12b: Razonamiento modular mediante entornos locales *}  theory T12b_Razonamiento_modular imports Main begin  text {*   Basado en    http://www.cs...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;isar&amp;quot;&amp;gt;&lt;br /&gt;
header {* T12b: Razonamiento modular mediante entornos locales *}&lt;br /&gt;
&lt;br /&gt;
theory T12b_Razonamiento_modular&lt;br /&gt;
imports Main&lt;br /&gt;
begin&lt;br /&gt;
&lt;br /&gt;
text {*&lt;br /&gt;
  Basado en &lt;br /&gt;
  http://www.cse.unsw.edu.au/~kleing/teaching/thprv-04/slides/Demo14.thy&lt;br /&gt;
*}&lt;br /&gt;
&lt;br /&gt;
section {* Ejemplo 1 *}&lt;br /&gt;
&lt;br /&gt;
locale semi =&lt;br /&gt;
  fixes prod :: &amp;quot;[&amp;#039;a, &amp;#039;a] =&amp;gt; &amp;#039;a&amp;quot; (infixl &amp;quot;⋅&amp;quot; 70)&lt;br /&gt;
  assumes assoc: &amp;quot;(x ⋅ y) ⋅ z = x ⋅ (y ⋅ z)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
locale group = semi +&lt;br /&gt;
  fixes one (&amp;quot;𝟭&amp;quot;) and inv (&amp;quot;_⇧-&amp;quot; [100] 100)&lt;br /&gt;
  assumes l_one: &amp;quot;𝟭 ⋅ x = x&amp;quot;&lt;br /&gt;
  assumes l_inv: &amp;quot;x⇧-⋅ x = 𝟭&amp;quot;&lt;br /&gt;
&lt;br /&gt;
lemma (in group) r_inv: &lt;br /&gt;
  &amp;quot;x ⋅ x⇧- = 𝟭&amp;quot;&lt;br /&gt;
proof -&lt;br /&gt;
  have &amp;quot;x ⋅ x⇧- = 𝟭 ⋅ (x ⋅ x⇧-)&amp;quot; by (simp only: l_one)&lt;br /&gt;
  also have &amp;quot;… = (𝟭 ⋅ x) ⋅ x⇧-&amp;quot; by (simp only: assoc)&lt;br /&gt;
  also have &amp;quot;… = (((x⇧-)⇧- ⋅ x⇧-) ⋅ x) ⋅ x⇧-&amp;quot; by (simp only: l_inv)&lt;br /&gt;
  also have &amp;quot;… = ((x⇧-)⇧- ⋅ (x⇧- ⋅ x)) ⋅ x⇧-&amp;quot; by (simp only: assoc)&lt;br /&gt;
  also have &amp;quot;… = ((x⇧-)⇧- ⋅ 𝟭) ⋅ x⇧-&amp;quot; by (simp only: l_inv)&lt;br /&gt;
  also have &amp;quot;… = (x⇧-)⇧- ⋅ (𝟭 ⋅ x⇧-)&amp;quot; by (simp only: assoc)&lt;br /&gt;
  also have &amp;quot;… = (x⇧-)⇧- ⋅ x⇧-&amp;quot; by (simp only: l_one)&lt;br /&gt;
  also have &amp;quot;… = 𝟭&amp;quot; by (simp only: l_inv)&lt;br /&gt;
  finally show ?thesis .&lt;br /&gt;
qed&lt;br /&gt;
&lt;br /&gt;
lemma (in group) r_one: &lt;br /&gt;
  &amp;quot;x ⋅ 𝟭 = x&amp;quot;&lt;br /&gt;
proof -&lt;br /&gt;
  have &amp;quot;x ⋅ 𝟭 = x ⋅ (x⇧- ⋅ x)&amp;quot; by (simp only: l_inv)&lt;br /&gt;
  also have &amp;quot;… = (x ⋅ x⇧-) ⋅ x&amp;quot; by (simp only: assoc)&lt;br /&gt;
  also have &amp;quot;… = 𝟭 ⋅ x&amp;quot; by (simp only: r_inv)&lt;br /&gt;
  also have &amp;quot;… = x&amp;quot; by (simp only: l_one)&lt;br /&gt;
  finally show &amp;quot;x ⋅ 𝟭 = x&amp;quot; .&lt;br /&gt;
qed&lt;br /&gt;
&lt;br /&gt;
lemma (in group) l_cancel [simp]: &lt;br /&gt;
  &amp;quot;(x ⋅ y = x ⋅ z) = (y = z)&amp;quot;&lt;br /&gt;
proof&lt;br /&gt;
  assume &amp;quot;x ⋅ y = x ⋅ z&amp;quot;&lt;br /&gt;
  then have &amp;quot;(x⇧- ⋅ x) ⋅ y = (x⇧- ⋅ x) ⋅ z&amp;quot; by (simp add: assoc)&lt;br /&gt;
  then show &amp;quot;y = z&amp;quot; by (simp add: l_inv l_one)&lt;br /&gt;
next&lt;br /&gt;
  assume &amp;quot;y = z&amp;quot;&lt;br /&gt;
  then show &amp;quot;x ⋅ y = x ⋅ z&amp;quot; by simp&lt;br /&gt;
qed&lt;br /&gt;
&lt;br /&gt;
subsection {* Exportación *}&lt;br /&gt;
&lt;br /&gt;
thm semi.assoc group.l_cancel&lt;br /&gt;
&lt;br /&gt;
subsection {* Definiciones *}&lt;br /&gt;
&lt;br /&gt;
locale semi2 = semi +&lt;br /&gt;
  fixes rprod (infixl &amp;quot;⊙&amp;quot; 70)&lt;br /&gt;
  defines rprod_def: &amp;quot;rprod x y ≡ y ⋅ x &amp;quot;&lt;br /&gt;
&lt;br /&gt;
lemma (in semi2) r_assoc:&lt;br /&gt;
  &amp;quot;(x ⊙ y) ⊙ z = x ⊙ (y ⊙ z)&amp;quot;&lt;br /&gt;
by (simp only: rprod_def assoc)&lt;br /&gt;
&lt;br /&gt;
thm semi2.r_assoc&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jalonso</name></author>
		
	</entry>
</feed>