#git branch S_1, S_2 re treated as sets , with the commits in em as the element of these sets
many of the git ops re just set theoretic element mapping ops ( read declaring set theoretic relationships amongst the subset of these elements)

for instance (rebase --onto) is defining a subset of S_1 e_i( if the re not a sequence of commits, one can cherry pick?) and moving them to S_2 ( or defining an onto relationship for e_1 between S_1 ,S_2)
A corresponding surjective function can be
a function from set A to set B is onto (surjective), : f:A→B such that for every element b∈B, there exists at least one element a∈A where f(a)=b. This can be denoted as ∀b∈B,∃a∈A such that f(a)=b
you can also write a #haskell function to do it ( untested)
```
import Data.List (nub)

-- Define a function type
type Function a b = a -> b

-- Check if a function is onto
isOnto :: (Eq b) => Function a b -> [a] -> [b] -> Bool
isOnto f domain codomain = all (`elem` mappedValues) codomain
where
mappedValues = nub (map f domain)

-- Example usage
main :: IO ()
main = do
let f :: Int -> Char
f x = if x `mod` 2 == 0 then 'A' else 'B' -- Example function
let domain = [1, 2, 3, 4] -- Set A
let codomain = ['A', 'B'] -- Set B
print $ isOnto f domain codomain -- Output: True

```
my point is you need to treat it as a #dsa problem till it's not
cc @abnv
the #math part of #swe

#todo list

🏀 Heute #FIBA #EuroBasket Jetzt LIVE 🔴 schon der Vorbericht Deutschland 🇩🇪 vs 🇸🇪 Schweden Tip-off 12:30 Uhr #MagentaSport | for FREE!!! #Livestream #TV #Basketball #DEU #SWE www.magentasport.de/event/deutsc...

Deutschland - Schweden | Lives...
Deutschland - Schweden | Livestream | MAGENTA SPORT

Nach dem erfolgreichen Auftakt gegen Montenegro will das DBB-Team den zweiten Sieg bei der EM einfahren. Der Gegner aus Schweden sollte allerdings nicht unterschätzt werden, hatte er Finnland an Spieltag 1 schließlich lange am Rand einer Niederlage.Vorberichte ab 11:45 Uhr. Tip-off um 12:30 Uhr. Moderation: Jan LüdekeExperte: Per GüntherKommentar: Michael KörnerCo-Kommentar: Steffen HamannField Reporterin: Stefanie Blochwitz

MagentaSport
https://www.lovenba.com/1628772/ Sweden 🇸🇪 vs Finland 🇫🇮 | 1XBET Highlights | FIBA EuroBasket 2025 #27.08.2025 #Basketball #BasketballVideos #fiba #FIBAEuroBasket #FibaEurobasket2025 #FIN #Finland #Finland(FIN) #highlights #SWE #SWEVFIN27.08.2025 #Sweden #Sweden(SWE)

With the #OpenAi death lawsuit software engineers who don’t believe they do life & limb app dev so just “move fast & break things” got a cold water shower that *all* tech decisions matter in all software.

Software harms are quite real. This case was a very tragic harm but #SWE broadly are complicit in allowing harms. Too often we do not think broad enough, stand up to the business side, & even“other” the end users rather than advocate for them.

We should do better, a lot better.

Why I'm declining your AI generated MR - Stuart Spence Blog

https://www.lovenba.com/1627212/ Group Phase | Sweden v Slovakia | Full Basketball Game | FIBA U16 Women’s EuroBasket 2025 – Div. B #22.08.2025 #Basketball #BasketballLiveStream #BasketballVideos #fiba #FIBAU16Women'sEuroBasketDivisionB #FIBAU16Women'sEuroBasketDivisionB2025 #FullGame #LIVE #livestream #Slovakia #Slovakia(SVK) #SVK #SWE #SWEVSVK22.08.2025 #Sweden #Sweden(SWE)
https://www.lovenba.com/1626857/ Group Phase | Netherlands v Sweden | Full Basketball Game | FIBA U16 Women’s EuroBasket 2025 – Div B #21.08.2025 #Basketball #BasketballLiveStream #BasketballVideos #fiba #FIBAU16Women'sEuroBasketDivisionB #FIBAU16Women'sEuroBasketDivisionB2025 #FullGame #LIVE #livestream #NED #NEDVSWE21.08.2025 #Netherlands #Netherlands(NED) #SWE #Sweden #Sweden(SWE)
Before you continue to YouTube

×