All proofs
Project-declaredLean 4.29.1 · mathlib@5e932f97

Equation374794 not implies Equation2

InfModel.Equation374794_not_implies_Equation2

Plain-language statement

However, Equation374794 doesn't imply Equation2.

Exact Lean statement

@[equational_result]
theorem Equation374794_not_implies_Equation2 : ∃ (G : Type) (_ : Magma G), Equation374794 G ∧ ¬Equation2 G

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
@[equational_result]theorem Equation374794_not_implies_Equation2 :  (G : Type) (_ : Magma G), Equation374794 G  ¬Equation2 G := by  letI : Magma + := { op := fun a b  if a = b then 2^a.val else    if a = 1 then 3^b.val else    if a = 3 ^ (padicValNat 3 a) then Nat.toPNat' (padicValNat 3 a) else 1}  refine +, this, fun x y z  ?_, fun x  nomatch (x 1 2)⟩⟩  unfold Magma.op  simp only [this, ↓reduceIte, PNat.pow_coe, PNat.val_ofNat]  have t1 (y : +) : 2 ^ (y : )  y := by    apply_fun PNat.val    simp [ne_of_gt, Nat.lt_pow_self]  have t3 (y : +) (n : ) : (2 : +) ^ (y : )  3^n := by    apply_fun PNat.val    simp only [PNat.pow_coe, PNat.val_ofNat, ne_eq]    intro nh    apply eq_of_prime_pow_eq at nh    · contradiction    · exact Nat.prime_two.prime    · exact Nat.prime_three.prime    · simp  have t2 (y : +) : (2 : +) ^ (y : )  1 := t3 y 0  have t4 (y : +) (n : ) : (3 : +) ^ (y : )  2^n := by    apply_fun PNat.val    simp only [PNat.pow_coe, PNat.val_ofNat, ne_eq]    intro nh    apply eq_of_prime_pow_eq at nh    · contradiction    · exact Nat.prime_three.prime    · exact Nat.prime_two.prime    · simp  have : Fact (Nat.Prime 2) := Nat.prime_two  have : Fact (Nat.Prime 3) := Nat.prime_three  simp only [t1, ↓reduceIte, t2, t3, PNat.val_ofNat, pow_one]  by_cases hx : x = 1  · simp only [hx, ↓reduceIte, PNat.val_ofNat, PNat.ofNat_inj, OfNat.ofNat_ne_one, ne_eq,    Nat.succ_ne_self, not_false_eq_true, padicValNat_primes, pow_zero]    rw [if_neg]    split_ifs    · apply ne_of_lt      simp only [ PNat.coe_lt_coe, PNat.val_ofNat, PNat.pow_coe]      apply lt_self_pow₀ (by simp only [Nat.one_lt_ofNat])      apply one_lt_pow₀ (by simp only [Nat.one_lt_ofNat]) (by simp)    · trivial  simp only [Ne.symm hx, ↓reduceIte, PNat.pow_coe, PNat.val_ofNat, padicValNat.prime_pow,    PNat.coe_toPNat']  rw [if_neg, if_neg]  · simp [pow_eq_one_iff]  · split    · apply t4    · convert t4 _ 0
Project
Equational Theories
License
Apache-2.0
Commit
7e276a2d05e8
Source
equational_theories/InfModel.lean:39-88

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.29.1

Assoc Implies Sgr Proj Faithful

AssocImpliesSgrProjFaithful

Project documentation

Example usage of AssocFullyRightAssociate -/ theorem Assoc4 {G : Type _} [Magma G] (assoc : Equation4512 G) : ∀ x y z w : G, ((x ◇ y) ◇ z) ◇ w = x ◇ (y ◇ (z ◇ w)) := fun x y z w ↦ AssocFullyRightAssociate assoc (fun | 0 => x | 1 => y | 2 => z | 3 => w : Fin 4 → G) (((Lf 0 ⋆ Lf 1) ⋆ Lf 2) ⋆ Lf 3) inductive FreeSemigroup (α : Type _) | Singleton : α → FreeS...

universal algebraequational logiccombinatorics

Source project: Equational Theories

Person-level attribution pending.

View proof record
Project-declaredLean 4.29.1

Eq255 equiv Lx Rx

Eq677.eq255_equiv_LxRx

Plain-language statement

Blueprint Lemma 13.2(v). E255 at x ↔ L_x ∘ R_x has a fixed point.

universal algebraequational logiccombinatorics

Source project: Equational Theories

Person-level attribution pending.

View proof record