Original question and givens
The declared total function f:A→B has A={-6, -5, -4, -3, -2, -1, 0}, B={0, 1, 2, 3, 4, 5, 6}, and table {(-6, 1), (-5, 2), (-4, 3), (-3, 4), (-2, 5), (-1, 6), (0, 0)}. Is f both injective and surjective? Decide bijectivity from the actual table.
G001 — The declared total function f:A→B has A={-6, -5, -4, -3, -2, -1, 0}, B={0, 1, 2, 3, 4, 5, 6}, and table {(-6, 1), (-5, 2), (-4, 3), (-3, 4), (-2, 5), (-1, 6), (0, 0)}. Is f both injective and surjective? Decide bijectivity from the actual table.
Step-by-step derivation
S001 · implies
Before
A=[-6, -5, -4, -3, -2, -1, 0]; B=[0, 1, 2, 3, 4, 5, 6]; table=[[-6, 1], [-5, 2], [-4, 3], [-3, 4], [-2, 5], [-1, 6], [0, 0]]
After
legal total function on the declared A→B
Conditions: none
First check exactly one table value for every A-element,and no input outside A or output outside B.Injectivity and surjectivity refer to this declared codomain.
Step identifiers and dependencies
Rule: declared_total_function · Uses: G001
S002 · implies
Before
input -6
After
f(-6)=1∈B; exactly one listed value
Conditions: none
Audit each domain row of the total function,not just set cardinalities.
Step identifiers and dependencies
Rule: total_function_row · Uses: G001, S001
S003 · implies
Before
input -5
After
f(-5)=2∈B; exactly one listed value
Conditions: none
Audit each domain row of the total function,not just set cardinalities.
Step identifiers and dependencies
Rule: total_function_row · Uses: G001, S002
S004 · implies
Before
input -4
After
f(-4)=3∈B; exactly one listed value
Conditions: none
Audit each domain row of the total function,not just set cardinalities.
Step identifiers and dependencies
Rule: total_function_row · Uses: G001, S003
S005 · implies
Before
input -3
After
f(-3)=4∈B; exactly one listed value
Conditions: none
Audit each domain row of the total function,not just set cardinalities.
Step identifiers and dependencies
Rule: total_function_row · Uses: G001, S004
S006 · implies
Before
input -2
After
f(-2)=5∈B; exactly one listed value
Conditions: none
Audit each domain row of the total function,not just set cardinalities.
Step identifiers and dependencies
Rule: total_function_row · Uses: G001, S005
S007 · implies
Before
input -1
After
f(-1)=6∈B; exactly one listed value
Conditions: none
Audit each domain row of the total function,not just set cardinalities.
Step identifiers and dependencies
Rule: total_function_row · Uses: G001, S006
S008 · implies
Before
input 0
After
f(0)=0∈B; exactly one listed value
Conditions: none
Audit each domain row of the total function,not just set cardinalities.
Step identifiers and dependencies
Rule: total_function_row · Uses: G001, S007
S009 · implies
Before
target 0; all source rows examined
After
fiber=[0]; size=1
Conditions: none
List every preimage of this target;an unhit codomain element still has an empty fiber of size0.
Step identifiers and dependencies
Rule: complete_codomain_fiber · Uses: G001, S008
S010 · implies
Before
target 1; all source rows examined
After
fiber=[-6]; size=1
Conditions: none
List every preimage of this target;an unhit codomain element still has an empty fiber of size0.
Step identifiers and dependencies
Rule: complete_codomain_fiber · Uses: G001, S009
S011 · implies
Before
target 2; all source rows examined
After
fiber=[-5]; size=1
Conditions: none
List every preimage of this target;an unhit codomain element still has an empty fiber of size0.
Step identifiers and dependencies
Rule: complete_codomain_fiber · Uses: G001, S010
S012 · implies
Before
target 3; all source rows examined
After
fiber=[-4]; size=1
Conditions: none
List every preimage of this target;an unhit codomain element still has an empty fiber of size0.
Step identifiers and dependencies
Rule: complete_codomain_fiber · Uses: G001, S011
S013 · implies
Before
target 4; all source rows examined
After
fiber=[-3]; size=1
Conditions: none
List every preimage of this target;an unhit codomain element still has an empty fiber of size0.
Step identifiers and dependencies
Rule: complete_codomain_fiber · Uses: G001, S012
S014 · implies
Before
target 5; all source rows examined
After
fiber=[-2]; size=1
Conditions: none
List every preimage of this target;an unhit codomain element still has an empty fiber of size0.
Step identifiers and dependencies
Rule: complete_codomain_fiber · Uses: G001, S013
S015 · implies
Before
target 6; all source rows examined
After
fiber=[-1]; size=1
Conditions: none
List every preimage of this target;an unhit codomain element still has an empty fiber of size0.
Step identifiers and dependencies
Rule: complete_codomain_fiber · Uses: G001, S014
S016 · implies
Before
[]
After
all fibers have size≤1: Yes
Conditions: none
Injectivity forbids distinct inputs with the same output,exactly the condition that every fiber has size at most1.It holds vacuously for an empty domain.
Step identifiers and dependencies
Rule: injectivity_fiber_test · Uses: G001, S015
S017 · implies
Before
missing codomain targets=[]
After
all codomain fibers nonempty: Yes
Conditions: none
Surjectivity requires a preimage for every codomain element.The universal condition is true for an empty codomain,but the total-function premise is still required.
Step identifiers and dependencies
Rule: surjectivity_fiber_test · Uses: G001, S016
S018 · implies
Before
injective=Yes;surjective=Yes
After
requested result=Yes
Conditions: none
A bijection is both injective and surjective;the fiber profile is numerically ordered over the entire codomain,including zero fibers.
Step identifiers and dependencies
Rule: bijection_requested_classification · Uses: G001, S017