Documentation
Acmoi
.
Exercise6_1
Search
Google site search
return to top
source
Imports
Init
Mathlib.Tactic.Ring
Imported by
max_left
max_right
max_ineq
mul_ineq
add_ineq
source
theorem
max_left
{a :
ℕ
}
{b :
ℕ
}
{b' :
ℕ
}
{c :
ℕ
}
{c' :
ℕ
}
(h :
a
≤
b
*
c
)
:
a
≤
max
b
b'
*
max
c
c'
source
theorem
max_right
{a' :
ℕ
}
{b :
ℕ
}
{b' :
ℕ
}
{c :
ℕ
}
{c' :
ℕ
}
(h :
a'
≤
b'
*
c'
)
:
a'
≤
max
b
b'
*
max
c
c'
source
theorem
max_ineq
(a :
ℕ
)
(a' :
ℕ
)
(b :
ℕ
)
(b' :
ℕ
)
(c :
ℕ
)
(c' :
ℕ
)
(h :
a
≤
b
*
c
)
(h' :
a'
≤
b'
*
c'
)
:
max
a
a'
≤
max
b
b'
*
max
c
c'
source
theorem
mul_ineq
(a :
ℕ
)
(a' :
ℕ
)
(b :
ℕ
)
(b' :
ℕ
)
(c :
ℕ
)
(c' :
ℕ
)
(h :
a
≤
b
*
c
)
(h' :
a'
≤
b'
*
c'
)
:
a
*
a'
≤
b
*
b'
*
(
c
*
c'
)
source
theorem
add_ineq
(a :
ℕ
)
(a' :
ℕ
)
(b :
ℕ
)
(b' :
ℕ
)
(c :
ℕ
)
(c' :
ℕ
)
(h :
a
≤
b
+
c
)
(h' :
a'
≤
b'
+
c'
)
:
a
+
a'
≤
b
+
b'
+
(
c
+
c'
)