Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct typo: Equation4522 is sometimes called Equation 4552 #17

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blueprint/src/chapter/counterexamples.tex
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ \chapter{Counterexamples}
\begin{proof}\leanok Use the natural numbers $\N$ with operation $x \circ y := x \cdot y + 1$.
\end{proof}

\begin{theorem}[4513 does not imply 4552]\label{4513_not_imply_4552}\lean{Equation4513_not_implies_Equation4552}\leanok\uses{eq4513,eq4552} Definition \ref{eq4513} does not imply Definition \ref{eq4552}.
\begin{theorem}[4513 does not imply 4522]\label{4513_not_imply_4522}\lean{Equation4513_not_implies_Equation4522}\leanok\uses{eq4513,eq4522} Definition \ref{eq4513} does not imply Definition \ref{eq4522}.
\end{theorem}

\begin{proof}\leanok Use the natural numbers $\N$ with operation $x \circ y$ equal to $1$ if $x=0$ and $y \leq 2$, $2$ if $x=0$ and $y>2$, and $x$ otherwise.
Expand Down
2 changes: 1 addition & 1 deletion blueprint/src/chapter/equations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ \chapter{Equations}
\begin{definition}[Equation 4513]\label{eq4513}\lean{Equation4513}\leanok\uses{magma-def} Equation 4513 is the law $x \circ (y \circ z) = (x \circ y) \circ w$.
\end{definition}

\begin{definition}[Equation 4552]\label{eq4552}\lean{Equation4552}\leanok\uses{magma-def} Equation 4552 is the law $x \circ (y \circ z) = (x \circ w) \circ u$.
\begin{definition}[Equation 4522]\label{eq4522}\lean{Equation4522}\leanok\uses{magma-def} Equation 4522 is the law $x \circ (y \circ z) = (x \circ w) \circ u$.
\end{definition}

\begin{definition}[Equation 4582]\label{eq4582}\lean{Equation4582}\leanok\uses{magma-def} Equation 4582 is the law $x \circ (y \circ z) = (w \circ u) \circ v$.
Expand Down
10 changes: 5 additions & 5 deletions equational_theories/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def Equation4512 (G: Type*) [Magma G] := ∀ x y z : G, x ∘ (y ∘ z) = (x ∘

def Equation4513 (G: Type*) [Magma G] := ∀ x y z w : G, x ∘ (y ∘ z) = (x ∘ y) ∘ w

def Equation4552 (G: Type*) [Magma G] := ∀ x y z w u : G, x ∘ (y ∘ z) = (x ∘ w) ∘ u
def Equation4522 (G: Type*) [Magma G] := ∀ x y z w u : G, x ∘ (y ∘ z) = (x ∘ w) ∘ u

def Equation4582 (G: Type*) [Magma G] := ∀ x y z w u v: G, x ∘ (y ∘ z) = (w ∘ u) ∘ v

Expand Down Expand Up @@ -97,7 +97,7 @@ theorem Equation4_implies_Equation42 (G: Type*) [Magma G] (h: Equation4 G) : Equ
intro _ _ _
rw [<-h, <-h]

theorem Equation4_implies_Equation4552 (G: Type*) [Magma G] (h: Equation4 G) : Equation4552 G := by
theorem Equation4_implies_Equation4522 (G: Type*) [Magma G] (h: Equation4 G) : Equation4522 G := by
intro x y z w u
rw [<-h, <-h, <-h]

Expand All @@ -124,10 +124,10 @@ theorem Equation387_implies_Equation43 (G: Type*) [Magma G] (h: Equation387 G) :
theorem Equation4513_implies_Equation4512 (G: Type*) [Magma G] (h: Equation4513 G) : Equation4512 G :=
fun _ _ _ => h _ _ _ _

theorem Equation4552_implies_Equation4513 (G: Type*) [Magma G] (h: Equation4552 G) : Equation4513 G :=
theorem Equation4522_implies_Equation4513 (G: Type*) [Magma G] (h: Equation4522 G) : Equation4513 G :=
fun _ _ _ _ => h _ _ _ _ _

theorem Equation4582_implies_Equation4552 (G: Type*) [Magma G] (h: Equation4582 G) : Equation4552 G :=
theorem Equation4582_implies_Equation4522 (G: Type*) [Magma G] (h: Equation4582 G) : Equation4522 G :=
fun _ _ _ _ _ => h _ _ _ _ _ _


Expand Down Expand Up @@ -339,7 +339,7 @@ theorem Equation4512_not_implies_Equation4513 : ∃ (G: Type) (_: Magma G), Equa
dsimp [hG] at h
linarith

theorem Equation4513_not_implies_Equation4552 : ∃ (G: Type) (_: Magma G), Equation4513 G ∧ ¬ Equation4552 G := by
theorem Equation4513_not_implies_Equation4522 : ∃ (G: Type) (_: Magma G), Equation4513 G ∧ ¬ Equation4522 G := by
let hG : Magma Nat := {
op := fun x y => if x = 0 then (if y ≤ 2 then 1 else 2) else x
}
Expand Down
2 changes: 1 addition & 1 deletion images/implications.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.